Namespaces not removed when the last VM using a DVR is deleted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Stephen Ma |
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-
- 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.
tags: | added: l3-dvr-backlog |
Changed in neutron: | |
assignee: | nobody → Stephen Ma (stephen-ma) |
Changed in neutron: | |
importance: | Undecided → Medium |
Changed in neutron: | |
status: | Confirmed → In Progress |
Changed in neutron: | |
milestone: | none → juno-3 |
Changed in neutron: | |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | juno-3 → 2014.2 |
This would happen even without booting up VM's, ie. as the at the end of phase 1, we'd remove the interface and delete the router. Would you agree?