Tenant delete does not clean up the networks or VMs

Bug #1234455 reported by Sukhdev Kapur
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
neutron
Won't Fix
Undecided
Unassigned

Bug Description

If a tenant has networks and VM instances created under it.
If tenant-delete is issued, it should either be rejected as there are objects under it or those objects should be automatically cleaned.

Neither of that takes place.

To reproduce this bug:
- Create a tenant (keystone tenant-create )
- create a network for this tenant (neutron net-create)
- Instantiate a VM for this tenant ( nova boot)

- Now delete the tenant (keystone tenant-delete)
  This operation succeeds. However now you are left with a situation where you do not have a tenant, but, networks and VM belonging to it remain active.

This whole thing can be created from Horizon as well. The worst part about doing from Horizon is that you do dot see tenant and networks on horizon after the tenant is deleted.

Revision history for this message
Mark McClain (markmcclain) wrote :

This is a known issue with all services in OpenStack. Due to the loose coupling between services there's no way to know a tenant has been removed. This is a cross project issue and would need a blueprint and design discussion in the keystone project.

Changed in neutron:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.