[NETVIRT-718] [l3vpn_ecmp] Bringing Down the Tunnel interface doesn't switch the traffic to alternate Path Created: 08/Jun/17  Updated: 02/Aug/17  Resolved: 02/Aug/17

Status: Resolved
Project: netvirt
Component/s: General
Affects Version/s: Carbon
Fix Version/s: None

Type: Bug
Reporter: Sumesh Kumar R Assignee: Manu B
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: Zip Archive Karaf Logs.zip    
Issue Links:
Duplicate
is duplicated by NETVIRT-742 ECMP buckets are not updating after b... Resolved
External issue ID: 8632

 Description   

In the Test topology i have three Compute node's and
Have a single VM instance running on each compute node.

Extra routes is configured for the Two compute node's pointing to the two VM's IP

I had initiated ping from VM-3 on CN-3 to the extra route IP and
when i bring down the tunnel interface on which traffic is getting forwarded it doesn't switch to the alternate path.

FLows and groups
================
ON CSS-3
---------
oot@Ubuntu-33:~# flows | grep table=21 | grep 120
cookie=0x8000003, duration=28377.172s, table=21, n_packets=68354, n_bytes=6698692, priority=34,ip,metadata=0x30d44/0xfffffe,nw_dst=120.0.0.0/24 actions=group:150003

root@Ubuntu-33:~# groups | grep 150003
group_id=150003,type=select,bucket=actions=resubmit(,220),set_field:fa:16:3e:6b:3c:2f->eth_dst,load:0x600->NXM_NX_REG6[],set_field:0x186a8->tun_id,bucket=actions=resubmit(,220),set_field:fa:16:3e:7f:89:d6->eth_dst,load:0x100->NXM_NX_REG6[],set_field:0x186a8->tun_id
root@Ubuntu-33:~# groupstats | grep 150003
group_id=150003,duration=66996.923s,ref_count=1,packet_count=28460,byte_count=2789080,bucket0:packet_count=28460,byte_count=2789080,bucket1:packet_count=0,byte_count=0
root@Ubuntu-33:~# groupstats | grep 150003
group_id=150003,duration=67000.832s,ref_count=1,packet_count=28464,byte_count=2789472,bucket0:packet_count=28464,byte_count=2789472,bucket1:packet_count=0,byte_count=0

ON CSS-1
---------
root@Ubuntu-239:~# flows | grep table=36
cookie=0x90186a5, duration=8802.954s, table=36, n_packets=0, n_bytes=0, priority=5,tun_id=0x186a5 actions=group:150000
cookie=0x9001389, duration=8802.954s, table=36, n_packets=1980, n_bytes=84524, priority=5,tun_id=0x404 actions=write_metadata:0x1389000000/0xfffffffff000000,goto_table:51
cookie=0x90186a8, duration=8802.954s, table=36, n_packets=63816, n_bytes=6253968, priority=5,tun_id=0x186a8 actions=group:150000

root@Ubuntu-239:~# groups | grep 150000
group_id=150000,type=all,bucket=actions=resubmit(,220),set_field:fa:16:3e:6b:3c:2f->eth_dst,load:0xa00->NXM_NX_REG6[],set_field:fa:16:3e:27:39:fd->eth_src
root@Ubuntu-239:~# groupstats | grep 150000
group_id=150000,duration=68985.638s,ref_count=5,packet_count=8497,byte_count=832706,bucket0:packet_count=8497,byte_count=832706
root@Ubuntu-239:~# groupstats | grep 150000

After bringing Down the tunnel interface

pendaylight-user@root>tep:show-state
Tunnel Name Source-DPN Destination-DPN Source-IP Destination-IP Trunk-State Transport Type
-------------------------------------------------------------------------------------------------------------------------------------
tun5f87c8077be 277180664301311 31526683982167 88.0.0.7 88.0.0.6 UP VXLAN
tun902ee6c4306 31526683982167 277180664301311 88.0.0.6 88.0.0.7 UP VXLAN
tuna03e6e78908 277180664301311 97047608610567 88.0.0.7 88.0.0.5 DOWN VXLAN
tund8026795f51 97047608610567 277180664301311 88.0.0.5 88.0.0.7 DOWN VXLAN
tuncd91997ecd5 97047608610567 31526683982167 88.0.0.5 88.0.0.6 DOWN VXLAN
tunc99e3452612 31526683982167 97047608610567 88.0.0.6 88.0.0.5 DOWN VXLAN

FLows and groups
================
ON CSS-3
---------
root@Ubuntu-33:~# flows | grep table=21 | grep 120
cookie=0x8000003, duration=28751.085s, table=21, n_packets=68728, n_bytes=6735344, priority=34,ip,metadata=0x30d44/0xfffffe,nw_dst=120.0.0.0/24 actions=group:150003

root@Ubuntu-33:~# groups | grep 150003
group_id=150003,type=select,bucket=actions=resubmit(,220),set_field:fa:16:3e:6b:3c:2f->eth_dst,load:0x600->NXM_NX_REG6[],set_field:0x186a8->tun_id,bucket=actions=resubmit(,220),set_field:fa:16:3e:7f:89:d6->eth_dst,load:0x100->NXM_NX_REG6[],set_field:0x186a8->tun_id
root@Ubuntu-33:~# groupstats | grep 150003
group_id=150003,duration=67298.664s,ref_count=1,packet_count=28762,byte_count=2818676,bucket0:packet_count=28762,byte_count=2818676,bucket1:packet_count=0,byte_count=0
root@Ubuntu-33:~#



 Comments   
Comment by Sumesh Kumar R [ 08/Jun/17 ]

Attachment Karaf Logs.zip has been added with description: Karaf logs attached

Comment by Sam Hague [ 09/Jul/17 ]

https://git.opendaylight.org/gerrit/59646

Comment by Manu B [ 02/Aug/17 ]

Fix is merged in both master and stable/carbon [Aug 1]. Please take the latest build for verification.

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