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

Asked by Shanthkumar Khandre

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

Question information

Language:
English Edit question
Status:
Solved
For:
neutron Edit question
Assignee:
No assignee Edit question
Solved by:
yong sheng gong
Solved:
Last query:
Last reply:
Revision history for this message
yong sheng gong (gongysh) said :
#1

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

Thanks

Revision history for this message
Shanthkumar Khandre (shanth-khandre) said :
#2

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.255.255.0
          inet6 addr: fe80::5054:ff:fe2b:9437/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:1149577 errors:0 dropped:15 overruns:0 frame:0
          TX packets:46053 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:107084209 (107.0 MB) TX bytes:11702091 (11.7 MB)
          Interrupt:11

eth1 Link encap:Ethernet HWaddr 52:54:00:ae:ee:95
          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:1000
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
          Interrupt:10 Base address:0x2100

gw-06845625-ce Link encap:Ethernet HWaddr fa:16:3e:42:53:48
          inet addr:4.4.4.1 Bcast:4.4.4.255 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:500
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

gw-196420f2-0d Link encap:Ethernet HWaddr fa:16:3e:6d:3b:f8
          inet addr:2.2.2.1 Bcast:2.2.2.255 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:500
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

gw-6913dabf-cc Link encap:Ethernet HWaddr fa:16:3e:63:87:0f
          inet addr:10.0.0.1 Bcast:10.0.0.7 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:500
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

gw-80d1b90a-d3 Link encap:Ethernet HWaddr fa:16:3e:3c:9e:b7
          inet addr:5.5.5.1 Bcast:5.5.5.255 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:500
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

gw-8bf2c163-70 Link encap:Ethernet HWaddr fa:16:3e:3f:40:b9
          inet addr:9.9.8.1 Bcast:9.9.8.255 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:500
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

gw-aed8d6f9-3e Link encap:Ethernet HWaddr fa:16:3e:4e:db:34
          inet addr:1.1.1.1 Bcast:1.1.1.255 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:500
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:3800860 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3800860 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2636404581 (2.6 GB) TX bytes:2636404581 (2.6 GB)

tap2d095b27-9b Link encap:Ethernet HWaddr 1e:58:99:53:b1:91
          inet6 addr: fe80::1c58:99ff:fe53:b191/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:52608 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:16938312 (16.9 MB) TX bytes:468 (468.0 B)

tap64dd457a-e8 Link encap:Ethernet HWaddr 16:d0:cb:f2:9a:35
          inet6 addr: fe80::14d0:cbff:fef2:9a35/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:52710 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:16971156 (16.9 MB) TX bytes:468 (468.0 B)

tapa3f2c1bd-0d Link encap:Ethernet HWaddr 52:93:e3:16:f8:2e
          inet6 addr: fe80::5093:e3ff:fe16:f82e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:0 (0.0 B) TX bytes:468 (468.0 B)

tapbd572c4c-8d Link encap:Ethernet HWaddr 86:db:87:d2:7f:85
          inet6 addr: fe80::84db:87ff:fed2:7f85/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:52707 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:16970190 (16.9 MB) TX bytes:468 (468.0 B)

tapc73d3464-56 Link encap:Ethernet HWaddr 3e:7b:cf:29:90:8e
          inet6 addr: fe80::3c7b:cfff:fe29:908e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:0 (0.0 B) TX bytes:468 (468.0 B)

tapff57e11f-1b Link encap:Ethernet HWaddr 9e:2d:c0:a1:07:68
          inet6 addr: fe80::9c2d:c0ff:fea1:768/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:52602 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:16936380 (16.9 MB) TX bytes:468 (468.0 B)

virbr0 Link encap:Ethernet HWaddr 72:21:f8:6f:dd:d0
          inet addr:192.168.122.1 Bcast:192.168.122.255 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)

No. I have not started the quantum-linuxbridge-agent.

Please suggest what could be the issue or cause.

Thanks,
Shanthkumar Khandre

Revision history for this message
Sumit Naiksatam (snaiksat) said :
#3

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

Revision history for this message
Best yong sheng gong (gongysh) said :
#4

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

Revision history for this message
Shanthkumar Khandre (shanth-khandre) said :
#5

Hi,

Yes it is resolved.

Thanks,
Shanthkumar Khandre