Ask Your Question
0

Unable to ping VM using OpenStack and Quantum(LinuxBride plugin) in a Single node set up

asked 2012-06-25 10:09:16 -0600

Unable to ping VM using OpenStack and Quantum(LinuxBride plugin) in a Single node set up

After booting a server an ip address is getting assigned and it is coming to 'ACTIVE' state. But, when I tried to ping, it displays the below error.

root@vmquantum157:~# ping 5.5.5.12 PING 5.5.5.12 (5.5.5.12) 56(84) bytes of data. From 10.233.53.157 icmp_seq=2 Destination Host Unreachable From 10.233.53.157 icmp_seq=3 Destination Host Unreachable From 10.233.53.157 icmp_seq=4 Destination Host Unreachable

-----nova-list----- root@vmquantum157:~# nova list +--------------------------------------+----------+--------+--------------------------+ | ID | Name | Status | Networks | +--------------------------------------+----------+--------+--------------------------+ | 0665543d-7033-4e27-bc7a-58ecb6824898 | tests | ACTIVE | public=5.5.5.12 | | c493759d-b442-4f8d-a9bc-794c4cba4e0c | testing9 | ACTIVE | public=9.9.8.2 | | f1d3af6a-af42-44f7-acbd-0c063fc21517 | test59 | ACTIVE | public=9.9.8.3, 5.5.5.14 | | fc736124-2457-467c-8f51-441b37184606 | tests2 | ACTIVE | public=5.5.5.13 | +--------------------------------------+----------+--------+--------------------------+

-----nova.conf----- --dhcpbridge_flagfile=/etc/nova/nova.conf --dhcpbridge=/usr/local/bin/nova-dhcpbridge --logdir=/var/log/nova --state_path=/var/lib/nova --lock_path=/var/lock/nova --force_dhcp_release --iscsi_helper=tgtadm --libvirt_use_virtio_for_bridges --connection_type=libvirt --root_helper=sudo nova-rootwrap --verbose ##--flagfile=/etc/nova/nova-compute.conf --use_deprecated_auth --libvirt_type=qemu --sql_connection=mysql://nova:nova@127.0.0.1/nova --vlan_interface=eth0 --image_service=nova.image.glance.GlanceImageService --glance_api_servers=127.0.0.1:9292 --rabbit_host=127.0.0.1 --osapi_host=127.0.0.1 --scheduler_default_filters=AllHostsFilter

--network_manager=nova.network.quantum.manager.QuantumManager --libvirt_vif_type=ethernet --libvirt_vif_driver=nova.virt.libvirt.vif.QuantumLinuxBridgeVIFDriver --linuxnet_interface_driver=nova.network.linux_net.QuantumLinuxBridgeInterfaceDriver --quantum_use_dhcp=true

-----quantum.conf----- [DEFAULT]

Show more verbose log output (sets INFO log level output)

verbose = True

Show debugging output in logs (sets DEBUG log level output)

debug = True

Address to bind the API server

bind_host = 0.0.0.0

Port the bind the API server to

bind_port = 9696

Path to the extensions. Note that this can be a colon-separated list of

paths. For example:

api_extensions_path = extensions:/path/to/more/extensions:/even/more/extensions

The __path__ of quantum.extensions is appended to this, so if your

extensions are in there you don't need to specify them here

api_extensions_path =

[composite:quantum] use = egg:Paste#urlmap /: quantumversions /v1.0: quantumapi_v1_0 /v1.1: quantumapi_v1_1

[pipeline:quantumapi_v1_0]

By default, authentication is disabled.

To enable Keystone integration uncomment the

following line and comment the next one

pipeline = extensions quantumapiapp_v1_0 #pipeline = authN extensions quantumapiapp_v1_0

[pipeline:quantumapi_v1_1]

By default, authentication is disabled.

To enable Keystone integration uncomment the

following line and comment the next one

pipeline = extensions quantumapiapp_v1_1 #pipeline = authN extensions quantumapiapp_v1_1

[filter:authN] paste.filter_factory = keystone.middleware.quantum_auth_token:filter_factory auth_host = 127.0.0.1 auth_port = 35357 auth_protocol = http auth_version = 2.0 auth_admin_user = admin auth_admin_password = secrete #auth_admin_token = <token-value>

[filter:extensions] paste.filter_factory = quantum.extensions.extensions:plugin_aware_extension_middleware_factory

[app:quantumversions] paste.app_factory = quantum.api.versions:Versions.factory

[app:quantumapiapp_v1_0] paste.app_factory = quantum.api:APIRouterV10.factory

[app:quantumapiapp_v1_1] paste.app_factory = quantum.api:APIRouterV11.factory

I have installed and configure quantum with nova using "Quantum Admin quide".

Please suggest what could be the issue or cause.

Thanks, Shanthkumar Khandre

edit retag flag offensive close merge delete

5 answers

Sort by ยป oldest newest most voted
0

answered 2012-06-27 07:01:45 -0600

Hi,

Yes it is resolved.

Thanks, Shanthkumar Khandre

edit flag offensive delete link more
0

answered 2012-06-26 22:04:34 -0600

gongysh gravatar image

quantum-linuxbridge-agent is very important to connect the vm with related bridges.

edit flag offensive delete link more
0

answered 2012-06-26 18:19:04 -0600

Yes, the agent needs to be started and running. As you can see none of tap devices are associated to the relevant bridges.

edit flag offensive delete link more
0

answered 2012-06-26 05:07:58 -0600

HI,

root@vmquantum157:~# brctl show bridge name bridge id STP enabled interfaces brq06845625-ce 8000.fa163e425348 no brq196420f2-0d 8000.fa163e6d3bf8 no brq6913dabf-cc 8000.fa163e63870f no brq80d1b90a-d3 8000.fa163e3c9eb7 no brq8bf2c163-70 8000.fa163e3f40b9 no brqaed8d6f9-3e 8000.fa163e4edb34 no virbr0 8000.000000000000 yes


root@vmquantum157:~# ifconfig -a brq06845625-ce Link encap:Ethernet HWaddr fa:16:3e:42:53:48 inet addr:4.4.4.1 Bcast:0.0.0.0 Mask:255.255.255.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

brq196420f2-0d Link encap:Ethernet HWaddr fa:16:3e:6d:3b:f8 inet addr:2.2.2.1 Bcast:0.0.0.0 Mask:255.255.255.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

brq6913dabf-cc Link encap:Ethernet HWaddr fa:16:3e:63:87:0f inet addr:10.0.0.1 Bcast:0.0.0.0 Mask:255.255.255.248 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

brq80d1b90a-d3 Link encap:Ethernet HWaddr fa:16:3e:3c:9e:b7 inet addr:5.5.5.1 Bcast:0.0.0.0 Mask:255.255.255.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

brq8bf2c163-70 Link encap:Ethernet HWaddr fa:16:3e:3f:40:b9 inet addr:9.9.8.1 Bcast:0.0.0.0 Mask:255.255.255.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

brqaed8d6f9-3e Link encap:Ethernet HWaddr fa:16:3e:4e:db:34 inet addr:1.1.1.1 Bcast:0.0.0.0 Mask:255.255.255.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

eth0 Link encap:Ethernet HWaddr 52:54:00:2b:94:37 inet addr:10.233.53.157 Bcast:10.233.53.255 Mask:255 ...

(more)
edit flag offensive delete link more
0

answered 2012-06-26 00:00:23 -0600

gongysh gravatar image

Have you started the quantum-linuxbridge-agent? please paste out the bridges by brctl show and ifconfig -a

Thanks

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2012-06-25 10:09:16 -0600

Seen: 56 times

Last updated: Jun 27 '12