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

stale entries for dhcp interfaces retained in data-stores when open-stack dhcp is enabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Medium Medium
    • Fluorine
    • None
    • General

      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

       

            nithithomas nithi thomas
            nithithomas nithi thomas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: