neutron ovs plugin doesn't work in multi-node setup

Bug #1221926 reported by Simon
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
neutron
Invalid
Undecided
Unassigned

Bug Description

Rules for cross-node traffic are not set up properly.

For example on br-tun, I have the following rules:
cookie=0x0, duration=1349.118s, table=0, n_packets=37, n_bytes=3490, priority=1,in_port=1 actions=resubmit(,1)
cookie=0x0, duration=1347.769s, table=1, n_packets=37, n_bytes=3490, priority=0,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=resubmit(,21)
cookie=0x0, duration=1345.371s, table=21, n_packets=37, n_bytes=3490, priority=0 actions=drop

The first one takes the packet from br-int into br-tun, and jumps to table 1 (PATCH_LV_TO_TUN). Table 1 redirects the packets to table 21 (FLOOD_TO_TUN), and table 21 has a single drop rule.

It seems that a few rules should be inserted to actually broadcast the packets via available tunnels to other nodes.

Revision history for this message
Simon (xchenum) wrote :

Command: ['sudo', '/usr/local/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ovs-ofctl', 'mod-flows', 'br-tun', 'hard_timeout=0,idle_timeout=0,priority=1,table=21,dl_vlan=1,actions=strip_vlan,set_tunnel:1,output:2']
Exit code: 1
Stdout: ''
Stderr: 'ovs-ofctl: unknown keyword hard_timeout\n' execute /opt/stack/neutron/neutron/agent/linux/utils.py:59

I am running on debian 7, not sure if this is specific to this OS.

Revision history for this message
Simon (xchenum) wrote :

OVS installed by default is 1.4.2, seems pretty old...

Revision history for this message
Simon (xchenum) wrote :

Not a bug.. upgraded to OVS 2.0 and it all works, so likely an issue with OVS old version.

Changed in neutron:
status: New → Invalid
Revision history for this message
Yang Yu (yuyangbj) wrote : I will be on vacation from 9/5 to 9/15, urgent call: 13811509950

I will be out of the office starting 2013-09-05 and will not return until
2013-09-15.

I will be on my marriage leave from 9/5 to 9/15, for any urgent issue
please call me before 9/7.

For daily work, please ask my scrum master Zhu Zhu for help.
For glance issue, please ask glance SME Feilong Wang for help.
For defect report, there will be no report next week.

Revision history for this message
Baodong (Robert) Li (baoli) wrote :

Hi Simon,

Can you please let me know how to upgrade to OVS 2.0?
I'm running ubuntu 12.04. and I'm now facing the same issue.

thanks,
Robert

Revision history for this message
Baodong (Robert) Li (baoli) wrote :

Looks like the latest version from openvswitch.org is 1.11. I manually compiled and installed 1.9.3 and now it works.

Revision history for this message
Simon (xchenum) wrote : Re: [Bug 1221926] Re: neutron ovs plugin doesn't work in multi-node setup

I downloaded from trunk, and anything higher than 1.9 should work too.

On Wed, Sep 25, 2013 at 10:37 PM, Baodong (Robert) Li <email address hidden>wrote:

> Looks like the latest version from openvswitch.org is 1.11. I manually
> compiled and installed 1.9.3 and now it works.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1221926
>
> Title:
> neutron ovs plugin doesn't work in multi-node setup
>
> Status in OpenStack Neutron (virtual network service):
> Invalid
>
> Bug description:
> Rules for cross-node traffic are not set up properly.
>
> For example on br-tun, I have the following rules:
> cookie=0x0, duration=1349.118s, table=0, n_packets=37, n_bytes=3490,
> priority=1,in_port=1 actions=resubmit(,1)
> cookie=0x0, duration=1347.769s, table=1, n_packets=37, n_bytes=3490,
> priority=0,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=resubmit(,21)
> cookie=0x0, duration=1345.371s, table=21, n_packets=37, n_bytes=3490,
> priority=0 actions=drop
>
> The first one takes the packet from br-int into br-tun, and jumps to
> table 1 (PATCH_LV_TO_TUN). Table 1 redirects the packets to table 21
> (FLOOD_TO_TUN), and table 21 has a single drop rule.
>
> It seems that a few rules should be inserted to actually broadcast the
> packets via available tunnels to other nodes.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/neutron/+bug/1221926/+subscriptions
>

Revision history for this message
Jian Wen (wenjianhn) wrote :

The version of OVS for Havana will be 1.10 in Ubuntu Cloud Archive.

https://launchpad.net/~ubuntu-cloud-archive/+archive/havana-staging/+build/4952861

For more infomation about Cloud Archive, please visit
https://wiki.ubuntu.com/ServerTeam/CloudArchive

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.