[Openstack] Unable to upload image to Glance [Folsom].

Istimsak Abdulbasir saqman2060 at gmail.com
Fri Feb 1 09:24:46 UTC 2013


On Feb 1, 2013 2:31 AM, "Trinath Somanchi" <trinath.somanchi at gmail.com>
wrote:
>
> Hi Stackers-
>
> I'm getting this error when I upload Ubuntu 12.04 Server .img file into
Glance and also index the same
>
> root at NewFolsomController:~# glance index
> Failed to show index. 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"}]},

Is this the link of the image you wanted to up load?

{"status": "SUPPORTED", "id": "v1.0", "links": [{"href": "
http://10.232.90.195:9292/v1/", "rel": "self"}]}]}
>
>
> root at NewFolsomController:~# glance add  name=testImage is-public=true
container_format=bare disk_format=qcow2 < ubuntu_webserver.img
>
===============================================================================================================================================[
99%]  26.4M/s, ETA  0h  0m  0sFailed 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"}]}]}
>
>
> Can any one guide me on troubleshooting the issue.
>
> Also, for the same error, I see no errors in the glance-* logs and
keystone-* logs.
>
> --
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130201/41f0c045/attachment.html>


More information about the Openstack mailing list