[Bug 932991] [NEW] nova-api reporting missing images after upgrade
Andrew Glen-Young
932991 at bugs.launchpad.net
Wed Feb 15 19:02:15 UTC 2012
Public bug reported:
After upgrading Openstack from the packaged version in Oneiric to the
packaged version in Precise I have found that some images are being
reported as missing, but not all.
I am using nova-api, glance and swift with deprecated_auth.
Please let me know if you need any further information?
Software versions:
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu precise (development branch)"
$ dpkg-query --show nova-*
nova-api 2012.1~e4~20120210.12574-0ubuntu1
nova-common 2012.1~e4~20120210.12574-0ubuntu1
nova-doc 2012.1~e4~20120210.12574-0ubuntu1
nova-network 2012.1~e4~20120210.12574-0ubuntu1
nova-objectstore 2012.1~e4~20120210.12574-0ubuntu1
nova-scheduler 2012.1~e4~20120210.12574-0ubuntu1
Swift reports the image exists:
$ swift -A https://localhost/auth/v1.0 -U glance:glance -K $KEY stat glance $((0xd1))
Account: AUTH_glance
Container: glance
Object: 209
Content Type: text/plain
Content Length: 13
Last Modified: Wed, 12 Oct 2011 19:41:42 GMT
ETag: b9886512afafc0d1598bc7874bccf4b1
Accept-Ranges: bytes
Vary: Accept-Encoding
glance db shows that it exists:
sqlite> select * from images where location like '%/209';
c9d4eed5-2ecc-4fa5-9ae1-0da4a0f0c066||1476395008|active|1|swift+https://glance:glance:XXXXXXXXXX@127.0.0.1/auth/v1.0//glance/209|2011-10-12 19:41:25.082058|2011-10-12 19:49:06.521850||0|ami|ami|b9886512afafc0d1598bc7874bccf4b1||0|0|0
glance client:
$ glance show c9d4eed5-2ecc-4fa5-9ae1-0da4a0f0c066
URI: http://0.0.0.0:9292/v1/images/c9d4eed5-2ecc-4fa5-9ae1-0da4a0f0c066
Id: c9d4eed5-2ecc-4fa5-9ae1-0da4a0f0c066
Public: Yes
Protected: No
Name: None
Status: active
Size: 1476395008
Disk format: ami
Container format: ami
Minimum Ram Required (MB): 0
Minimum Disk Required (GB): 0
Property 'image_location': xxxxxx-cloud-images/ubuntu-lucid-10.04-amd64-server-20110930.man
Property 'image_state': available
Property 'kernel_id': 158
Property 'min_ram': 0
Property 'ramdisk_id': 159
Property 'owner': None
Property 'architecture': x86_64
Property 'min_disk': 0
Property 'project_id': xxxxxx_project
euca2ools reports the image doesn't exist:
$ euca-describe-images ami-000000d1
ImageNotFound: Image ami-000000d1 could not be found.
** Affects: nova (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/932991
Title:
nova-api reporting missing images after upgrade
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nova/+bug/932991/+subscriptions
More information about the Ubuntu-server-bugs
mailing list