Ask Your Question
1

cannot issue "nova-image list" or "glance image-list" after machine reload

asked 2014-02-28 09:52:31 -0500

FlorinS gravatar image

updated 2014-06-25 17:41:09 -0500

smaffulli gravatar image

I am installing an openstack using the Installation Guide for Ubuntu.

I have configured keystone, nova, glance, neutron services. However, after reloading the compute node (I have 1 controller, 1 compute and 1 network node) I am seeing a HTTP error when issuing "nova image-list", "glance image-list".

root@vm2:/# glance image-list
Request returned failure status.
HTTPInternalServerError (HTTP 500)

root@vm2:/# nova image-list
ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-746a5f90-f811-4339-b432-70bc42dfcc43)

I do not know how to solve this issue. Please help.

edit retag flag offensive close merge delete

Comments

Can you check whether services are up and running ? Can you try running few commands with keystone and glance ? Can share the logs in /var/logs/glance/* I can look at them and help you. If you are online on gmail, do send chat request. I can quickly help to you to resolve the issue.

dheeru gravatar imagedheeru ( 2014-02-28 10:49:12 -0500 )edit

Hello, The keystone commands are working fine (tried list/create). Glance list command still failing with error as above. Also all services are running fine. I am online on gmail: woors82

FlorinS gravatar imageFlorinS ( 2014-03-03 03:32:29 -0500 )edit

I'm stuck at step 12 here: http://docs.openstack.org/icehouse/install-guide/install/apt/content/nova-controller.html (http://docs.openstack.org/icehouse/in...) with the same error for:

nova image-list

glance image-list

keystone user-list

though the last 2 worked fine before installing compute controller. Seems that something in

jame gravatar imagejame ( 2014-06-06 18:25:22 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
2

answered 2014-06-06 21:07:14 -0500

jame gravatar image

updated 2014-06-25 17:40:14 -0500

smaffulli gravatar image

At least for me this happened because of a bad endpoint create in step 10 on http://docs.openstack.org/icehouse/install-guide/install/apt/content/nova-controller.html. I was cutting and pasting from the instruction guide and missed the final s.

keystone endpoint-create \

--service-id=$(keystone service-list | awk '/ compute / {print $2}') \

--publicurl=http://controller:8774/v2/%(tenant_id)s \

--internalurl=http://controller:8774/v2/%(tenant_id)s \

--adminurl=http://controller:8774/v2/%(tenant_id) <---missing s

This creates a malformed endpoint which basically shuts down all communications with Keystone. See bug 1230279. Fixing it is kind of hard. I ended up deleting the endpoints using MYSQL delete. See instructions. Then I reentered the command above not malformed and restarted keystone.

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: 2014-02-28 09:52:31 -0500

Seen: 3,084 times

Last updated: Jun 25 '14