[Openstack] 答复: cleaning up orphans
James
jameszee13 at gmail.com
Wed Oct 23 16:40:21 UTC 2013
Thanks for pointing me to this bug.
While the bug discussed the issue moving forward, I didn't see
anything that gave any suggestions on how to fix exiting orphan(ed)
instances, networks, etc. I would hate to re-invent the wheel -- I'm
sure someone has whipped up a script to find orphaned objects via
either MySQL or some other method?
Any help / ideas would be VERY greatly appreciated!
Thanks!
On Wed, Oct 23, 2013 at 12:43 AM, Chenrui (A) <kiwik.chenrui at huawei.com> wrote:
> Results of the discussions of this bug might solve your problem
>
>
>
> https://bugs.launchpad.net/keystone/+bug/967832
>
>
>
> 发件人: James [mailto:jameszee13 at gmail.com]
> 发送时间: 2013年10月23日 9:57
> 收件人: Razique Mahroua
> 抄送: openstack at lists.openstack.org
> 主题: Re: [Openstack] cleaning up orphans
>
>
>
> 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, 2013, Razique Mahroua wrote:
>
> 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 <jameszee13 at gmail.com> a écrit :
>
>> 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!
>>
>> _______________________________________________
>> Mailing list:
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> Post to : openstack at lists.openstack.org
>> Unsubscribe :
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
More information about the Openstack
mailing list