[NETVIRT-1156] Duplicate FIB entries observed when Dualstack VM when router gets associated with VPN Created: 19/Mar/18  Updated: 14/May/18  Resolved: 23/Mar/18

Status: Verified
Project: netvirt
Component/s: General
Affects Version/s: None
Fix Version/s: Oxygen

Type: Bug Priority: High
Reporter: RajaRajan Manickam Assignee: nithi thomas
Resolution: Cannot Reproduce Votes: 0
Labels: VPNV6
Remaining Estimate: 0 minutes
Time Spent: 3 days
Original Estimate: Not Specified

Attachments: Text File karaf.log    
Priority: High

 Description   

Duplicate FIB entries observed when Dualstack VM when router gets associated with VPN

 

  1. Create Network1 with S1(ipv4) and S2(ipv6àwith SLAAC)
  2. Check FIB entries whether all IPv4 and IPv6 entries observed. à PASS
  3. Create L3VPN
  4. Associate Router to L3VPN and check FIB.

 

Issue:

 

  FIB should not add duplicate entries. It should only replace RD from router to VPN.

 

 

FIB Observed:

 

opendaylight-user@root>fib-show

   RD       Prefix                NextHop               Label    Origin

   -------------------------------------------------------------------

   c84a9213-f0dd-4b56-a812-b5a52fad8c96  10.1.1.9/32           10.164.224.14         100005   l

   c84a9213-f0dd-4b56-a812-b5a52fad8c96  2001:db8:1234:0:f816:3eff:fe34:c812/128  10.164.224.15         100007   l

   c84a9213-f0dd-4b56-a812-b5a52fad8c96  2001:db8:1234:0:f816:3eff:fee4:aadc/128  10.164.224.14         100003   l

   c84a9213-f0dd-4b56-a812-b5a52fad8c96  10.1.1.12/32          10.164.224.15         100006   l

   c84a9213-f0dd-4b56-a812-b5a52fad8c96  2001:db8:1234:0:f816:3eff:fe88:d56e/128  10.164.224.14         100004   l

   c84a9213-f0dd-4b56-a812-b5a52fad8c96  2001:db8:1234:0:f816:3eff:fe29:cdf8/128  10.164.224.15         100002   l

   100:1    10.1.1.9/32           10.164.224.14         100013   l

   100:1    2001:db8:1234::/64    10.164.224.14         100009   c

   100:1    2001:db8:1234:0:f816:3eff:fe34:c812/128  10.164.224.15         100015   l

   100:1    2001:db8:1234::1/128  0.0.0.0               100010   l

   100:1    2001:db8:1234:0:f816:3eff:fee4:aadc/128  10.164.224.14         100012   l

   100:1    10.1.1.12/32          10.164.224.15         100014   l

   100:1    2001:db8:1234:0:f816:3eff:fe88:d56e/128  10.164.224.14         100011   l

   100:1    2001:db8:1234:0:f816:3eff:fe29:cdf8/128  10.164.224.15         100016   l

      

 

Steps Used:

neutron net-create mynet1

neutron subnet-create mynet1 10.1.1.0/24 --enable-dhcp --name net1-snet1

neutron port-create mynet1 --name myport11 --security-group=X

neutron port-create mynet1 --name myport21 --security-group=X

nova boot --image cirros-0.3.5-x86_64-disk --flavor m1.tiny --nic port-id=$(neutron port-list | grep 'myport11' | awk '{print $2}') myhost11 --availability-zone nova:rajarajan-14 

nova boot --image cirros-0.3.5-x86_64-disk --flavor m1.tiny --nic port-id=$(neutron port-list | grep 'myport21' | awk '{print $2}') myhost21 --availability-zone nova:rajarajan-15 

neutron subnet-create mynet1 2001:db8:1234::/64 --ip-version 6 --ipv6-ra-mode slaac --ipv6-address-mode slaac --name net1-snet2

neutron router-create R1

neutron router-interface-add R1 net1-snet2

neutron port-create mynet1 --name myport12 --security-group=X

neutron port-create mynet1 --name myport22 --security-group=X

nova boot --image cirros-0.3.5-x86_64-disk --flavor m1.tiny --nic port-id=$(neutron port-list | grep 'myport12' | awk '{print $2}') myhost12 --availability-zone nova:rajarajan-14

nova boot --image cirros-0.3.5-x86_64-disk --flavor m1.tiny --nic port-id=$(neutron port-list | grep 'myport22' | awk '{print $2}') myhost22 --availability-zone nova:rajarajan-15

 

Create L3VPN and Associate above router to L3VPN.



 Comments   
Comment by nithi thomas [ 21/Mar/18 ]

Hi Rajarajan,

   Issue (NETVIRT-1156) is not reproducible with the ODL latest stable/oxygenbuild as per the steps
given in jira. Could you please restest on latest build and let us know the status.
 
 
Please find the below additional information for issue tested environment and build details.

 Tested Environment and topology:
 
ODL:

Latest Stable/Oxygen tested build:
[https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/karaf/0.8.0-SNAPSHOT/karaf-0.8.0-20180320.193056-1739.zip]++

Openstack(Devstack) Release:
Stable/Pike
OVS Version:
2.9.0

Topology:
=========

N1
S1 (IPv4 : 10.0.0.0/24) and S2 (IPv6: 2001:db8:0:2::/64) à Attached these subnets to Router (router1)
BGPVPN (RD: 1:1) ßàRouter (router1)

 Logs
========

FIB output before creating BGPVPN (RD 1:1) with Router (router1)

 opendaylight-user@root>fib-show                                                
   RD       Prefix                NextHop               Label    Origin
   -------------------------------------------------------------------
   57ce7b5c-c0b8-475d-b526-101b9b874bb9  2001:db8:0:2::1/128   0.0.0.0               100029   l     
   57ce7b5c-c0b8-475d-b526-101b9b874bb9  10.0.0.6/32           192.168.56.215        100026   l     
   57ce7b5c-c0b8-475d-b526-101b9b874bb9  10.0.0.5/32           192.168.56.215        100027   l     
   57ce7b5c-c0b8-475d-b526-101b9b874bb9  10.0.0.1/32           0.0.0.0               100025   l     
   57ce7b5c-c0b8-475d-b526-101b9b874bb9  10.0.0.2/32           192.168.56.215        100028   l

FIB output after creating BGPVPN (RD 1:1) with the Router (router1)

opendaylight-user@root>fib-show                                                
   RD       Prefix                NextHop               Label    Origin
   -------------------------------------------------------------------
   1:1      2001:db8:0:2:f816:3eff:fec7:8e16/128  192.168.56.215        100013   l     
   1:1      2001:db8:0:2::/64     192.168.56.215        100034   c     
   1:1      2001:db8:0:2::1/128   0.0.0.0               100012   l     
   1:1      10.0.0.6/32           192.168.56.215        100036   l     
   1:1      10.0.0.5/32           192.168.56.215        100038   l     
   1:1      10.0.0.2/32           192.168.56.215        100037   l     
   1:1      10.0.0.1/32           0.0.0.0               100007   l     
   1:1      2001:db8:0:2:f816:3eff:fe4d:aeca/128  192.168.56.215        100014   l     
   1:1      10.0.0.0/24           192.168.56.215        100035   c     
   1:1      2001:db8:0:2:f816:3eff:fe5d:c497/128  192.168.56.215        100015   l     
opendaylight-user@root>     

Thanks & Regards,
Nithi

Comment by nithi thomas [ 23/Mar/18 ]

issue is non-repro on RC3 and latest oxygen build.

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