Re: [Openstack] cleaning up orphans

2013-10-23 Thread Razique Mahroua
not that I’m aware of unfortunately. Let me know if you find anything :) cheers On Oct 22, 2013, at 18:56, James wrote: > Thanks for reply Razique. We are running Grizzly. > > Is there a programmatic way to do this, via API? Would be nice to script this > using the API if possible. > > A rela

Re: [Openstack] cleaning up orphans

2013-10-22 Thread James
Thanks for reply Razique. We are running Grizzly. Is there a programmatic way to do this, via API? Would be nice to script this using the API if possible. A related question: is there a way to force the deletion of all related objects when a tenant is removed? Thanks! On Tuesday, October 22, 20

Re: [Openstack] cleaning up orphans

2013-10-22 Thread Razique Mahroua
Hi James, which version of OpenStack? Everything is saved into DB, so retrieve the tenant ID (you can maybe go through the "instances" table inside Nova DB), and that would be a good start I think. Le 2013-10-22 à 17:30, James a écrit : > All, > > Let's say a tenant is removed via keystone wi

[Openstack] cleaning up orphans

2013-10-22 Thread James
All, Let's say a tenant is removed via keystone without first removing networks, routers or instances. Is there a good way to "find" these orphan objects to then remove them manually? Looking to clean some "hanging" objects in a fairly large cloud. Thanks! __