Thanks a lot Andrea. The endpoint of glance is configured as v2 and glance is expecting as v1. I changed it and the image got uploaded.
Thanks a lot for the help. - Trinath On Fri, Feb 1, 2013 at 1:47 PM, Frittoli, Andrea (Cloud Services) < fritt...@hp.com> wrote: > Hi Trinath,**** > > ** ** > > As you said the version indicator may be missing in the request URI. **** > > Using “--debug" will give you some more insight on what’s going on.**** > > ** ** > > I would check your Glance endpoint in keystone.**** > > Or if you have a valid token make the index request using curl.**** > > ** ** > > andrea**** > > ** ** > > *From:* openstack-bounces+andrea.frittoli=hp....@lists.launchpad.net[mailto: > openstack-bounces+andrea.frittoli=hp....@lists.launchpad.net] *On Behalf > Of *Trinath Somanchi > *Sent:* 01 February 2013 07:31 > *To:* openstack@lists.launchpad.net > *Subject:* [Openstack] Unable to upload image to Glance [Folsom].**** > > ** ** > > 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"}]}, {"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**** > -- Regards, ---------------------------------------------- Trinath Somanchi, +91 9866 235 130
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp