Try: (old glance client)
glance index deleted=True to see image records that are marked deleted. or: glance index deleted=None to see ALL image records. The new glance client -- python-glanceclient -- does not yet support filtering for deleted image records, but it should be able to do: glance image-list --deleted=True Once https://bugs.launchpad.net/python-glanceclient/+bug/1026301 is completed. The scrubber does not delete image records in the registry, it only destroys the disk images from backend storage for any image in 'pending_delete" status. Best, -jay On 07/18/2012 02:45 PM, Daneyon Hansen wrote: > All, > > I'm questioning whether I have come across a bug in Glance. The image > ending in 39d is a snapshot. It does not show-up under glance index > or in the Horizon GUI, but appears in the database as "active" with > the deleted bit set: > > mysql> select id, name, status, deleted_at, deleted from images where > name='proxy'; > > +--------------------------------------+------------------+---------+---------------------+---------+ > > | id | name | status | > deleted_at | deleted | > > +--------------------------------------+------------------+---------+---------------------+---------+ > > | 03dbbcf0-2a11-435d-ba67-4de75276ba20 | name | deleted | 2012-07-06 > 20:37:33 | 1 | > > | 54366544-d758-4896-917a-7558866dc39d | name | active | 2012-07-06 > 15:56:09 | 1 | > > | 7bf7e523-f21e-40b0-80cf-421490868e56 | name | active | NULL > | 0 | > > | 891bb288-fb85-4807-9485-ece6a377bb3d | name | deleted | 2012-07-06 > 21:01:38 | 1 | > > +--------------------------------------+------------------+---------+---------------------+---------+ > > I tried using glance-scrubber but the image was not deleted. It > appears like the delete operation may not be completing, leaving some > db records for the image as deleted and other records indicating it is > not. Whatever Glance is looking at, those records are showing it not > deleted. > > Any feedback would be appreciated. > > --Daneyon Hansen > > _______________________________________________ > Mailing list: https://launchpad.net/~openstack > Post to : [email protected] > Unsubscribe : https://launchpad.net/~openstack > More help : https://help.launchpad.net/ListHelp > _______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : [email protected] Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp

