[rhos-list] packets lost with openvswitch

Prashanth Prahalad prashanth.prahal at gmail.com
Mon Jul 15 07:22:11 UTC 2013


Hi Folks,

I'm hoping someone could help me with this :-).

I've the configuration below and when I boot up a VM (port 44 below), the
network interface fails to come up because the DHCP requests are getting
dropped somewhere in ovs. Note I do see the DHCP replies on br-eth5, but it
never makes it to br-int and the VM interface. I've an exact configuration
on a different test box and things work just fine on that.

This is a quick dump of OVS information on the box :
system at br-eth5:
        lookups: hit:11591 missed:113626 lost:0
        flows: 4
        port 0: br-eth5 (internal)
        port 4: eth5
        port 17: phy-br-eth5
system at br-int:
        lookups: hit:10308 missed:101900 lost:0
        flows: 4
        port 0: br-int (internal)
        port 44: qvobfaa5b3c-81
        port 45: int-br-eth5

ovs-dpctl show br-eth5
in_port(17),eth(src=86:d0:78:f6:2a:c9,dst=01:00:5e:00:00:01),eth_type(0x8100),vlan(vid=1,pcp=0),encap(eth_type(0x0800),ipv4(src=0.0.0.0,dst=224.0.0.1,proto=2,tos=0xc0,ttl=1,frag=no)),
packets:0, bytes:0, used:never,
actions:pop_vlan,push_vlan(vid=3000,pcp=0),4,0
in_port(17),eth(src=fa:16:3e:6e:ac:0e,dst=ff:ff:ff:ff:ff:ff),eth_type(0x8100),vlan(vid=1,pcp=0),encap(eth_type(0x0800),ipv4(src=0.0.0.0,dst=255.255.255.255,proto=17,tos=0,ttl=64,frag=no),udp(src=68,dst=67)),
packets:2, bytes:652, used:4.527s,
actions:pop_vlan,push_vlan(vid=3000,pcp=0),4,0
in_port(17),eth(src=86:d0:78:f6:2a:c9,dst=33:33:00:00:00:01),eth_type(0x8100),vlan(vid=1,pcp=0),encap(eth_type(0x86dd),ipv6(src=100:0:600:0:78fb:100::,dst=ff02::1,label=0,proto=58,tclass=0,hlimit=1,frag=no),icmpv6(type=130,code=0)),
packets:0, bytes:0, used:never,
actions:pop_vlan,push_vlan(vid=3000,pcp=0),4,0
in_port(4),eth(src=66:0e:94:bc:51:5b,dst=fa:16:3e:6e:ac:0e),eth_type(0x0800),ipv4(src=120.9.8.1,dst=120.9.8.4,proto=17,tos=0x10,ttl=128,frag=no),udp(src=67,dst=68),
packets:2, bytes:684, used:4.527s, actions:17,0

ovs-ofctl dump-flows br-eth5
NXST_FLOW reply (xid=0x4):
 cookie=0x0, duration=40.923s, table=0, n_packets=6, n_bytes=468,
idle_age=31, priority=2,in_port=17 actions=drop
 cookie=0x0, duration=42.473s, table=0, n_packets=13, n_bytes=1636,
idle_age=4, priority=1 actions=NORMAL
 cookie=0x0, duration=39.964s, table=0, n_packets=6, n_bytes=1200,
idle_age=4, priority=4,in_port=17,dl_vlan=1 actions=mod_vlan_vid:3000,NORMAL

ovs-dpctl dump-flows br-int
in_port(44),eth(src=86:d0:78:f6:2a:c9,dst=33:33:00:00:00:01),eth_type(0x86dd),ipv6(src=100:0:600:0:78fb:100::,dst=ff02::1,label=0,proto=58,tclass=0,hlimit=1,frag=no),icmpv6(type=130,code=0),
packets:0, bytes:0, used:never, actions:push_vlan(vid=1,pcp=0),45,0
in_port(45),eth(src=66:0e:94:bc:51:5b,dst=fa:16:3e:6e:ac:0e),eth_type(0x0800),ipv4(src=120.9.8.1,dst=120.9.8.4,proto=17,tos=0x10,ttl=128,frag=no),udp(src=67,dst=68),
packets:2, bytes:684, used:4.534s, actions:drop
in_port(44),eth(src=fa:16:3e:6e:ac:0e,dst=ff:ff:ff:ff:ff:ff),eth_type(0x0800),ipv4(src=0.0.0.0,dst=255.255.255.255,proto=17,tos=0,ttl=64,frag=no),udp(src=68,dst=67),
packets:2, bytes:644, used:4.534s, actions:push_vlan(vid=1,pcp=0),45,0
in_port(44),eth(src=86:d0:78:f6:2a:c9,dst=01:00:5e:00:00:01),eth_type(0x0800),ipv4(src=0.0.0.0,dst=224.0.0.1,proto=2,tos=0xc0,ttl=1,frag=no),
packets:0, bytes:0, used:never, actions:push_vlan(vid=1,pcp=0),45,0

ovs-ofctl dump-flows br-int
NXST_FLOW reply (xid=0x4):
 cookie=0x0, duration=41.043s, table=0, n_packets=19, n_bytes=2104,
idle_age=4, priority=2,in_port=45 actions=drop
 cookie=0x0, duration=42.709s, table=0, n_packets=6, n_bytes=1176,
idle_age=4, priority=1 actions=NORMAL
 cookie=0x0, duration=39.851s, table=0, n_packets=0, n_bytes=0,
idle_age=39, priority=3,in_port=45,dl_vlan=3000
actions=mod_vlan_vid:1,NORMAL


This is the plugin configuration:
[DATABASE]
sql_connection = mysql://quantum:quantum@r5-20/ovs_quantum
[OVS]
tenant_network_type = vlan
network_vlan_ranges = physnet5:3000:3999
bridge_mappings = physnet5:br-eth5
[AGENT]

Any ideas ?
Thanks !
Prashanth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/rhos-list/attachments/20130715/52849e70/attachment.htm>


More information about the rhos-list mailing list