← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1353165] Re: Namespaces not removed when the last VM using a DVR is deleted

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

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

Title:
  Namespaces not removed when the last VM using a DVR is deleted

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  With DVR, the qrouter- and snat- namespaces are deleted after the last
  VM using the router is deleted. But the namespaces remain on the node
  afterwards.

  How the problem is reproduced;

  1. Create a network, subnet, and router:

     - neutron net-create mynet
     - neutron subnet-create --name sb-mynet mynet 10.1.2.0/24
     - neutron router-create myrouter
     - neutron router-interface-add myrouter sb-mynet
     - neutron router-gateway-set myrouter public

  2. Create a VM:

     - nova boot --flavor 1 --key-name <key> --image <cirros-image>
  --nic net-id=<mynet-uuid> vm1

     After the VM comes boots up, check the VM is pingable

  3. Delete the VM.

  The router's namespaces remain on the node.  They should have been
  deleted.

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


References