[VPNSERVICE-57] MAC move post Resync: Table 51(Dynamically learned MAC) does not get removed after Restart DPN -MultiDPN Created: 12/Feb/16  Updated: 30/Oct/17  Resolved: 19/Mar/16

Status: Resolved
Project: vpnservice
Component/s: General
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: VINAY S Assignee: P Govinda Rajulu
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Severity: blocker
External issue ID: 5334
Priority: High

 Description   

Multi DPN
Configure ELAN/ELAN ports
2 hosts in DPN1 and 2 Host DPN2

ping MAC learning happens with MAC timeout set to 100
Restart the DPN

Table 50 is not programmed but Table51 is still available .
In this case since Table 51 entries are not removed .
If the host MAC changes or MAC move happens. Datapath fails .

mininet> sh ovs-ofctl -O OpenFlow13 dump-flows s1
OFPST_FLOW reply (OF1.3) (xid=0x2):
cookie=0x8000000, duration=23.999s, table=0, n_packets=2, n_bytes=148, priority=10,in_port=1,dl_vlan=1000 actions=pop_vlan,write_metadata:0x270000000000/0xffffff0000000000,goto_table:16
cookie=0x8000000, duration=23.990s, table=0, n_packets=2, n_bytes=148, priority=10,in_port=2,dl_vlan=2000 actions=pop_vlan,write_metadata:0x280000000000/0xffffff0000000000,goto_table:16
cookie=0x8000001, duration=24.022s, table=0, n_packets=5, n_bytes=425, priority=5,in_port=5 actions=write_metadata:0x240000000000/0x1fffff0000000000,goto_table:36
cookie=0x8000000, duration=23.999s, table=0, n_packets=2, n_bytes=140, priority=4,in_port=1 actions=write_metadata:0x250000000000/0xffffff0000000000,goto_table:16
cookie=0x8000000, duration=23.990s, table=0, n_packets=2, n_bytes=140, priority=4,in_port=2 actions=write_metadata:0x260000000000/0xffffff0000000000,goto_table:16
cookie=0x6800000, duration=26.971s, table=16, n_packets=8, n_bytes=576, priority=0 actions=goto_table:17
cookie=0x1030000, duration=26.967s, table=20, n_packets=0, n_bytes=0, priority=0 actions=goto_table:80
cookie=0x8000003, duration=26.967s, table=21, n_packets=0, n_bytes=0, priority=0 actions=goto_table:80
cookie=0x9000000, duration=26.967s, table=36, n_packets=5, n_bytes=425, priority=5,tun_id=0 actions=CONTROLLER:65535
cookie=0x9001388, duration=26.967s, table=36, n_packets=0, n_bytes=0, priority=5,tun_id=0x1388 actions=write_actions(group:210000)
cookie=0x9000028, duration=21.478s, table=36, n_packets=0, n_bytes=0, priority=5,tun_id=0x28 actions=push_vlan:0x8100,set_field:6096->vlan_vid,output:2
cookie=0x8051388, duration=21.481s, table=50, n_packets=1, n_bytes=74, idle_timeout=100, send_flow_rem priority=20,metadata=0x281388000000/0x1fffffffff000000,dl_src=4e:cc:7f:a3:7d:7f actions=goto_table:51
cookie=0x8050000, duration=26.971s, table=50, n_packets=1, n_bytes=74, priority=0 actions=CONTROLLER:65535,goto_table:51
cookie=0x8031388, duration=26.970s, table=51, n_packets=0, n_bytes=0, priority=20,metadata=0x1388000000/0xffff000000,dl_dst=6e:04:c0:d2:d5:73 actions=set_field:0x3->tun_id,output:5
cookie=0x8031388, duration=26.970s, table=51, n_packets=0, n_bytes=0, priority=20,metadata=0x1388000000/0xffff000000,dl_dst=7e:01:8f:50:e1:28 actions=set_field:0xc->tun_id,output:6
cookie=0x8031388, duration=26.967s, table=51, n_packets=0, n_bytes=0, priority=20,metadata=0x1388000000/0xffff000000,dl_dst=f2:7b:52:9d:e5:98 actions=set_field:0x12->tun_id,output:6
cookie=0x8031388, duration=21.475s, table=51, n_packets=0, n_bytes=0, priority=20,metadata=0x1388000000/0xffff000000,dl_dst=4e:cc:7f:a3:7d:7f actions=push_vlan:0x8100,set_field:6096->vlan_vid,output:2
cookie=0x8030000, duration=26.970s, table=51, n_packets=2, n_bytes=148, priority=0 actions=goto_table:52
cookie=0x8701388, duration=26.967s, table=52, n_packets=2, n_bytes=148, priority=5,metadata=0x1388000000/0xffff000000 actions=write_actions(group:210000)
cookie=0x8800015, duration=26.967s, table=55, n_packets=0, n_bytes=0, priority=10,tun_id=0x15,metadata=0x150000000000/0x1fffff0000000000 actions=drop
cookie=0x8800007, duration=26.965s, table=55, n_packets=0, n_bytes=0, priority=10,tun_id=0x7,metadata=0x70000000000/0x1fffff0000000000 actions=drop
cookie=0x8800015, duration=26.967s, table=55, n_packets=2, n_bytes=148, priority=9,tun_id=0x15 actions=push_vlan:0x8100,set_field:6096->vlan_vid,output:2
cookie=0x8800007, duration=26.965s, table=55, n_packets=0, n_bytes=0, priority=9,tun_id=0x7 actions=push_vlan:0x8100,set_field:6096->vlan_vid,output:2
mininet>

mininet> sh ovs-ofctl -O OpenFlow13 dump-flows s2
OFPST_FLOW reply (OF1.3) (xid=0x2):
cookie=0x8000000, duration=385.231s, table=0, n_packets=3, n_bytes=242, priority=10,in_port=1,dl_vlan=1000 actions=pop_vlan,write_metadata:0xc0000000000/0xffffff0000000000,goto_table:16
cookie=0x8000000, duration=385.224s, table=0, n_packets=3, n_bytes=242, priority=10,in_port=2,dl_vlan=2000 actions=pop_vlan,write_metadata:0x120000000000/0xffffff0000000000,goto_table:16
cookie=0x8000000, duration=385.231s, table=0, n_packets=5, n_bytes=390, priority=4,in_port=1 actions=write_metadata:0x80000000000/0xffffff0000000000,goto_table:16
cookie=0x8000000, duration=385.224s, table=0, n_packets=5, n_bytes=390, priority=4,in_port=2 actions=write_metadata:0x70000000000/0xffffff0000000000,goto_table:16
cookie=0x8000001, duration=384.340s, table=0, n_packets=59, n_bytes=5015, priority=5,in_port=6 actions=write_metadata:0xf0000000000/0x1fffff0000000000,goto_table:36
cookie=0x6800000, duration=642.073s, table=16, n_packets=21, n_bytes=1662, priority=0 actions=goto_table:17
cookie=0x8040000, duration=343.556s, table=17, n_packets=0, n_bytes=0, priority=3,metadata=0xc0000000000/0xffffff0000000000 actions=write_metadata:0x80000c1388000000/0xffffffffff000000,goto_table:50
cookie=0x8040000, duration=323.556s, table=17, n_packets=0, n_bytes=0, priority=3,metadata=0x120000000000/0xffffff0000000000 actions=write_metadata:0x8000121388000000/0xffffffffff000000,goto_table:50
cookie=0x1030000, duration=642.073s, table=20, n_packets=0, n_bytes=0, priority=0 actions=goto_table:80
cookie=0x8000003, duration=642.073s, table=21, n_packets=0, n_bytes=0, priority=0 actions=goto_table:80
cookie=0x9000000, duration=642.073s, table=36, n_packets=108, n_bytes=9180, priority=5,tun_id=0 actions=CONTROLLER:65535
cookie=0x9000003, duration=451.103s, table=36, n_packets=3, n_bytes=238, priority=5,tun_id=0x3 actions=push_vlan:0x8100,set_field:5096->vlan_vid,output:1
cookie=0x900000c, duration=381.452s, table=36, n_packets=0, n_bytes=0, priority=5,tun_id=0xc actions=push_vlan:0x8100,set_field:5096->vlan_vid,output:1
cookie=0x9000012, duration=381.220s, table=36, n_packets=0, n_bytes=0, priority=5,tun_id=0x12 actions=push_vlan:0x8100,set_field:6096->vlan_vid,output:2
cookie=0x9001388, duration=530.480s, table=36, n_packets=2, n_bytes=140, priority=5,tun_id=0x1388 actions=write_actions(group:210000)
cookie=0x8050000, duration=642.073s, table=50, n_packets=4, n_bytes=296, priority=0 actions=CONTROLLER:65535,goto_table:51
cookie=0x8031388, duration=451.089s, table=51, n_packets=0, n_bytes=0, priority=20,metadata=0x1388000000/0xffff000000,dl_dst=6e:04:c0:d2:d5:73 actions=push_vlan:0x8100,set_field:5096->vlan_vid,output:1
cookie=0x8031388, duration=381.446s, table=51, n_packets=0, n_bytes=0, priority=20,metadata=0x1388000000/0xffff000000,dl_dst=7e:01:8f:50:e1:28 actions=push_vlan:0x8100,set_field:5096->vlan_vid,output:1
cookie=0x8031388, duration=381.214s, table=51, n_packets=0, n_bytes=0, priority=20,metadata=0x1388000000/0xffff000000,dl_dst=f2:7b:52:9d:e5:98 actions=push_vlan:0x8100,set_field:6096->vlan_vid,output:2
cookie=0x8030000, duration=642.073s, table=51, n_packets=5, n_bytes=370, priority=0 actions=goto_table:52
cookie=0x8701388, duration=530.475s, table=52, n_packets=5, n_bytes=370, priority=5,metadata=0x1388000000/0xffff000000 actions=write_actions(group:210000)
cookie=0x8800003, duration=530.468s, table=55, n_packets=2, n_bytes=148, priority=10,tun_id=0x3,metadata=0x30000000000/0x1fffff0000000000 actions=drop
cookie=0x880000c, duration=344.478s, table=55, n_packets=0, n_bytes=0, priority=10,tun_id=0xc,metadata=0xc0000000000/0x1fffff0000000000 actions=drop
cookie=0x8800012, duration=324.452s, table=55, n_packets=0, n_bytes=0, priority=10,tun_id=0x12,metadata=0x120000000000/0x1fffff0000000000 actions=drop
cookie=0x8800003, duration=530.472s, table=55, n_packets=5, n_bytes=362, priority=9,tun_id=0x3 actions=push_vlan:0x8100,set_field:5096->vlan_vid,output:1
cookie=0x880000c, duration=344.480s, table=55, n_packets=0, n_bytes=0, priority=9,tun_id=0xc actions=push_vlan:0x8100,set_field:5096->vlan_vid,output:1
cookie=0x8800012, duration=324.455s, table=55, n_packets=0, n_bytes=0, priority=9,tun_id=0x12 actions=push_vlan:0x8100,set_field:6096->vlan_vid,output:2
mininet>



 Comments   
Comment by Vishal Thapar [ 04/Mar/16 ]

Can you update the bug?

Comment by A H [ 16/Mar/16 ]

A patch for this bug was submitted:

https://git.opendaylight.org/gerrit/#/c/35311/

To better assess the impact of this bug and fix, could someone from your team please help us identify the following:

Severity: Could you elaborate on the severity of this bug? Is this a BLOCKER such that we cannot release Beryllium without it? Is there a workaround such that we can write a release note and fix in Beryllium SR2?
Testing: Could you also elaborate on the testing of this patch? How extensively has this patch been tested? Did you do any manual/local testing? Is it covered by any automated unit tests or system tests?
Impact: Does this fix impact any dependent projects?

Comment by Faseela K [ 16/Mar/16 ]

Severity: This is a blocker BUG,and create scenarios of vpnservice across dpns wont work properly without this fix

Testing:
Manual Testing has been done by dev team, and extensive testive was performed by the Testing Team on private patch before committing the code to stable/be.

Impact: No impact

Comment by A H [ 18/Mar/16 ]

Have we verified that this bug is fixed in the latest build? If so, could someone please close this bug and mark as resolved?

Comment by Periyasamy Palanisamy [ 19/Mar/16 ]

It's fixed now.

Generated at Wed Feb 07 20:47:14 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.