[NETVIRT-1289] stale entries for dhcp interfaces retained in data-stores when open-stack dhcp is enabled Created: 01/Jun/18  Updated: 13/Jul/18  Resolved: 13/Jul/18

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

Type: Bug Priority: Medium
Reporter: nithi thomas Assignee: nithi thomas
Resolution: Cannot Reproduce Votes: 0
Labels: VPNV6
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

stale entries for dhcp interfaces retained in prefix-to interface data-store when open-stack dhcp is enabled after deletion of all the configs.

steps

=========

Create Network1 with each Subnet(ipv4 and IPv6)and boot VM.
Create Network2 with each Subnet(ipv4 and IPv6)and boot VM.
Create Router
Associate Subnet to it. --> Check FIB entries Observed
Dissociate subnet from Router --> Check FIB entries removed.
Repeat associate and dissociate multiple time(5 times) and validate data path
Delete all network,port,subnet, Router and check flows and data stores.
Verification has to be done following points.

1. All Config Data stores.

2. All Operational Data stores.

3. FIB Entries.

4. Dump-flows. – > Verify with Dump-flows which was taken before testing

5.Dump-groups.-> . – > Verify with Dump-Groups which was taken before testing

 

configurations

===============

openstack network create network1

openstack subnet create --network network1 --subnet-range 10.0.0.0/24 subnet1_IPV4

openstack subnet create --network network1 --subnet-range 2001:db8:0:2::/64 subnet1_IPV6 --ip-version=6 --ipv6-address-mode=slaac --ipv6-ra-mode=slaac --allocation-pool start=2001:db8:0:2::2,end=2001:db8:0:2:ffff:ffff:ffff:fffe

openstack network create network2

openstack subnet create --network network2 --subnet-range 20.0.0.0/24 subnet2_IPV4

openstack subnet create --network network2 --subnet-range 3001:db8:0:2::/64 subnet2_IPV6 --ip-version=6 --ipv6-address-mode=slaac --ipv6-ra-mode=slaac --allocation-pool start=3001:db8:0:2::2,end=3001:db8:0:2:ffff:ffff:ffff:fffe

neutron port-create network1 --name myport11 --security-group=X
neutron port-create network1 --name myport21 --security-group=X

openstack server create --image cirros-0.3.5-x86_64-disk --flavor m1.tiny --availability-zone nova:osc-pike-ubuntu16 --nic port-id=$(openstack port list | grep -w 'myport11' | awk '{print $2}') VM1

openstack server create --image cirros-0.3.5-x86_64-disk --flavor m1.tiny --availability-zone nova:osc-pike-ubuntu16 --nic port-id=$(openstack port list | grep -w 'myport21' | awk '{print $2}') VM2

neutron port-create network2 --name myport13 --security-group=X
neutron port-create network2 --name myport23 --security-group=X
openstack server create --image cirros-0.3.5-x86_64-disk --flavor m1.tiny --availability-zone nova:osc-pike-ubuntu16 --nic port-id=$(openstack port list | grep -w 'myport13' | awk '{print $2}') VM3

openstack server create --image cirros-0.3.5-x86_64-disk --flavor m1.tiny --availability-zone nova:osc-pike-ubuntu16 --nic port-id=$(openstack port list | grep -w 'myport23' | awk '{print $2}') VM4

neutron router-create R1
neutron router-interface-add R1 subnet1_IPV4
neutron router-interface-add R1 subnet1_IPV6

neutron router-interface-add R1 subnet2_IPV4
neutron router-interface-add R1 subnet2_IPV6

 



 Comments   
Comment by nithi thomas [ 13/Jul/18 ]

Issue is not reproducible in the latest master(fluorine) branch.

All dhcp interfaces are getting deleted from prefix-to-interface table.

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