← Back to team overview

openstack team mailing list archive

Re: [Glance] 404 after upgrading to grizzly

 

All right Guys,


command back. Glance wasn't apparently the "bad guy" in this case. I've
check swift and all stored files and I found that the image files are
not available. I think any goes wrong with the upgrade of swift but all
other stored files of customers are present .... It's totaly crazy :)

I need only upload the images again and take snapshots ....

But it's very strange that i've lost these images and glance means that
all are present.


However Greetings
Heiko



On 16.04.2013 10:39, Heiko Krämer wrote:
> 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@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@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
>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>



Follow ups

References