Public bug reported:

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.

** Affects: neutron
     Importance: Undecided
     Assignee: Stephen Ma (stephen-ma)
         Status: New


** Tags: l3-dvr-backlog

** Tags added: l3-dvr-backlog

** Changed in: neutron
     Assignee: (unassigned) => Stephen Ma (stephen-ma)

-- 
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):
  New

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to