Finding and deleting orphaned resources.
Hello,
When a tenant gets deleted often some resources are left behind. Is there an easy way to find these resources (eg. networks) and delete them?
First time here? Check out the FAQ!
Hello,
When a tenant gets deleted often some resources are left behind. Is there an easy way to find these resources (eg. networks) and delete them?
I don't think there is an easy way to do this.
For each class of resources (nova instances, neutron networks, neutron security groups, glance images, ceilometer alarms, etc, etc), you would need to iterate through the available resources, get the tenant id associated with each one, and then check if that tenant id was still valid.
There appear to be several attempts out there to solve this problem:
...but none of these things appear to have moved much beyond the design stage at this point.
Asked: 2014-09-25 09:35:46 -0600
Seen: 887 times
Last updated: Sep 25 '14