[Openstack] Glance Image upload error

Syed Armani syed.armani at hastexo.com
Mon Jan 28 12:04:04 UTC 2013


On 28-01-2013 16:26, Trinath Somanchi wrote:
> Hi Stackers-
> 
> I have newly installed openstack keystone, glance in my Ubuntu 12.04 system
> 
> When I add image to glance, I get this error.
> 
> root at NewFolsomController:~# glance add  name=testImage is-public=true
> container_format=bare disk_format=qcow2 < test.img
> The progressbar doesn't show-up because the headers[x-meta-size] is zero
> or missing
> Uploading image 'testImage'
> Failed to add image. Got error:
> The request returned a 302 Multiple Choices. This generally means that
> you have not included a version indicator in a request URI.
> 
> The body of response returned:
> {"versions": [{"status": "CURRENT", "id": "v1.1", "links": [{"href":
> "http://10.232.90.195:9292/v1/", "rel": "self"}]}, {"status":
> "SUPPORTED", "id": "v1.0", "links": [{"href":
> "http://10.232.90.195:9292/v1/", "rel": "self"}]}]}
> Note: Your image metadata may still be in the registry, but the image's
> status will likely be 'killed'.
> 
> Kindly help me resolve the issue.
> 
> 
> -- 
> Regards,
> ----------------------------------------------
> Trinath Somanchi,
> +91 9866 235 130
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
> 


Hi,

The image that you are uploading, Is it fedora or ubuntu image ?

One thing you can try is setting notifier_strategy = noop in
/etc/glance/glance-api.conf

Cheers,
Syed




More information about the Openstack mailing list