[Openstack] [Glance] 404 after upgrading to grizzly

Heiko Krämer info at honeybutcher.de
Tue Apr 16 08:39:48 UTC 2013


Heyho Guys,

i've a strange issue with glance after I've upgraded from Folsom to
Grizzly. All Images are stored in swift!

I see all Images and the image details too but I can't download or
modify this images. Nova-compute can't download it too.

root at api2:~# glance image-list
+--------------------------------------+----------------+-------------+------------------+------------+--------+
| ID                                   | Name           | Disk Format |
Container Format | Size       | Status |
+--------------------------------------+----------------+-------------+------------------+------------+--------+
| a9d4488d-305d-44ee-aded-923a9f3e7aa2 | Cirros-Test    | qcow2       |
bare             | 9761280    | active |
| b7dcf14e-4a1d-4370-86d8-7e4d2f5792f8 | default(12.04) | qcow2       |
bare             | 251527168  | active |
+--------------------------------------+----------------+-------------+------------------+------------+--------+


root at api2:~# glance image-download a9d4488d-305d-44ee-aded-923a9f3e7aa2
> test.img
Request returned failure status.
404 Not Found
Swift could not find image at URI.
    (HTTP 404)


So i've checked, the db migrations have worked i think (example):
+----+--------------------------------------+-------------------------------------------------------------------------------------------------------------------+---------------------+---------------------+------------+---------+
| id | image_id                             |
value                                                                                                            
| created_at          | updated_at          | deleted_at | deleted |
+----+--------------------------------------+-------------------------------------------------------------------------------------------------------------------+---------------------+---------------------+------------+---------+
| 25 | a9d4488d-305d-44ee-aded-923a9f3e7aa2 |
swift+https://service%3Aglance:xxxx@xxxxxx:35357/v2.0/glance/a9d4488d-305d-44ee-aded-923a9f3e7aa2
| 2013-03-11 16:30:08 | 2013-03-11 16:30:09 | NULL       |       0 |

I can't see any errors in Log's of the glance services (Debug mode on)
or Keystone logs. In addition I don't see a request in my swift log.

I've running all Services in Folsom without problems, so my Keystone
endpoints should be ok:

| de64976ee0974ddca7f2c6cfb3fe0fae |  nova  |
https://swift.xxx.de/v1/AUTH_%(tenant_id)s  |
https://10.0.0.103/v1/AUTH_%(tenant_id)s |         
https://10.0.0.103/v1          | a7a2021c32354e6caff8bef14e1c5eb3 |


I've upgraded last week my hole stack to grizzly and all have worked,
yesterday i've upgraded glance and swift and now i can't start any
instance :) because no images was found.
I tried to upload a new image and download it after the process finished
and it works normally.



Do anyone have same trouble ? If you need more informations please ask :)


Greetings and thanks
Heiko







More information about the Openstack mailing list