← Back to team overview

openstack team mailing list archive

Re: Unable to upload image to Glance [Folsom].

 

On Feb 1, 2013 2:31 AM, "Trinath Somanchi" <trinath.somanchi@xxxxxxxxx>
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@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@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@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>

References