Revision history [back]

click to hide/show revision 1
initial version

glance-index-error

hi,all. i come to openstack recently. and when i install glance,i come across a problem,which bored me few days.

when i finish install glance.after input "glance index",it shows error:

root@control:/home/os# 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://7.7.7.7:9292/v1/", "rel": "self"}]}, {"status": "SUPPORTED", "id": "v1.0", "links": [{"href": "http://7.7.7.7:9292/v1/", "rel": "self"}]}]}

root@control:/home/os# export | grep "OS" declare -x OS_AUTH_URL="http://localhost:5000/v2.0/" declare -x OS_PASSWORD="admin123" declare -x OS_TENANT_NAME="admin" declare -x OS_USERNAME="admin"

can anyone help? thanks!