Uploaded image for project: 'netvirt'
  1. netvirt
  2. NETVIRT-1388

neutron router-update after vpn association not working for ipv6 extra routes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • Oxygen-SR3
    • None
    • ipv6service

      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.

            Karthikeyan Karthikeyan Krishnan
            Sindhuri Sindhuri B
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 days
                3d