[NETVIRT-1097] IPv4 subnet entry not getting removed when L3VPN deleted Created: 14/Feb/18  Updated: 14/May/18  Resolved: 22/Mar/18

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

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

Attachments: Text File karaf.log    
Priority: High

 Description   

IPv4 subnet mask entry not getting removed when L3VPN deleted

  1. Create Network with 2 subnet. (One IPv4 and One IPv6) - dualstack.
  2. Create router, addinterface and boot VM.
  3. Create L3VPN and asscoiate router to it.
  4. Delete L3VPN and check IPv4 entries and corresponding subnet mask removed.

Observation:

opendaylight-user@root>fib-show
   RD       Prefix                NextHop               Label    Origin
   -------------------------------------------------------------------
   100:1    10.1.1.0/24           11.1.1.43             100001   c
   42d78a7b-a03f-47f5-a0bd-fc0dcf773ce7  2001:db8:1234::1/128  0.0.0.0               100005   l
   42d78a7b-a03f-47f5-a0bd-fc0dcf773ce7  2001:db8:1234:0:f816:3eff:fe6f:7a5/128  11.1.1.43             100007   l
   42d78a7b-a03f-47f5-a0bd-fc0dcf773ce7  2001:db8:1234:0:f816:3eff:fe77:a02/128  11.1.1.44             100003   l
   42d78a7b-a03f-47f5-a0bd-fc0dcf773ce7  2001:db8:1234:0:f816:3eff:fe99:efac/128  11.1.1.44             100006   l
   42d78a7b-a03f-47f5-a0bd-fc0dcf773ce7  2001:db8:1234:0:f816:3eff:fe60:2e54/128  11.1.1.43             100002   l



 Comments   
Comment by Karthikeyan Krishnan [ 21/Mar/18 ]

Hi Rajarajan,

While debugging the issue with ODL latest stable/oxygen as well as ODL latest Master (Fluorine) build, I am not able to re-produce the issue now. Request to recheck the issue reproducible status on latest build and do let me know the status of the same as well.

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-1740.zip

Master (Fluorine) tested build:
https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/karaf/0.9.0-SNAPSHOT/karaf-0.9.0-20180314.133354-274.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)
VM1 (Dual Stack VM)

{10.0.0.7, 2001:db8:0:2:f816:3eff:fe5a:8007}

BGPVPN (RD: 1:1) Router (router1)

stack@osc-pike-ubuntu16:/opt/stack/devstack$ openstack server list
----------------------------------------------------------------------------------------------------------------------------------+

ID Name Status Networks Image Flavor

----------------------------------------------------------------------------------------------------------------------------------+

97a1f688-f353-4896-bf03-f9eb97b7cc12 VM1 ACTIVE network1=10.0.0.7, 2001:db8:0:2:f816:3eff:fe5a:8007 cirros-0.3.5-x86_64-disk m1.tiny

----------------------------------------------------------------------------------------------------------------------------------+

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

opendaylight-user@root>vpnservice:fib-show
RD Prefix NextHop Label Origin
-------------------------------------------------------------------

  • 1:1 2001:db8:0:2::/64 192.168.56.215 100019 c*
    1:1 2001:db8:0:2::1/128 0.0.0.0 100015 l
    1:1 2001:db8:0:2:f816:3eff:fe26:a523/128 192.168.56.215 100023 l
    1:1 10.0.0.1/32 0.0.0.0 100010 l
    1:1 10.0.0.2/32 192.168.56.215 100022 l
  • 1:1 10.0.0.0/24 192.168.56.215 100018 c*
    1:1 10.0.0.7/32 192.168.56.215 100020 l
    1:1 2001:db8:0:2:f816:3eff:fe5a:8007/128 192.168.56.215 100021 l
    opendaylight-user@root>fib-show
    RD Prefix NextHop Label Origin
    -------------------------------------------------------------------
    1:1 2001:db8:0:2::/64 192.168.56.215 100019 c
    1:1 2001:db8:0:2::1/128 0.0.0.0 100015 l
    1:1 2001:db8:0:2:f816:3eff:fe26:a523/128 192.168.56.215 100023 l
    1:1 10.0.0.1/32 0.0.0.0 100010 l
    1:1 10.0.0.2/32 192.168.56.215 100022 l
    1:1 10.0.0.0/24 192.168.56.215 100018 c
    1:1 10.0.0.7/32 192.168.56.215 100020 l
    1:1 2001:db8:0:2:f816:3eff:fe5a:8007/128 192.168.56.215 100021 l

FIB output after disassociated BGPVPN (RD 1:1) from the Router (router1)

opendaylight-user@root>fib-show

RD Prefix NextHop Label Origin
-------------------------------------------------------------------
a6945b98-6830-4adf-a031-5e519f530002 2001:db8:0:2::1/128 0.0.0.0 100004 l
a6945b98-6830-4adf-a031-5e519f530002 2001:db8:0:2:f816:3eff:fe26:a523/128 192.168.56.215 100027 l
a6945b98-6830-4adf-a031-5e519f530002 10.0.0.7/32 192.168.56.215 100024 l
a6945b98-6830-4adf-a031-5e519f530002 10.0.0.1/32 0.0.0.0 100001 l
a6945b98-6830-4adf-a031-5e519f530002 10.0.0.2/32 192.168.56.215 100026 l
a6945b98-6830-4adf-a031-5e519f530002 2001:db8:0:2:f816:3eff:fe5a:8007/128 192.168.56.215 100025 l
opendaylight-user@root>vpnservice:fib-show
RD Prefix NextHop Label Origin
-------------------------------------------------------------------
a6945b98-6830-4adf-a031-5e519f530002 2001:db8:0:2::1/128 0.0.0.0 100004 l
a6945b98-6830-4adf-a031-5e519f530002 2001:db8:0:2:f816:3eff:fe26:a523/128 192.168.56.215 100027 l
a6945b98-6830-4adf-a031-5e519f530002 10.0.0.7/32 192.168.56.215 100024 l
a6945b98-6830-4adf-a031-5e519f530002 10.0.0.1/32 0.0.0.0 100001 l
a6945b98-6830-4adf-a031-5e519f530002 10.0.0.2/32 192.168.56.215 100026 l
a6945b98-6830-4adf-a031-5e519f530002 2001:db8:0:2:f816:3eff:fe5a:8007/128 192.168.56.215 100025 l
opendaylight-user@root>

Thanks & Regards,
Karthikeyan.

Comment by Karthikeyan Krishnan [ 22/Mar/18 ]

Reported issue is not reproducible with Stable/Oxygen RC3 build

Used ODL-Oxygen RC3 Build for validation:
https://nexus.opendaylight.org/content/repositories/autorelease-2114/org/opendaylight/integration/karaf/0.8.0/karaf-0.8.0.zip

As per the confirmation from the bug submitter issue is not re-producible with Stable/Oxygen RC3 build. Hence moving this issue to Fixed state.

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