[Openstack] Removing unused images using Glance APIs

Narayanan, Krishnaprasad narayana at uni-mainz.de
Wed Nov 13 23:47:45 UTC 2013


Hi

If I understand it correctly, this addresses the active instances and its images. Can I know how one should take care of instance and volume snapshots?

Thanks,
Krishnaprasad
From: Razique Mahroua [mailto:razique.mahroua at gmail.com]
Sent: Mittwoch, 13. November 2013 14:40
To: Narayanan, Krishnaprasad
Cc: openstack at lists.openstack.org
Subject: Re: [Openstack] Removing unused images using Glance APIs

Hi. I think there is not any API for that unfortunately....
But there is a field into the database that indicates the image ID. So if you select all active instances and select the unique images ID entries, you can compare them against the Glance images. A BASH script should be sufficient.

Razique

On Wednesday, November 13, 2013, Narayanan, Krishnaprasad wrote:
Hallo All,

In our testbed we have Openstack ESSEX. I am in the process of cleaning up the image store. Can I know are there any APIs in Glance or Nova that can help me in this process?

Thanks,
Krishnaprasad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131113/01510f6c/attachment.html>


More information about the Openstack mailing list