I cannot get access to external network using devstack and Ubuntu

asked 2014-04-09 22:49:54 -0600

Kevin.TK gravatar image

I am very confused after hours of debugging and still could not find an answer. I have setup all in one node devstack following this tutorial mostly http://java.dzone.com/articles/openstack-box-setting-devstack (http://java.dzone.com/articles/openst...)

I then added a key-pair and my security groups and successfully launched a vm...... but still cannot get any acess to or from the external network.

I have tried just booting the image and associating a floating ip, and I have also added a VM after I created a private subnet connected to a router which is connected to my public network. I then created the VM on the private network and associated a floatingip to the vm. It shows all my interfaces and gateways are up but still no luck. I am somewhat stuck trying to figure out where to go next for debugging purposes, so any help at all would be greatly appreciated.

I tried a route -n on the VM and only had the ip address on the private network come up, so I am thinking that might be that problem. Also, I was wondering do I need to use openVswitch for neutron networking with devstack?

Once Again any help is much appreciated and if I can provide any more information please let me know as soon as possible. Thanks!

edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted

answered 2014-04-10 00:52:00 -0600

SGPJ gravatar image

From dashboard: go to security groups -> edit default -> add ALL ICMP, TCP & SSH rule for both ingress & egress. Then associate floating IP to instance and try to ssh using keypair from host machine.

ssh -i <keypair> ubuntu@<vm's floating="" ip="">

Also launch a Cirros VM without any key pair and try to access via console, then from host machine with floating IP. The floating IP associated with VM will be only shown on instances tab and not on VM's ifconfig (only private ip).

Also check whether flows are added in ovs.

edit flag offensive delete link more

answered 2014-04-10 12:38:23 -0600

SGPJ gravatar image

You can use either openVswitch or linux bridge by configuring /etc/neutron/neutron.conf file.

edit flag offensive delete link more

answered 2014-04-10 23:25:22 -0600

SGPJ gravatar image

updated 2014-04-11 04:21:35 -0600

In neutron.conf:

Neutron plugin provider module

core_plugin =

core_plugin =neutron.plugins.openvswitch.ovs_neutron_plugin.OVSNeutronPluginV2

By doing above and install OVSNeutronPluginV2, restart neutron server process. Then it will make effect without unstacking.

edit flag offensive delete link more

answered 2014-04-10 10:26:06 -0600

Kevin.TK gravatar image

Okay now i connet ssh into the host machine, so I am assuming something went wrong with the installation and my netwrok interface. I think I need to clear up my question: I am not using openVswitch, but was wondering if that is necessary for neutron networking?

edit flag offensive delete link more


Yes, else you can use nova network using n-net.

SGPJ gravatar imageSGPJ ( 2014-04-10 12:54:59 -0600 )edit

Okay so, would I be able to configure the openV switch after running the ./stack.sh ? and if so how exactly do I setup OpenVswitch properly with devstack, I am struggling with the network issues

Kevin.TK gravatar imageKevin.TK ( 2014-04-10 13:10:36 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-04-09 22:49:54 -0600

Seen: 1,142 times

Last updated: Apr 11 '14