Invalid entries in OVS flow table on a 3 node install using GRE Tunnels
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Nova |
Confirmed
|
Undecided
|
Hua Zhang |
Bug Description
Hi,
I'm running Ubuntu 12.04 and all packages were installed from the repositories and the configuration was created per the following: http://
On the network node:
sergio@OsNetwork:~$ sudo ovs-ofctl dump-flows br-tun
NXST_FLOW reply (xid=0x4):
cookie=0x0, duration=
cookie=0x0, duration=
cookie=0x0, duration=
cookie=0x0, duration=
cookie=0x0, duration=
sergio@OsNetwork:~$ sudo brctl show
bridge name bridge id STP enabled interfaces
br-ex 0000.00163e270a2b no eth3
br-int 0000.06a39d5d8c4d no qr-0307f22d-f5
br-tun 0000.72e8904f5843 no
sergio@OsNetwork:~$ sudo ifconfig tap093d67fc-15
tap093d67fc-15 Link encap:Ethernet HWaddr ae:5c:7e:86:83:f8
inet addr:10.5.5.2 Bcast:10.5.5.255 Mask:255.255.255.0
inet6 addr: fe80::ac5c:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:11265 errors:0 dropped:0 overruns:0 frame:0
TX packets:19455 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:1296638 (1.2 MB) TX bytes:1565814 (1.5 MB)
sergio@
qr-0307f22d-f5 Link encap:Ethernet HWaddr ba:72:d2:95:82:69
inet addr:10.5.5.1 Bcast:10.5.5.255 Mask:255.255.255.0
inet6 addr: fe80::b872:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:17872 errors:0 dropped:0 overruns:0 frame:0
TX packets:3762 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:1565032 (1.5 MB) TX bytes:219644 (219.6 KB)
Note the MAC addresses referred to in the flows and the MACs on the interfaces are different, now for the ovs database entries:
sergio@OsNetwork:~$ sudo ovs-vsctl list Interface
_uuid : af8746e0-
admin_state : up
cfm_fault : []
cfm_mpid : []
cfm_remote_mpids : []
duplex : []
external_ids : {attached-
ingress_
ingress_
lacp_current : []
link_resets : 1
link_speed : []
link_state : up
mac : []
mtu : 1500
name : "tap093d67fc-15"
ofport : 1
options : {}
other_config : {}
statistics : {collisions=0, rx_bytes=1566704, rx_crc_err=0, rx_dropped=0, rx_errors=0, rx_frame_err=0, rx_over_err=0, rx_packets=19460, tx_bytes=1297710, tx_dropped=0, tx_errors=0, tx_packets=11273}
status : {driver_
type : internal
_uuid : 1ab4d371-
admin_state : up
cfm_fault : []
cfm_mpid : []
cfm_remote_mpids : []
duplex : []
external_ids : {attached-
ingress_
ingress_
lacp_current : []
link_resets : 1
link_speed : []
link_state : up
mac : []
mtu : 1500
name : "qr-0307f22d-f5"
ofport : 2
options : {}
other_config : {}
statistics : {collisions=0, rx_bytes=219730, rx_crc_err=0, rx_dropped=0, rx_errors=0, rx_frame_err=0, rx_over_err=0, rx_packets=3763, tx_bytes=1565336, tx_dropped=0, tx_errors=0, tx_packets=17876}
status : {driver_
type : internal
-- snip --
To fix the problem, I issue the following commands and connectivity is immediately established and pings flow back and forth as do arps and all other traffic.
sergio@OsNetwork:~$ sudo ovs-ofctl add-flow br-tun "priority=3 tun_id=0x1 dl_dst=
sergio@OsNetwork:~$ sudo ovs-ofctl add-flow br-tun "priority=3 tun_id=0x1 dl_dst=
sergio@OsNetwork:~$ ovs-ofctl del-flows br-tun "tun_id=0x1 dl_dst=
sergio@OsNetwork:~$ ovs-ofctl del-flows br-tun "tun_id=0x1 dl_dst=
Hopefully this sets you on the path for a fix. If I've filed this but in the wrong place, please let me know and I'll file it elsewhere.
tags: | added: ovs |
Changed in quantum: | |
status: | New → Confirmed |
Changed in neutron: | |
assignee: | nobody → Hua Zhang (zhhuabj) |
affects: | neutron → nova-project |
The report is against Folsom. This should be confirmed against master or Grizzly?