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