nova image-list returns HTTP 500
I've just setup a new OpenStack Kilo install and have installed Keystone, Glance and Nova. I'm following the Kilo instructions for the yum trunk, and am at the point of verifying the Nova install.
When I run 'nova image-list' I get a 'ERROR (ClientException): The server has either erred or is incapable of performing the requested operation. (HTTP 500)'
I can successfully get an output from 'glance image-list'.
This is the log output from the nova-api.log:
2015-05-13 12:31:05.942 25382 INFO nova.api.openstack [req-9208d45f-b83c-4760-91ef-1e1acdfcbac5 f4e3ed4cc560466abe340b04dcb989b1 15888f03c6c94a3092accd3f3d0d1775 - - -] http://cont1:8774/v2/15888f03c6c94a3092accd3f3d0d1775/images/detail (http://cont1:8774/v2/15888f03c6c94a30...) returned with HTTP 500 2015-05-13 12:31:05.944 25382 INFO nova.osapi_compute.wsgi.server [req-9208d45f-b83c-4760-91ef-1e1acdfcbac5 f4e3ed4cc560466abe340b04dcb989b1 15888f03c6c94a3092accd3f3d0d1775 - - -] 10.0.0.11 "GET /v2/15888f03c6c94a3092accd3f3d0d1775/images/detail HTTP/1.1" status: 500 len: 359 time: 0.2966590 2015-05-13 12:32:39.449 25382 ERROR nova.api.openstack [req-6d072df3-273c-449e-bd04-f7e4b7abefc1 f4e3ed4cc560466abe340b04dcb989b1 15888f03c6c94a3092accd3f3d0d1775 - - -] Caught error: Error finding address for http://cont1:80/v1/images/detail?is_public=none&limit=20 (http://cont1:80/v1/images/detail?is_p...): ('Connection aborted.', error(111, 'ECONNREFUSED')) 2015-05-13 12:32:39.449 25382 TRACE nova.api.openstack Traceback (most recent call last): 2015-05-13 12:32:39.449 25382 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/api/openstack/__init__.py", line 125, in __call__ 2015-05-13 12:32:39.449 25382 TRACE nova.api.openstack return req.get_response(self.application) 2015-05-13 12:32:39.449 25382 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/request.py", line 1296, in send 2015-05-13 12:32:39.449 25382 TRACE nova.api.openstack application, catch_exc_info=False) 2015-05-13 12:32:39.449 25382 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/request.py", line 1260, in call_application 2015-05-13 12:32:39.449 25382 TRACE nova.api.openstack app_iter = application(self.environ, start_response) 2015-05-13 12:32:39.449 25382 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/dec.py", line 144, in __call__ 2015-05-13 12:32:39.449 25382 TRACE nova.api.openstack return resp(environ, start_response) 2015-05-13 12:32:39.449 25382 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token/__init__.py", line 634, in __call__ 2015-05-13 12:32:39.449 25382 TRACE nova.api.openstack return self._call_app(env, start_response) 2015-05-13 12:32:39.449 25382 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token/__init__.py", line 554, in _call_app 2015-05-13 12:32:39.449 25382 TRACE nova.api.openstack return self._app(env, _fake_start_response) 2015-05-13 12:32:39.449 25382 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/dec.py", line 144, in __call__ 2015-05-13 12:32:39.449 25382 TRACE nova.api.openstack return resp(environ, start_response) 2015-05-13 12:32:39.449 25382 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/dec.py", line 144, in __call__ 2015-05-13 12:32:39.449 25382 TRACE nova.api.openstack return resp(environ, start_response ...
I have the same issue. Did you end up figuring this out?
Hi,
I am having a similar issue, but I am not getting the "Connection Refused" error. Should I post a new question?