Ask Your Question
2

Error HTTP500 when running nova image-list

asked 2015-06-03 12:36:39 -0500

dbblackdiamond gravatar image

Hi,

I know this has been asked, but I couldn't post all the info I wanted as a reply, so I decided to post a new question. I am running a new install of Kilo on Ubuntu 14.04 LTS. I have been following the step-by-step installation guide provided on http://openstack.org and I have hit a snag. I am running everything on a single machine with a single network card and the IP address of that machine is 192.168.1.100. I have installed, configured and verified the proper operations of Keystone and Glance, meaning I can do the following:

root@openstack01:~# openstack user list
+----------------------------------+--------+
| ID                               | Name   |
+----------------------------------+--------+
| 54322530e93341b4bdc033fc82c7eec0 | demo   |
| 92cfda6c84e542268b67d926d4763c10 | admin  | 
| c879112bf5844e6db28a69f56f5a1251 | glance |
| f3b4043962e746ceb701679ce657f7e1 | nova   |
+----------------------------------+--------+
root@openstack01:~# openstack endpoint list
+----------------------------------+-----------+--------------+--------------+
| ID                               | Region    | Service Name | Service Type |
+----------------------------------+-----------+--------------+--------------+
| 56d21b506a2c4c0ab62cb7e44fbb4ed0 | RegionOne | keystone     | identity     |
| 964bd068b32b4dfba498eb8f915c5c58 | RegionOne | glance       | image        |
| de455c7f45644971bf7e75349b1bd7ed | RegionOne | nova         | compute      |
+----------------------------------+-----------+--------------+--------------+
root@openstack01:~# glance image-list
+--------------------------------------+---------------------+
| ID                                   | Name                |
+--------------------------------------+---------------------+
| d7dee9c8-404f-4548-836c-2cbe7f63919b | CentOS 7 x86_64     |
| 0447b0a9-36c1-47d9-aedd-04eab2983b22 | cirros-0.3.4-x86_64 |
+--------------------------------------+---------------------+
root@openstack01:~# nova endpoints
WARNING: glance has no endpoint in ! Available endpoints for this service:
+-----------+----------------------------------+
| glance    | Value                            |
+-----------+----------------------------------+
| id        | 4b040ee32a9c42f697646136cec24e4d |
| interface | public                           |
| region    | RegionOne                        |
| region_id | RegionOne                        |
| url       | http://192.168.1.100:9292        |
+-----------+----------------------------------+
+-----------+----------------------------------+
| glance    | Value                            |
+-----------+----------------------------------+
| id        | 7158c584bcc6488799e2df043c57441a |
| interface | internal                         |
| region    | RegionOne                        |
| region_id | RegionOne                        |
| url       | http://192.168.1.100:9292        |
+-----------+----------------------------------+
+-----------+----------------------------------+
| glance    | Value                            |
+-----------+----------------------------------+
| id        | 7b76501a10f44823801038da812abf7e |
| interface | admin                            |
| region    | RegionOne                        |
| region_id | RegionOne                        |
| url       | http://192.168.1.100:9292        |
+-----------+----------------------------------+
WARNING: nova has no endpoint in ! Available endpoints for this service:
+-----------+---------------------------------------------------------------+
| nova      | Value                                                         |
+-----------+---------------------------------------------------------------+
| id        | 2c14e44e747e49eeb79c94541eadff91                              |
| interface | public                                                        |
| region    | RegionOne                                                     |
| region_id | RegionOne                                                     |
| url       | http://192.168.1.100:8774/v2/e8a68a367640454e9d4608d77a2cf16b |
+-----------+---------------------------------------------------------------+
+-----------+---------------------------------------------------------------+
| nova      | Value                                                         |
+-----------+---------------------------------------------------------------+
| id        | 93143152026c46939fc9d6363cc6d38a                              |
| interface | admin                                                         |
| region    | RegionOne                                                     |
| region_id | RegionOne                                                     |
| url       | http://192.168.1.100:8774/v2/e8a68a367640454e9d4608d77a2cf16b |
+-----------+---------------------------------------------------------------+
+-----------+---------------------------------------------------------------+
| nova      | Value                                                         |
+-----------+---------------------------------------------------------------+
| id        | a65bdb9eb9c14df0b0c87393d9e102b4                              |
| interface | internal                                                      |
| region    | RegionOne                                                     |
| region_id | RegionOne                                                     |
| url       | http://192.168.1.100:8774/v2/e8a68a367640454e9d4608d77a2cf16b |
+-----------+---------------------------------------------------------------+
WARNING: keystone has no endpoint in ! Available endpoints for this service:
+-----------+----------------------------------+
| keystone  | Value                            |
+-----------+----------------------------------+
| id        | 325dea93a97c4575949d7b9e7312238f |
| interface | internal                         |
| region    | RegionOne                        |
| region_id | RegionOne                        |
| url       | http://192.168.1.100:5000/v2.0   |
+-----------+----------------------------------+
+-----------+----------------------------------+
| keystone  | Value                            |
+-----------+----------------------------------+
| id        | af4fc25b4bf049c7bc943444815182c0 |
| interface | public                           |
| region    | RegionOne                        |
| region_id | RegionOne                        |
| url       | http://192.168.1.100:5000/v2.0   |
+-----------+----------------------------------+
+-----------+----------------------------------+
| keystone  | Value                            |
+-----------+----------------------------------+
| id        | f61fb8a6c5914f8b9ce5dc783bfb8252 |
| interface | admin                            |
| region    | RegionOne                        |
| region_id | RegionOne                        |
| url       | http://192.168.1.100:35357/v2.0  |
+-----------+----------------------------------+
root@openstack01:~# nova service-list
+----+------------------+-------------+----------+---------+-------+----------------------------+-----------------+
| Id | Binary           | Host        | Zone     | Status  | State | Updated_at                 | Disabled Reason |
+----+------------------+-------------+----------+---------+-------+----------------------------+-----------------+
| 1  | nova-cert        | openstack01 | internal | enabled | up    | 2015-06-03T17:11:39.000000 | -               |
| 2  | nova-consoleauth | openstack01 | internal | enabled | up    | 2015-06-03T17:11:39.000000 | -               |
| 3  | nova-scheduler   | openstack01 | internal | enabled | up    | 2015-06-03T17:11:40.000000 | -               |
| 4  | nova-conductor   | openstack01 | internal | enabled | up    | 2015-06-03T17:11:40.000000 | -               |
| 6  | nova-compute     | openstack01 | nova     | enabled | up    | 2015-06-03T17:11:41.000000 | -               |
+----+------------------+-------------+----------+---------+-------+----------------------------+-----------------+

But then, when I do this, it fails:

root@openstack01:~# nova --debug image-list
DEBUG (session:195) REQ: curl -g -i -X GET http://192.168.1.100:35357/v3 -H "Accept: application/json" -H "User-Agent: python-keystoneclient"
INFO (connectionpool:188) Starting new HTTP connection (1): 192.168.1.100
DEBUG (connectionpool:362) "GET /v3 HTTP/1.1" 200 253
DEBUG (session:223) RESP: [200] content-length: 253 vary: X-Auth-Token keep-alive: timeout=5, max=100 server: Apache/2.4.7 (Ubuntu) connection ...
(more)
edit retag flag offensive close merge delete

5 answers

Sort by ยป oldest newest most voted
2

answered 2015-06-19 02:21:34 -0500

Hi Bertrand,

I had the same issue because i forgot to configure the settings inside the file: /etc/glance/glance-registry.conf

So please check if you have the correct configuration inside the file, as here:

http://docs.openstack.org/kilo/instal...

Please let me know.

Cheers.

edit flag offensive delete link more
1

answered 2015-07-09 08:20:54 -0500

MarkChu gravatar image

I'm also seeing these errors on a nova endpoints command. Anyone know if these are benign? WARNING: ** has no endpoint in ! Available endpoints for this service:

edit flag offensive delete link more

Comments

Yes, I think those warnings are benign, if they are annoying you: export OS_REGION_NAME=regionOne or use the CLI parameter

vincent-legoll gravatar imagevincent-legoll ( 2015-07-09 08:35:05 -0500 )edit
0

answered 2015-06-19 11:02:19 -0500

Kui.Li gravatar image

Hi, did you resolve the issue? If yes, can you tell me how you configured the services?

edit flag offensive delete link more
0

answered 2015-07-09 02:41:54 -0500

For the WARNING: keystone has no endpoint in ! Available endpoints for this service

Have a look at my answer here

Basically you need to pass region name either via CLI parameter or via an environment variable

But that won't fix your other problem, though...

edit flag offensive delete link more
0

answered 2015-06-30 07:18:30 -0500

Greetings, adventurers.

As Marius wrote, it seems like glance-registry.conf is not properly configured. Follow his link. I missed some parts on that file too a week ago. After checking config file it worked like a charm.

Cheers.

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

3 followers

Stats

Asked: 2015-06-03 12:36:39 -0500

Seen: 2,051 times

Last updated: Jul 09 '15