← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1826726] [NEW] [L3] stale device/process remain in network node after router removed

 

Public bug reported:

[L3] stale device/process remain in network node after router removed

ENV: stable/queens
Step to reproduce:
1. create HA router
2. attach router interface to subnet
3. remove router interface from subnet
4. delete router

Just run these 4 steps a few times, you may see there will be ha-ports
and neutron-keepalived-state-change process remain in the network node
after router was totally removed.

Test script:

function create_clean_net_struct()
{

  neutron net-create scale-test-net-${1}
  subnet_id=`neutron subnet-create --name scale-test-subnet-${1} scale-test-net-${1} 192.168.${1}.0/24|grep "| id"|awk '{print $4}'`
  router_id=`neutron router-create scale-test-router-${1}|grep "| id"|awk '{print $4}'`
  neutron router-interface-add $router_id subnet=$subnet_id

  neutron router-interface-delete $router_id subnet=$subnet_id
  neutron router-delete $router_id
  neutron subnet-delete scale-test-subnet-${1}
  neutron net-delete scale-test-net-${1}
}
create_clean_net_struct $1

** Affects: neutron
     Importance: Undecided
     Assignee: LIU Yulong (dragon889)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => LIU Yulong (dragon889)

** Summary changed:

- [L3] stable device remain in network node after router removed
+ [L3] stable device/process remain in network node after router removed

** Summary changed:

- [L3] stable device/process remain in network node after router removed
+ [L3] stale device/process remain in network node after router removed

** Description changed:

- [L3] stable device/process remain in network node after router removed
+ [L3] stale device/process remain in network node after router removed
  
  ENV: stable/queens
  Step to reproduce:
  1. create HA router
  2. attach router interface to subnet
  3. remove router interface from subnet
  4. delete router
  
  Just run these 4 steps a few times, you may see there will be ha-ports
  and neutron-keepalived-state-change process remain in the network node
  after router was totally removed.
  
- 
  Test script:
  
  function create_clean_net_struct()
  {
  
-   neutron net-create scale-test-net-${1}
-   subnet_id=`neutron subnet-create --name scale-test-subnet-${1} scale-test-net-${1} 192.168.${1}.0/24|grep "| id"|awk '{print $4}'`
-   router_id=`neutron router-create scale-test-router-${1}|grep "| id"|awk '{print $4}'`
-   neutron router-interface-add $router_id subnet=$subnet_id
+   neutron net-create scale-test-net-${1}
+   subnet_id=`neutron subnet-create --name scale-test-subnet-${1} scale-test-net-${1} 192.168.${1}.0/24|grep "| id"|awk '{print $4}'`
+   router_id=`neutron router-create scale-test-router-${1}|grep "| id"|awk '{print $4}'`
+   neutron router-interface-add $router_id subnet=$subnet_id
  
-   neutron router-interface-delete $router_id subnet=$subnet_id
-   neutron router-delete $router_id
-   neutron subnet-delete scale-test-subnet-${1}
-   neutron net-delete scale-test-net-${1}
+   neutron router-interface-delete $router_id subnet=$subnet_id
+   neutron router-delete $router_id
+   neutron subnet-delete scale-test-subnet-${1}
+   neutron net-delete scale-test-net-${1}
  }
  create_clean_net_struct $1

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1826726

Title:
  [L3] stale device/process remain in network node after router removed

Status in neutron:
  New

Bug description:
  [L3] stale device/process remain in network node after router removed

  ENV: stable/queens
  Step to reproduce:
  1. create HA router
  2. attach router interface to subnet
  3. remove router interface from subnet
  4. delete router

  Just run these 4 steps a few times, you may see there will be ha-ports
  and neutron-keepalived-state-change process remain in the network node
  after router was totally removed.

  Test script:

  function create_clean_net_struct()
  {

    neutron net-create scale-test-net-${1}
    subnet_id=`neutron subnet-create --name scale-test-subnet-${1} scale-test-net-${1} 192.168.${1}.0/24|grep "| id"|awk '{print $4}'`
    router_id=`neutron router-create scale-test-router-${1}|grep "| id"|awk '{print $4}'`
    neutron router-interface-add $router_id subnet=$subnet_id

    neutron router-interface-delete $router_id subnet=$subnet_id
    neutron router-delete $router_id
    neutron subnet-delete scale-test-subnet-${1}
    neutron net-delete scale-test-net-${1}
  }
  create_clean_net_struct $1

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1826726/+subscriptions


Follow ups