Ask Your Question

need documentation for newton openvswitch

asked 2017-03-18 04:50:16 -0500

ygk gravatar image

Hi All,

I have a three node setup on ubuntu 16.04 for newton openstack version. One is controller node with neutron server on it, another is compute node with dhcp and metadata agents on it, and another is network node with l3 agent on it.

I am using openvswitch mechanism driver. I have installed the neutron-openvswitch-agent packages on network and compute nodes. But after starting the openvswitch agent on the compute node, it is creating the br-tun bridge. But I dont see the overlay tunnel interface added to it. I have specified the overlay interface ip of the compute node in the openvswitch conf file. I have created a vlan tenant network with subnet subnet.

I am following the link .

But I observe that something is missing from the documentation. I am able to spin up the vm successfully. It is getting the dhcp ip.

But after associating a floating point ip, by attaching a router, I am unable to ping the internet from within the vm.

I observe that something is wrong with the ovs bridges on both the network and compute nodes.

Can someone please provide me with complete documentation for implementing openvswitch mechanism for newton including the openvswitch configuration to be done on all the three nodes.


edit retag flag offensive close merge delete


The instructions assume that a provider network exists as well; have you configured one?

Also I am a bit confused by your VLAN tenant network; do you mean VXLAN?

Bernd Bausch gravatar imageBernd Bausch ( 2017-03-18 06:19:07 -0500 )edit

I mean tenant network of type VLAN

ygk gravatar imageygk ( 2017-03-18 08:08:21 -0500 )edit

I asked because the guide you reference sets up tenant_network_types = vxlan. In that sense, indeed the guide does not address your need and can be considered incomplete.

Bernd Bausch gravatar imageBernd Bausch ( 2017-03-19 09:58:25 -0500 )edit

Though not official documentation, perhaps this blog helps.

Bernd Bausch gravatar imageBernd Bausch ( 2017-03-19 10:01:19 -0500 )edit

I have followed the link and created br-vlan bidge for handling vlan traffic. But I am unable to ping internet from the vm still

ygk gravatar imageygk ( 2017-03-20 01:21:03 -0500 )edit

1 answer

Sort by » oldest newest most voted

answered 2017-03-20 03:44:09 -0500

minimike gravatar image

Did you have upgraded openvswitch? It means they are newer packages for openvswitch insde the cloud-archive repository. I got some problems with them. My workaround was to pin them via apt. After I could upgrade to newton without upgrading openvswitch packages from cloud-archive repo.

edit flag offensive delete link more


I am using a two node setup. controller and compute with openvswitch. can you give me information on how to configure openvswitch.ini for both controller and compute, and the bridges that need to be added in each node?

ygk gravatar imageygk ( 2017-03-20 06:56:05 -0500 )edit

It seems that some of the ubuntu packages for newton are broken. I want to try Ocata instead from the scratch. Can you provide me the verified and validated documentation of Ocata for openvswitch mechanism on two nodes controller and compute ?

ygk gravatar imageygk ( 2017-03-20 11:43:02 -0500 )edit

Dont't try it. They are both broken packages inside for Newton and Ocata :( The basic components are working fine. But I deploy Horizon inside in an python-venv for example. I think Ocata would comes stable. But then you have to buy the extended support by Canonical. I am switching to Debian 9 now.

minimike gravatar imageminimike ( 2017-03-20 12:08:34 -0500 )edit

Here are the mostley relevant configs for an compute-node. I am using both interfaces on my servers. VLAN and FLAT are tested well. For VXLAN I will test it later it will comes the time, I hope it helps.

minimike gravatar imageminimike ( 2017-03-20 12:19:49 -0500 )edit

Which is the stable version now available for Ubuntu platform for openvswitch mechanism ?

ygk gravatar imageygk ( 2017-03-22 05:10:17 -0500 )edit

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


Asked: 2017-03-18 04:50:16 -0500

Seen: 111 times

Last updated: Mar 20 '17