[NETVIRT-1388] neutron router-update after vpn association not working for ipv6 extra routes Created: 31/Jul/18  Updated: 03/Aug/18  Resolved: 03/Aug/18

Status: Resolved
Project: netvirt
Component/s: ipv6service
Affects Version/s: None
Fix Version/s: Oxygen-SR3

Type: Bug Priority: High
Reporter: Sindhuri B Assignee: Karthikeyan Krishnan
Resolution: Done Votes: 0
Labels: VPNV6
Remaining Estimate: 0 minutes
Time Spent: 3 days
Original Estimate: Not Specified

Attachments: Text File configurations.txt     Text File issue_description.txt    

 Description   

Test Case:

->Create 8 Networks , 16 VMs

->Create router R1 and add 8 subnets to the router.

->1 VMs in each of the 8 network host one ipv4 and ipv6 extra route. 

->Create vpn instance with 8 rds and associate router to the vpn.

->configure extra route with 8 VMs ips as next hops.

 

Issue:

ECMP groups having missing buckets towards some of these  VMs as below:

 

Compute-0-1: IPv4(working) - IPV6(Non working - 3 buckets missing in groups)

root@compute-0-1:~# sh table.sh 21 | grep 20.0.0
cookie=0x8000003, duration=2178.617s, table=21, n_packets=0, n_bytes=0, priority=34,ip,metadata=0x30da2/0xfffffe,nw_dst=20.0.0.0/24 actions=group:150065

root@compute-0-1:~# sudo ovs-ofctl dump-groups br-int O Openflow13 | grep 150065 group_id=150065,type=select,bucket=actions=group:150055,bucket=actions=group:150034,bucket=actions=group:150035,bucket=actions=group:150041,bucket=actions=set_field:0x18713>tun_id,set_field:fa:16:3e:87:f3:e0->eth_dst,output:52,bucket=actions=set_field:0x18713->tun_id,set_field:fa:16:3e:b7:cf:39->eth_dst,output:52,bucket=actions=set_field:0x18713->tun_id,set_field:fa:16:3e:f8:43:54->eth_dst,output:52,bucket=actions=set_field:0x18713->tun_id,set_field:fa:16:3e:33:ad:93->eth_dst,output:52

root@compute-0-1:~# sh table.sh 21 | grep 2111
cookie=0x8000003, duration=2225.182s, table=21, n_packets=0, n_bytes=0, priority=74,ipv6,metadata=0x30da2/0xfffffe,ipv6_dst=2111:12f:862:18::/64 actions=group:150067

root@compute-0-1:~# sudo ovs-ofctl dump-groups br-int -O Openflow13 | grep 150067
group_id=150067,type=select,bucket=actions=group:150056,bucket=actions=set_field:0x18712->tun_id,set_field:fa:16:3e:87:f3:e0->eth_dst,output:52,bucket=actions=set_field:0x18712->tun_id,set_field:fa:16:3e:33:ad:93->eth_dst,output:52,bucket=actions=set_field:0x18712->tun_id,set_field:fa:16:3e:f8:43:54->eth_dst,output:52,bucket=actions=set_field:0x18712->tun_id,set_field:fa:16:3e:b7:cf:39->eth_dst,output:52 -->Should contain 3 more local buckets

root@compute-0-1:~# sh table.sh 20 | grep 100115
cookie=0x8000002, duration=2352.567s, table=20, n_packets=0, n_bytes=0, priority=10,mpls,mpls_label=100115 actions=pop_mpls:0x0800,group:150066

root@compute-0-1:~# sudo ovs-ofctl dump-groups br-int -O Openflow13 | grep 150066
group_id=150066,type=select,bucket=actions=group:150055,bucket=actions=group:150034,bucket=actions=group:150035,bucket=actions=group:150041

root@compute-0-1:~# sh table.sh 20 | grep 100114
cookie=0x8000002, duration=2419.175s, table=20, n_packets=0, n_bytes=0, priority=10,mpls,mpls_label=100114 actions=pop_mpls:0x86dd,group:150068

root@compute-0-1:~# sudo ovs-ofctl dump-groups br-int -O Openflow13 | grep 150068
group_id=150068,type=select,bucket=actions=group:150056 -->Should contain 3 more buckets

 

Compute-0-2:IPv4(Not working - 1 bucket missing) - IPV6(Not working - 3 buckets missing)

sudo ovs-ofctl dump-groups br-int -O Openflow13 | grep 150065
group_id=150065,type=select,bucket=actions=group:150058,bucket=actions=group:150052,bucket=actions=group:150048,bucket=actions=set_field:0x18713->tun_id,set_field:fa:16:3e:84:25:4e->eth_dst,output:150,bucket=actions=set_field:0x18713->tun_id,set_field:fa:16:3e:ec:17:4c->eth_dst,output:150,bucket=actions=set_field:0x18713->tun_id,set_field:fa:16:3e:e9:59:fa->eth_dst,output:150 ->Should contain 1 more bucket

root@compute-0-2:~# sh table.sh 21 | grep 2111
cookie=0x8000003, duration=3708.774s, table=21, n_packets=0, n_bytes=0, priority=74,ipv6,metadata=0x30da2/0xfffffe,ipv6_dst=2111:12f:862:18::/64 actions=group:150067

root@compute-0-2:~# sudo ovs-ofctl dump-groups br-int -O Openflow13 | grep 150067
group_id=150067,type=select,bucket=actions=group:150059,bucket=actions=set_field:0x18712->tun_id,set_field:fa:16:3e:e9:59:fa->eth_dst,output:150,bucket=actions=set_field:0x18712->tun_id,set_field:fa:16:3e:84:25:4e->eth_dst,output:150,bucket=actions=set_field:0x18712->tun_id,set_field:fa:16:3e:ec:17:4c->eth_dst,output:150,bucket=actions=set_field:0x18712->tun_id,set_field:fa:16:3e:ff:56:b2->eth_dst,output:150 ->Should contain 3 more local buckets

root@compute-0-2:~# sh table.sh 20 | grep 100115
cookie=0x8000002, duration=3737.633s, table=20, n_packets=0, n_bytes=0, priority=10,mpls,mpls_label=100115 actions=pop_mpls:0x0800,group:150066

root@compute-0-2:~# sudo ovs-ofctl dump-groups br-int -O Openflow13 | grep 150066
group_id=150066,type=select,bucket=actions=group:150058,bucket=actions=group:150052,bucket=actions=group:150048 ->Should contain 1 more bucket

root@compute-0-2:~# sh table.sh 20 | grep 100114
cookie=0x8000002, duration=3768.043s, table=20, n_packets=0, n_bytes=0, priority=10,mpls,mpls_label=100114 actions=pop_mpls:0x86dd,group:150068

root@compute-0-2:~# sudo ovs-ofctl dump-groups br-int -O Openflow13 | grep 150068
group_id=150068,type=select,bucket=actions=group:150059 -->Should contain 3 more buckets

 

Configurations and logs are attached.



 Comments   
Comment by Karthikeyan Krishnan [ 03/Aug/18 ]

Please refer the below gerrit link for fix got merged into stable/oxygen SR3 release.

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

 

This fix is already available in Fluorine branch. Also reported issue is not been observed. Hence cherry-picking this fix to fluorine branch is not required.

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