Comment 8 for bug 747665

Revision history for this message
Kevin Jackson (kevin-linuxservices) wrote :

This is still seems to be a bug in play - wasn't sure if to raise a new one, or its very close to the same issue I've got.

Updating an image in glance blows away any meta-data.

ii glance 2011.3-0ubuntu4.1 OpenStack Image Registry and Delivery Service - Daemons
ii python-glance 2011.3-0ubuntu4.1 OpenStack Image Registry and Delivery Service - Python library

I've uploaded an image with cloud-publish-tarball...
euca-describe-images brings back the normal details, manifest xml, arch, etc.

I then went to update an image from private to public:

$ glance show 1

URI: http://0.0.0.0/images/1
Id: 1
Public: No
Name: None
Status: active
Size: 4779168
Disk format: aki
Container format: aki
Minimum Ram Required (MB): 0
Minimum Disk Required (GB): 0
Property 'image_location': images/oneiric-server-cloudimg-i386-vmlinuz-virtual.manifest.xml
Property 'image_state': available
Property 'project_id': demo
Property 'architecture': i386

$ glance update 1 is_public=True

$ glance show 1

URI: http://0.0.0.0/images/1
Id: 1
Public: No
Name: None
Status: active
Size: 4779168
Disk format: aki
Container format: aki
Minimum Ram Required (MB): 0
Minimum Disk Required (GB): 0

$ euca-describe-images now shows (e.g.)

IMAGE aki-00000001 available public kernel instance-store