tenant created networks cannot be deleted by the tenant
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Astara |
Fix Released
|
High
|
Adam Gandelman | ||
akanda |
Fix Released
|
High
|
Adam Gandelman |
Bug Description
If a tenant creates their own network, subnet and router that same tenant may not be able to delete it.
To reproduce using a non-admin tenant:
- Create a network
- Create a subnet
- Create a router
Akanda boots a router appliance appliance, connected to the external network
- Attach a router interface to the created network
Attempt to delete the network resources:
- delete router interface
- Delete the router
- delete all ports on subnet
- delete subnet
- delete network
In one instance where I setup network resources using python-
In another where I did all of this using horizon, it fails because deleting the router (via horizon) does not ensure the any associated router interface ports are deleted. The network fails to delete because of a stale router interface pot. Said port cannot be removed via api as a router interface because the router is gone. It needs to first be updated to NOT be a router interface, deleted then the network may cleanup.
Changed in akanda: | |
importance: | Undecided → High |
Changed in akanda: | |
status: | New → In Progress |
Changed in akanda: | |
assignee: | nobody → Adam Gandelman (gandelman-a) |
Changed in akanda: | |
milestone: | none → liberty-rc1 |
Changed in astara: | |
milestone: | none → liberty-rc1 |
status: | New → Incomplete |
status: | Incomplete → Fix Committed |
importance: | Undecided → High |
Changed in akanda: | |
status: | Fix Committed → Fix Released |
Changed in astara: | |
assignee: | nobody → Adam Gandelman (gandelman-a) |
status: | Fix Committed → Fix Released |
Changed in astara: | |
milestone: | liberty-rc1 → 7.0.0 |
Changed in akanda: | |
milestone: | liberty-rc1 → 7.0.0 |
https:/ /review. openstack. org/#/c/ 219951/