Ask Your Question
0

glance-index-error

asked 2013-03-07 09:06:38 -0500

yangchyeah gravatar image

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!

edit retag flag offensive close merge delete

5 answers

Sort by ยป oldest newest most voted
0

answered 2013-03-11 21:53:35 -0500

zzs gravatar image

Are you sure the mysql database is clean before re-installation, and can you try to reinstall glance client, then please try to run glance --debug index and please paste the glance-api log.

edit flag offensive delete link more
0

answered 2013-03-13 04:01:34 -0500

zzs gravatar image

That's great, let us know if you have any question.

edit flag offensive delete link more
0

answered 2013-03-09 00:04:06 -0500

zzs gravatar image

Are you using Ubuntu 12.04 or 12.10, how did you install the glance. Can you try to re-install the glance again.

edit flag offensive delete link more
0

answered 2013-03-09 03:00:44 -0500

yangchyeah gravatar image

Thanks for reply. i use ubuntu12.04. and i re-install the keystone and glance for many times, but the problem still exist. i install from the offical website : http://docs.openstack.org/folsom/basic-install/content/basic-install_controller.html#basic-install_controller-glance (http://docs.openstack.org/folsom/basi...) Additional, i add some in the glance-api-paste.conf and glance-registry-paste.conf: [paste_deploy] flavor = keystone. does it have any problem? thanks.. At 2013-03-09 08:05:54,"Jason Zhang" question223643@answers.launchpad.net wrote:

Your question #223643 on Glance changed: https://answers.launchpad.net/glance/+question/223643 (https://answers.launchpad.net/glance/...)

Status: Open => Answered

Jason Zhang proposed the following answer: Are you using Ubuntu 12.04 or 12.10, how did you install the glance. Can you try to re-install the glance again.


If this answers your question, please go to the following page to let us know that it is solved: https://answers.launchpad.net/glance/+question/223643/+confirm?answer_id=0 (https://answers.launchpad.net/glance/...)

If you still need help, you can reply to this email or go to the following page to enter your feedback: https://answers.launchpad.net/glance/+question/223643 (https://answers.launchpad.net/glance/...)

You received this question notification because you asked the question.

edit flag offensive delete link more
0

answered 2013-03-13 01:57:29 -0500

yangchyeah gravatar image

thanks for reply. At last,i re-install and it success. thanks, yang.

At 2013-03-12 05:55:56,"Jason Zhang" question223643@answers.launchpad.net wrote:

Your question #223643 on Glance changed: https://answers.launchpad.net/glance/+question/223643 (https://answers.launchpad.net/glance/...)

Status: Open => Needs information

Jason Zhang requested more information: Are you sure the mysql database is clean before re-installation, and can you try to reinstall glance client, then please try to run glance --debug index and please paste the glance-api log.


To answer this request for more information, you can either reply to this email or enter your reply at the following page: https://answers.launchpad.net/glance/+question/223643 (https://answers.launchpad.net/glance/...)

You received this question notification because you asked the question.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-03-07 09:06:38 -0500

Seen: 47 times

Last updated: Mar 13 '13