yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #05792
[Bug 1204994] Re: Seems to be some stray metadata in locations table
** Changed in: glance
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1204994
Title:
Seems to be some stray metadata in locations table
Status in OpenStack Image Registry and Delivery Service (Glance):
Invalid
Bug description:
Latest devstack:
1) create an image
$ glance image-create --name s1 --disk-format raw --container-format bare < /etc/motd
+------------------+--------------------------------------+
| Property | Value |
+------------------+--------------------------------------+
| checksum | 6e99589be801b799dd580ada9493ef55 |
| container_format | bare |
| created_at | 2013-07-25T16:22:02 |
| deleted | False |
| deleted_at | None |
| disk_format | raw |
| id | eef5de15-79e1-4bb1-9482-4609ae404bb5 |
| is_public | False |
| min_disk | 0 |
| min_ram | 0 |
| name | s1 |
| owner | ecc4670241e842c991b8737802468e20 |
| protected | False |
| size | 641 |
| status | active |
| updated_at | 2013-07-25T16:22:02 |
+------------------+--------------------------------------+
2) Take a look at the image's entry in the image_locations table:
$ mysql -uroot -p<XXX> -h localhost glance -e 'select * from image_locations where image_id="eef5de15-79e1-4bb1-9482-4609ae404bb5"'
+----+--------------------------------------+-----------------------------------------------------------------------------------------------------------+---------------------+---------------------+------------+---------+-----------+
| id | image_id | value | created_at | updated_at | deleted_at | deleted | meta_data |
+----+--------------------------------------+-----------------------------------------------------------------------------------------------------------+---------------------+---------------------+------------+---------+-----------+
| 5 | eef5de15-79e1-4bb1-9482-4609ae404bb5 | swift+http://service%3Aglance:<password>@10.6.101.232:5000/v2.0/glance/eef5de15-79e1-4bb1-9482-4609ae404bb5 | 2013-07-25 16:22:02 | 2013-07-25 16:22:02 | NULL | 0 | }q. |
+----+--------------------------------------+-----------------------------------------------------------------------------------------------------------+---------------------+---------------------+------------+---------+-----------+
the 'meta_data' field entry (0|}q. looks suspect to me.
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1204994/+subscriptions