[root@chavloli001 ~]# nova image-list
ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'glanceclient.exc.HTTPInternalServerError'> (HTTP 500) (Request-ID: req-72954e6b-8014-4706-9b9a-d3ad549c9354)
[root@chavloli001 ~]# openstack endpoint list
+----------------------------------+-----------+--------------+--------------+---------+-----------+------------------------------------------+
| ID | Region | Service Name | Service Type | Enabled | Interface | URL |
+----------------------------------+-----------+--------------+--------------+---------+-----------+------------------------------------------+
| 053bd155c98c4a3ab993b0be67a9d36a | RegionOne | nova | compute | True | admin | http://chavloli001:8774/v2/%(tenant_id)s |
| 0d186f3a895a4eee9823b4103f724b27 | RegionOne | glance | image | True | admin | http://chavloli001:9292 |
| 1e4f174327654bde9e883a66d3287c65 | RegionOne | nova | compute | True | internal | http://chavloli001:8774/v2/%(tenant_id)s |
| 2f8fcc2efc59476493d08ad5998e600a | RegionOne | glance | image | True | public | http://chavloli001:9292 |
| 6ad67724747a4842b8c3c9c4439cc680 | RegionOne | keystone | identity | True | admin | http://chavloli001:35357/v2.0 |
| 7895884a79a7427d8445246603748c72 | RegionOne | glance | image | True | internal | http://chavloli001:9292 |
| ad1a9b4e7c324081a5b100809fe3db94 | RegionOne | keystone | identity | True | public | http://chavloli001:5000/v2.0 |
| c192b877a2484b509c020b9482bafe80 | RegionOne | nova | compute | True | public | http://chavloli001:8774/v2/%(tenant_id)s |
| e43f20bc0a4648aba6b0bc1ce6d40c53 | RegionOne | keystone | identity | True | internal | http://chavloli001:5000/v2.0 |
+----------------------------------+-----------+--------------+--------------+---------+-----------+------------------------------------------+
Following the documentation and nova image-list will not work. I'm guessing you need to switch to keystone API v3 in order to get nova image-list working:
https://ask.openstack.org/en/question/86111/glance-image-list-is-fine-but-nova-image-list-error/
Nicolas
-----------------------------------
Release: 0.1 on 2016-03-10 18:15
SHA: 6e63f5a384c4ee887e349bd3daf81080dd1fcb46
Source: http://git.openstack.org/cgit/openstack/openstack-manuals/tree/doc/install-guide/source/nova-verify.rst
URL: http://docs.openstack.org/liberty/install-guide-rdo/nova-verify.html
output of nova-api logs:
2016-03-11 11:14:36.473 19261 INFO nova.osapi_ compute. wsgi.server [req-888b9029- 31b6-4273- 9321-d7e322e5f0 9e bf168041f9c5446 b81bca4d737f547 e7 a86464f29aac4ec 5848fb481e6362f cb - - -] 10.123.35.173 "GET /v2/ HTTP/1.1" status: 200 len: 573 time: 0.0317960 openstack. extensions [req-8163730d- c0c4-4dec- 9d55-e69442e088 8e bf168041f9c5446 b81bca4d737f547 e7 a86464f29aac4ec 5848fb481e6362f cb - - -] Unexpected exception in API method openstack. extensions Traceback (most recent call last): openstack. extensions File "/usr/lib/ python2. 7/site- packages/ nova/api/ openstack/ extensions. py", line 478, in wrapped openstack. extensions return f(*args, **kwargs) openstack. extensions File "/usr/lib/ python2. 7/site- packages/ nova/api/ openstack/ compute/ images. py", line 145, in detail openstack. extensions **page_params) openstack. extensions File "/usr/lib/ python2. 7/site- packages/ nova/image/ api.py" , line 68, in get_all openstack. extensions return session. detail( context, **kwargs) openstack. extensions File "/usr/lib/ python2. 7/site- packages/ nova/image/ glance. py", line 284, in detail openstack. extensions for image in images: openstack. extensions File "/usr/lib/ python2. 7/site- packages/ glanceclient/ v1/images. py", line 254, in list openstack. extensions for image in paginate(params, return_request_id): openstack. extensions File "/usr/lib/ python2. 7/site- packages/ glanceclient/ v1/images. py", line 238, in paginate openstack. extensions images, resp = self._list(url, "images") openstack. extensions File "/usr/lib/ python2. 7/site- packages/ glanceclient/ v1/images. py", line 63, in _list openstack. extensions resp, body = self.client. get(url) openstack. extensions File "/usr/lib/ python2. 7/site- packages/ glanceclient/ common/ http.py" , line 280, in get openstack. extensions return self._request( 'GET', url, **kwargs) openstack. extensions File "/usr/lib/ python2. 7/site- packages/ glanceclient/ common/ http.py" , line 272, in _request openstack. extensions resp, body_iter = self._handle_ response( resp) openstack. extensions File "/usr/lib/ python2. 7/site- packages/ glanceclient/ common/ http.py" , line 93, in _handle_response openstack. extensions raise exc.from_respo...
2016-03-11 11:14:36.680 19261 ERROR nova.api.
2016-03-11 11:14:36.680 19261 ERROR nova.api.
2016-03-11 11:14:36.680 19261 ERROR nova.api.
2016-03-11 11:14:36.680 19261 ERROR nova.api.
2016-03-11 11:14:36.680 19261 ERROR nova.api.
2016-03-11 11:14:36.680 19261 ERROR nova.api.
2016-03-11 11:14:36.680 19261 ERROR nova.api.
2016-03-11 11:14:36.680 19261 ERROR nova.api.
2016-03-11 11:14:36.680 19261 ERROR nova.api.
2016-03-11 11:14:36.680 19261 ERROR nova.api.
2016-03-11 11:14:36.680 19261 ERROR nova.api.
2016-03-11 11:14:36.680 19261 ERROR nova.api.
2016-03-11 11:14:36.680 19261 ERROR nova.api.
2016-03-11 11:14:36.680 19261 ERROR nova.api.
2016-03-11 11:14:36.680 19261 ERROR nova.api.
2016-03-11 11:14:36.680 19261 ERROR nova.api.
2016-03-11 11:14:36.680 19261 ERROR nova.api.
2016-03-11 11:14:36.680 19261 ERROR nova.api.
2016-03-11 11:14:36.680 19261 ERROR nova.api.
2016-03-11 11:14:36.680 19261 ERROR nova.api.
2016-03-11 11:14:36.680 19261 ERROR nova.api.
2016-03-11 11:14:36.680 19261 ERROR nova.api.