Ask Your Question

Finding and deleting orphaned resources.

asked 2014-09-25 09:35:46 -0500

Krist gravatar image


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?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-09-25 13:02:49 -0500

larsks gravatar image

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-09-25 09:35:46 -0500

Seen: 806 times

Last updated: Sep 25 '14