Openstack Image- How to delete openstack image by last usage?

250 Views Asked by At

I am writing a python script to delete openstack images based on the last access date.

But from the documentation of image object openstack.image.v2.image.Image I could only get updated_at and created_at dates of image and not the last accessed date.

Is there any other way by which I can get the last-access date of image?

Any help/suggestions would be helpful.

Thanks.

1

There are 1 best solutions below

0
On

"Last access date image" means that which running instance using the image ? and when that instance was created ?