Ask Your Question
2

Finding and deleting orphaned resources.

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

Krist gravatar image

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?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

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

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

Stats

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

Seen: 745 times

Last updated: Sep 25 '14