Public bug reported:
As shown below,the network that's internal vlan is 4 only has 'qr-' port
in compute2
[root@compute2 ~]# ovs-vsctl show|grep "tag: 4" -C 2
type: internal
Port "qr-1862e19a-91"
tag: 4
Interface "qr-1862e19a-91"
type: internal
[root@compute2 ~]#
I checked the network's flow tables on br-tun,they are right.
[root@compute2 ~]# ovs-ofctl dump-flows br-tun|grep "dl_vlan=4"
cookie=0x56ca5c04010b5cea, duration=65.109s, table=1, n_packets=0, n_bytes=0,
idle_age=69, priority=3,arp,dl_vlan=4,arp_tpa=10.10.122.1 actions=drop
cookie=0x56ca5c04010b5cea, duration=65.107s, table=1, n_packets=0, n_bytes=0,
idle_age=69, priority=2,dl_vlan=4,dl_dst=fa:16:3e:67:d7:df actions=drop
cookie=0x56ca5c04010b5cea, duration=65.106s, table=1, n_packets=0, n_bytes=0,
idle_age=69, priority=1,dl_vlan=4,dl_src=fa:16:3e:67:d7:df
actions=mod_dl_src:fa:16:3f:aa:34:f9,resubmit(,2)
cookie=0x56ca5c04010b5cea, duration=65.544s, table=20, n_packets=0, n_bytes=0,
idle_age=68, priority=2,dl_vlan=4,dl_dst=fa:16:3e:10:26:dc
actions=strip_vlan,load:0x56->NXM_NX_TUN_ID[],output:2
cookie=0x56ca5c04010b5cea, duration=64.158s, table=20, n_packets=0, n_bytes=0,
idle_age=67, priority=2,dl_vlan=4,dl_dst=fa:16:3e:f5:91:5e
actions=strip_vlan,load:0x56->NXM_NX_TUN_ID[],output:3
cookie=0x56ca5c04010b5cea, duration=65.546s, table=21, n_packets=0, n_bytes=0,
idle_age=68, priority=1,arp,dl_vlan=4,arp_tpa=10.10.122.8
actions=load:0x2->NXM_OF_ARP_OP[],move:NXM_NX_ARP_SHA[]->NXM_NX_ARP_THA[],move:NXM_OF_ARP_SPA[]->NXM_OF_ARP_TPA[],load:0xfa163e1026dc->NXM_NX_ARP_SHA[],load:0xa0a7a08->NXM_OF_ARP_SPA[],move:NXM_OF_ETH_SRC[]->NXM_OF_ETH_DST[],mod_dl_src:fa:16:3e:10:26:dc,IN_PORT
cookie=0x56ca5c04010b5cea, duration=64.161s, table=21, n_packets=0, n_bytes=0,
idle_age=67, priority=1,arp,dl_vlan=4,arp_tpa=10.10.122.2
actions=load:0x2->NXM_OF_ARP_OP[],move:NXM_NX_ARP_SHA[]->NXM_NX_ARP_THA[],move:NXM_OF_ARP_SPA[]->NXM_OF_ARP_TPA[],load:0xfa163ef5915e->NXM_NX_ARP_SHA[],load:0xa0a7a02->NXM_OF_ARP_SPA[],move:NXM_OF_ETH_SRC[]->NXM_OF_ETH_DST[],mod_dl_src:fa:16:3e:f5:91:5e,IN_PORT
cookie=0x56ca5c04010b5cea, duration=64.164s, table=22, n_packets=0, n_bytes=0,
idle_age=69, priority=1,dl_vlan=4
actions=strip_vlan,load:0x56->NXM_NX_TUN_ID[],output:2,output:3
[root@compute2 ~]#
But,after I restart neutron-openvswitch-agent,I found these flows in table
20,21,22 is lost.
systemctl restart neutron-openvswitch-agent
[root@compute2 ~]# ovs-ofctl dump-flows br-tun|grep "dl_vlan=4"
cookie=0x6c26ffbe1a6134eb, duration=11.442s, table=1, n_packets=0, n_bytes=0,
idle_age=13, priority=3,arp,dl_vlan=4,arp_tpa=10.10.122.1 actions=drop
cookie=0x6c26ffbe1a6134eb, duration=11.441s, table=1, n_packets=0, n_bytes=0,
idle_age=13, priority=2,dl_vlan=4,dl_dst=fa:16:3e:67:d7:df actions=drop
cookie=0x6c26ffbe1a6134eb, duration=11.440s, table=1, n_packets=0, n_bytes=0,
idle_age=13, priority=1,dl_vlan=4,dl_src=fa:16:3e:67:d7:df
actions=mod_dl_src:fa:16:3f:aa:34:f9,resubmit(,2)
[root@compute2 ~]#
** Affects: neutron
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1773286
Title:
In some specific case with dvr mode I found the l2pop flows is
incomplete.
Status in neutron:
New
Bug description:
As shown below,the network that's internal vlan is 4 only has 'qr-'
port in compute2
[root@compute2 ~]# ovs-vsctl show|grep "tag: 4" -C 2
type: internal
Port "qr-1862e19a-91"
tag: 4
Interface "qr-1862e19a-91"
type: internal
[root@compute2 ~]#
I checked the network's flow tables on br-tun,they are right.
[root@compute2 ~]# ovs-ofctl dump-flows br-tun|grep "dl_vlan=4"
cookie=0x56ca5c04010b5cea, duration=65.109s, table=1, n_packets=0,
n_bytes=0, idle_age=69, priority=3,arp,dl_vlan=4,arp_tpa=10.10.122.1
actions=drop
cookie=0x56ca5c04010b5cea, duration=65.107s, table=1, n_packets=0,
n_bytes=0, idle_age=69, priority=2,dl_vlan=4,dl_dst=fa:16:3e:67:d7:df
actions=drop
cookie=0x56ca5c04010b5cea, duration=65.106s, table=1, n_packets=0,
n_bytes=0, idle_age=69, priority=1,dl_vlan=4,dl_src=fa:16:3e:67:d7:df
actions=mod_dl_src:fa:16:3f:aa:34:f9,resubmit(,2)
cookie=0x56ca5c04010b5cea, duration=65.544s, table=20, n_packets=0,
n_bytes=0, idle_age=68, priority=2,dl_vlan=4,dl_dst=fa:16:3e:10:26:dc
actions=strip_vlan,load:0x56->NXM_NX_TUN_ID[],output:2
cookie=0x56ca5c04010b5cea, duration=64.158s, table=20, n_packets=0,
n_bytes=0, idle_age=67, priority=2,dl_vlan=4,dl_dst=fa:16:3e:f5:91:5e
actions=strip_vlan,load:0x56->NXM_NX_TUN_ID[],output:3
cookie=0x56ca5c04010b5cea, duration=65.546s, table=21, n_packets=0,
n_bytes=0, idle_age=68, priority=1,arp,dl_vlan=4,arp_tpa=10.10.122.8
actions=load:0x2->NXM_OF_ARP_OP[],move:NXM_NX_ARP_SHA[]->NXM_NX_ARP_THA[],move:NXM_OF_ARP_SPA[]->NXM_OF_ARP_TPA[],load:0xfa163e1026dc->NXM_NX_ARP_SHA[],load:0xa0a7a08->NXM_OF_ARP_SPA[],move:NXM_OF_ETH_SRC[]->NXM_OF_ETH_DST[],mod_dl_src:fa:16:3e:10:26:dc,IN_PORT
cookie=0x56ca5c04010b5cea, duration=64.161s, table=21, n_packets=0,
n_bytes=0, idle_age=67, priority=1,arp,dl_vlan=4,arp_tpa=10.10.122.2
actions=load:0x2->NXM_OF_ARP_OP[],move:NXM_NX_ARP_SHA[]->NXM_NX_ARP_THA[],move:NXM_OF_ARP_SPA[]->NXM_OF_ARP_TPA[],load:0xfa163ef5915e->NXM_NX_ARP_SHA[],load:0xa0a7a02->NXM_OF_ARP_SPA[],move:NXM_OF_ETH_SRC[]->NXM_OF_ETH_DST[],mod_dl_src:fa:16:3e:f5:91:5e,IN_PORT
cookie=0x56ca5c04010b5cea, duration=64.164s, table=22, n_packets=0,
n_bytes=0, idle_age=69, priority=1,dl_vlan=4
actions=strip_vlan,load:0x56->NXM_NX_TUN_ID[],output:2,output:3
[root@compute2 ~]#
But,after I restart neutron-openvswitch-agent,I found these flows in table
20,21,22 is lost.
systemctl restart neutron-openvswitch-agent
[root@compute2 ~]# ovs-ofctl dump-flows br-tun|grep "dl_vlan=4"
cookie=0x6c26ffbe1a6134eb, duration=11.442s, table=1, n_packets=0,
n_bytes=0, idle_age=13, priority=3,arp,dl_vlan=4,arp_tpa=10.10.122.1
actions=drop
cookie=0x6c26ffbe1a6134eb, duration=11.441s, table=1, n_packets=0,
n_bytes=0, idle_age=13, priority=2,dl_vlan=4,dl_dst=fa:16:3e:67:d7:df
actions=drop
cookie=0x6c26ffbe1a6134eb, duration=11.440s, table=1, n_packets=0,
n_bytes=0, idle_age=13, priority=1,dl_vlan=4,dl_src=fa:16:3e:67:d7:df
actions=mod_dl_src:fa:16:3f:aa:34:f9,resubmit(,2)
[root@compute2 ~]#
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1773286/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp