Ask Your Question
0

no internet connection in VMs running in devstack (Single Node)

asked 2016-03-15 18:25:40 -0500

Nambi S gravatar image

updated 2016-03-15 18:26:25 -0500

I'm running devstack on a single VM. Everything works fine. However, there is no internet connectivity from the VM.

# ovs-vsctl show
b40c052c-9856-4e2b-8a6b-f3e3c6602eda
Bridge br-ex
    Port "qg-3265758e-52"
        Interface "qg-3265758e-52"
            type: internal
    Port "qg-74bdac22-88"
        Interface "qg-74bdac22-88"
            type: internal
    Port br-ex
        Interface br-ex
            type: internal


# ip netns show
qlbaas-ef7cfb37-e823-43ed-a48e-10e152e5733f
qdhcp-68b32f99-bf55-468e-99cd-b8d95687977b
qdhcp-83306582-6578-42a4-8994-fc5012ef4067
qrouter-8946f3a2-5397-49c1-bda1-b525f8a549a5
qrouter-8a07aba6-296a-4e10-9806-d2aa32a0d946

# ip netns exec qrouter-8946f3a2-5397-49c1-bda1-b525f8a549a5 ip route
default via 172.24.4.1 dev qg-74bdac22-88
10.0.0.0/24 dev qr-821fda97-0b  proto kernel  scope link  src 10.0.0.1
172.24.4.0/24 dev qg-74bdac22-88  proto kernel  scope link  src 172.24.4.3

Since there is no internet connectivity, cloud-init is not working. Other than cirros image, no other image boots because cloud-init is not working.

Any ideas how to enable internet connectivity into devstack?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-03-16 00:17:09 -0500

vikrant gravatar image

As the output of "ovs-vsctl show" shows that, there is no physical port (ex- eth0 or eth1 ) is associated with br-ex. First You need to have a physical port associated with the external bridge, then associate the floating point IP to the VM through which it can reach the external network for internet connectivity.

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: 2016-03-15 18:25:40 -0500

Seen: 285 times

Last updated: Mar 16 '16