[openstack-dev] Cleaning OpenStack resources
Koderer, Marc
m.koderer at telekom.de
Thu Feb 20 10:27:09 UTC 2014
Hi Forent,
thanks for the link. Our current implementation of for the cleanup is a bit buggy. I will give your script a try.
Maybe we could use it an replace the existing module.
Regards
Marc
________________________________________
From: Florent Flament [florent.flament-ext at cloudwatt.com]
Sent: Thursday, February 20, 2014 10:30 AM
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] [qa] Cleaning OpenStack resources
Hi David,
I have been working on an OpenStack resources cleanup script that allows you to wipe out all resources in a given project, I guess you could use / adapt it for your own case. It is available on github there: https://github.com/cloudwatt/ospurge
You can also install it with pip (pip install ospurge).
As for the floating ips, you should be able to list and remove them, by using the neutron CLI:
* neutron floatingip-list
* neutron floatingip-delete
Forent Flament
----- Original Message -----
From: "David Kranz" <dkranz at redhat.com>
To: "OpenStack Development Mailing List" <openstack-dev at lists.openstack.org>
Sent: Wednesday, February 19, 2014 10:15:12 PM
Subject: [openstack-dev] [qa] Cleaning OpenStack resources
I was looking at https://review.openstack.org/#/c/73274/1 which makes it
configurable whether a brute-force cleanup of resources is done after
success. This got my wondering how this should really be done. As admin,
there are some resources that can be cleaned and some that I don't know
how. For example, as admin you can list all servers and delete them with
the --all-tenants flag. But for floating ips I don't see a way to list
all of them even as admin through the apis. Is there a way that an admin
can, through the api, locate all resources used by a particular tenant?
-David
_______________________________________________
OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
_______________________________________________
OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
More information about the OpenStack-dev
mailing list