[Openstack] Possible Glance Bug?

Daneyon Hansen daneyonhansen at gmail.com
Wed Jul 18 18:45:50 UTC 2012


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




More information about the Openstack mailing list