Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenStack Kilo nova image-list HTTP 500

Hi,

I have seen there have been quite a few questions with regards to this error / fault, however, none of them seem to help me in any way.

I'm installing OpenStack Kilo on Ubuntu 14.04.3 LTS.

When running "nova image-list" outputs the following:

nova image-list
ERROR (ClientException): The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-af55cd26-ff4c-473b-a0c0-77170c2f7672)

Where as "glance image-list" outputs as you'd expect.

I have set debug and verbose to true on glance-api.conf, glance-registry.conf and nova.conf. However, I am unable to find anything myself.

nova-api.log:

2015-08-21 13:44:07.242 3803 DEBUG keystoneclient.session [-] REQ: curl -g -i -X GET http://controller1.local:35357/v3/auth/tokens -H "X-Subject-Token: {SHA1}bd6100882575edf494364f279bdc560a17f8bf17" -H "User-Agent: python-keystoneclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}a7426a3961fbe56825a3eb0591fbd36898cd55a0" _http_log_request /usr/lib/python2.7/dist-packages/keystoneclient/session.py:195
2015-08-21 13:44:07.279 3803 DEBUG keystoneclient.session [-] RESP: [200] content-length: 2320 x-subject-token: {SHA1}bd6100882575edf494364f279bdc560a17f8bf17 vary: X-Auth-Token keep-alive: timeout=5, max=100 server: Apache/2.4.7 (Ubuntu) connection: Keep-Alive date: Fri, 21 Aug 2015 13:44:07 GMT x-openstack-request-id: req-24ba7708-65c3-458d-8732-5d83433194f1 content-type: application/json x-distribution: Ubuntu 
RESP BODY: {"token": {"methods": ["password"], "roles": [{"id": "0f9fff04a78f421b86b081e2e9ab7cc3", "name": "admin"}], "expires_at": "2015-08-21T14:44:07.232196Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "1722f24100534db4a8965603789e45aa", "name": "admin"}, "catalog": "<removed>", "extras": {}, "user": {"domain": {"id": "default", "name": "Default"}, "id": "b57b02f6e7f34fc083f650b4bc7c0535", "name": "admin"}, "audit_ids": ["3vga4k0VT16P2dzFHd9O6A"], "issued_at": "2015-08-21T13:44:07.232244Z"}}
 _http_log_response /usr/lib/python2.7/dist-packages/keystoneclient/session.py:223
2015-08-21 13:44:07.281 3803 DEBUG nova.api.openstack.wsgi [req-af55cd26-ff4c-473b-a0c0-77170c2f7672 b57b02f6e7f34fc083f650b4bc7c0535 1722f24100534db4a8965603789e45aa - - -] Calling method '<bound method Controller.detail of <nova.api.openstack.compute.images.Controller object at 0x7f2b61b0b410>>' _process_stack /usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py:783
2015-08-21 13:44:07.434 3803 ERROR nova.api.openstack [req-af55cd26-ff4c-473b-a0c0-77170c2f7672 b57b02f6e7f34fc083f650b4bc7c0535 1722f24100534db4a8965603789e45aa - - -] Caught error: HTTPInternalServerError (HTTP 500)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack Traceback (most recent call last):
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/__init__.py", line 125, in __call__
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     return req.get_response(self.application)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1320, in send
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     application, catch_exc_info=False)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1284, in call_application
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     app_iter = application(self.environ, start_response)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     return resp(environ, start_response)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py", line 634, in __call__
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     return self._call_app(env, start_response)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py", line 554, in _call_app
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     return self._app(env, _fake_start_response)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     return resp(environ, start_response)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     return resp(environ, start_response)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/routes/middleware.py", line 131, in __call__
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     response = self.app(environ, start_response)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     return resp(environ, start_response)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     resp = self.call_func(req, *args, **self.kwargs)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     return self.func(req, *args, **kwargs)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 756, in __call__
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     content_type, body, accept)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 821, in _process_stack
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     action_result = self.dispatch(meth, request, action_args)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 911, in dispatch
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     return method(req=request, **action_args)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/images.py", line 144, in detail
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     **page_params)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/image/api.py", line 68, in get_all
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     return session.detail(context, **kwargs)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 274, in detail
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     for image in images:
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/glanceclient/v1/images.py", line 196, in paginate
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     images, resp = self._list(url, "images")
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/glanceclient/v1/images.py", line 62, in _list
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     resp, body = self.client.get(url)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/glanceclient/common/http.py", line 259, in get
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     return self._request('GET', url, **kwargs)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/glanceclient/common/http.py", line 227, in _request
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     raise exc.from_response(resp, resp.content)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack HTTPInternalServerError: HTTPInternalServerError (HTTP 500)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack 
2015-08-21 13:44:07.436 3803 INFO nova.api.openstack [req-af55cd26-ff4c-473b-a0c0-77170c2f7672 b57b02f6e7f34fc083f650b4bc7c0535 1722f24100534db4a8965603789e45aa - - -] http://controller1.local:8774/v2/1722f24100534db4a8965603789e45aa/images/detail returned with HTTP 500
2015-08-21 13:44:07.437 3803 DEBUG nova.api.openstack.wsgi [req-af55cd26-ff4c-473b-a0c0-77170c2f7672 b57b02f6e7f34fc083f650b4bc7c0535 1722f24100534db4a8965603789e45aa - - -] Returning 500 to user: The server has either erred or is incapable of performing the requested operation. __call__ /usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py:1166
2015-08-21 13:44:07.437 3803 INFO nova.osapi_compute.wsgi.server [req-af55cd26-ff4c-473b-a0c0-77170c2f7672 b57b02f6e7f34fc083f650b4bc7c0535 1722f24100534db4a8965603789e45aa - - -] 192.168.2.100 "GET /v2/1722f24100534db4a8965603789e45aa/images/detail HTTP/1.1" status: 500 len: 359 time: 0.1965270

glance-api.log

2015-08-21 13:44:07.286 3186 DEBUG glance.api.middleware.version_negotiation [req-f1596f49-9a3b-47ca-aeec-8e2b69717975 b57b02f6e7f34fc083f650b4bc7c0535 1722f24100534db4a8965603789e45aa - - -] Determining version of request: GET /v1/images/detail Accept: */* process_request /usr/lib/python2.7/dist-packages/glance/api/middleware/version_negotiation.py:47
2015-08-21 13:44:07.286 3186 DEBUG glance.api.middleware.version_negotiation [req-f1596f49-9a3b-47ca-aeec-8e2b69717975 b57b02f6e7f34fc083f650b4bc7c0535 1722f24100534db4a8965603789e45aa - - -] Using url versioning process_request /usr/lib/python2.7/dist-packages/glance/api/middleware/version_negotiation.py:60
2015-08-21 13:44:07.287 3186 DEBUG glance.api.middleware.version_negotiation [req-f1596f49-9a3b-47ca-aeec-8e2b69717975 b57b02f6e7f34fc083f650b4bc7c0535 1722f24100534db4a8965603789e45aa - - -] Matched version: v1 process_request /usr/lib/python2.7/dist-packages/glance/api/middleware/version_negotiation.py:72
2015-08-21 13:44:07.287 3186 DEBUG glance.api.middleware.version_negotiation [req-f1596f49-9a3b-47ca-aeec-8e2b69717975 b57b02f6e7f34fc083f650b4bc7c0535 1722f24100534db4a8965603789e45aa - - -] new path /v1/images/detail process_request /usr/lib/python2.7/dist-packages/glance/api/middleware/version_negotiation.py:73
2015-08-21 13:44:07.288 3186 DEBUG keystoneclient.session [req-f1596f49-9a3b-47ca-aeec-8e2b69717975 b57b02f6e7f34fc083f650b4bc7c0535 1722f24100534db4a8965603789e45aa - - -] REQ: curl -g -i -X GET http://controller1.local:35357/v3/auth/tokens -H "X-Subject-Token: {SHA1}bd6100882575edf494364f279bdc560a17f8bf17" -H "User-Agent: python-keystoneclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}05bc2cb971634380380a0da2e9ce64f19d53d1b2" _http_log_request /usr/lib/python2.7/dist-packages/keystoneclient/session.py:195
2015-08-21 13:44:07.315 3186 DEBUG keystoneclient.session [req-f1596f49-9a3b-47ca-aeec-8e2b69717975 b57b02f6e7f34fc083f650b4bc7c0535 1722f24100534db4a8965603789e45aa - - -] RESP: [200] content-length: 2320 x-subject-token: {SHA1}bd6100882575edf494364f279bdc560a17f8bf17 vary: X-Auth-Token keep-alive: timeout=5, max=100 server: Apache/2.4.7 (Ubuntu) connection: Keep-Alive date: Fri, 21 Aug 2015 13:44:07 GMT x-openstack-request-id: req-a469c218-611a-48c9-ad08-cf7aa457b508 content-type: application/json x-distribution: Ubuntu 
RESP BODY: {"token": {"methods": ["password"], "roles": [{"id": "0f9fff04a78f421b86b081e2e9ab7cc3", "name": "admin"}], "expires_at": "2015-08-21T14:44:07.232196Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "1722f24100534db4a8965603789e45aa", "name": "admin"}, "catalog": "<removed>", "extras": {}, "user": {"domain": {"id": "default", "name": "Default"}, "id": "b57b02f6e7f34fc083f650b4bc7c0535", "name": "admin"}, "audit_ids": ["3vga4k0VT16P2dzFHd9O6A"], "issued_at": "2015-08-21T13:44:07.232244Z"}}
 _http_log_response /usr/lib/python2.7/dist-packages/keystoneclient/session.py:223
2015-08-21 13:44:07.317 3186 DEBUG oslo_policy.policy [req-b118da92-3d9b-4516-be74-d6953223658c b57b02f6e7f34fc083f650b4bc7c0535 1722f24100534db4a8965603789e45aa - - -] Reloaded policy file: /etc/glance/policy.json _load_policy_file /usr/lib/python2.7/dist-packages/oslo_policy/policy.py:403
2015-08-21 13:44:07.318 3186 DEBUG glance.common.client [req-b118da92-3d9b-4516-be74-d6953223658c b57b02f6e7f34fc083f650b4bc7c0535 1722f24100534db4a8965603789e45aa - - -] Constructed URL: http://controller1.local:9191/images/detail?is_public=none&limit=20 _construct_url /usr/lib/python2.7/dist-packages/glance/common/client.py:401
2015-08-21 13:44:07.427 3186 DEBUG glance.common.client [req-b118da92-3d9b-4516-be74-d6953223658c b57b02f6e7f34fc083f650b4bc7c0535 1722f24100534db4a8965603789e45aa - - -] Constructed URL: http://controller1.local:9191/images/detail?is_public=none&limit=20 _construct_url /usr/lib/python2.7/dist-packages/glance/common/client.py:401
2015-08-21 13:44:07.430 3186 ERROR glance.registry.client.v1.client [req-b118da92-3d9b-4516-be74-d6953223658c b57b02f6e7f34fc083f650b4bc7c0535 1722f24100534db4a8965603789e45aa - - -] Registry client request GET /images/detail raised NotAuthenticated
2015-08-21 13:44:07.430 3186 TRACE glance.registry.client.v1.client Traceback (most recent call last):
2015-08-21 13:44:07.430 3186 TRACE glance.registry.client.v1.client   File "/usr/lib/python2.7/dist-packages/glance/registry/client/v1/client.py", line 117, in do_request
2015-08-21 13:44:07.430 3186 TRACE glance.registry.client.v1.client     **kwargs)
2015-08-21 13:44:07.430 3186 TRACE glance.registry.client.v1.client   File "/usr/lib/python2.7/dist-packages/glance/common/client.py", line 74, in wrapped
2015-08-21 13:44:07.430 3186 TRACE glance.registry.client.v1.client     return func(self, *args, **kwargs)
2015-08-21 13:44:07.430 3186 TRACE glance.registry.client.v1.client   File "/usr/lib/python2.7/dist-packages/glance/common/client.py", line 376, in do_request
2015-08-21 13:44:07.430 3186 TRACE glance.registry.client.v1.client     headers=copy.deepcopy(headers))
2015-08-21 13:44:07.430 3186 TRACE glance.registry.client.v1.client   File "/usr/lib/python2.7/dist-packages/glance/common/client.py", line 88, in wrapped
2015-08-21 13:44:07.430 3186 TRACE glance.registry.client.v1.client     return func(self, method, url, body, headers)
2015-08-21 13:44:07.430 3186 TRACE glance.registry.client.v1.client   File "/usr/lib/python2.7/dist-packages/glance/common/client.py", line 519, in _do_request
2015-08-21 13:44:07.430 3186 TRACE glance.registry.client.v1.client     raise exception.NotAuthenticated(res.read())
2015-08-21 13:44:07.430 3186 TRACE glance.registry.client.v1.client NotAuthenticated: Authentication required
2015-08-21 13:44:07.430 3186 TRACE glance.registry.client.v1.client 
2015-08-21 13:44:07.432 3186 INFO eventlet.wsgi.server [req-b118da92-3d9b-4516-be74-d6953223658c b57b02f6e7f34fc083f650b4bc7c0535 1722f24100534db4a8965603789e45aa - - -] Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/eventlet/wsgi.py", line 442, in handle_one_response
    result = self.application(self.environ, start_response)
  File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
    resp = self.call_func(req, *args, **self.kwargs)
  File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
    return self.func(req, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/glance/common/wsgi.py", line 582, in __call__
    response = req.get_response(self.application)
  File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1320, in send
    application, catch_exc_info=False)
  File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1284, in call_application
    app_iter = application(self.environ, start_response)
  File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
    resp = self.call_func(req, *args, **self.kwargs)
  File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
    return self.func(req, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/osprofiler/web.py", line 99, in __call__
    return request.get_response(self.application)
  File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1320, in send
    application, catch_exc_info=False)
  File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1284, in call_application
    app_iter = application(self.environ, start_response)
  File "/usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py", line 634, in __call__
    return self._call_app(env, start_response)
  File "/usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py", line 554, in _call_app
    return self._app(env, _fake_start_response)
  File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
    resp = self.call_func(req, *args, **self.kwargs)
  File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
    return self.func(req, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/glance/common/wsgi.py", line 582, in __call__
    response = req.get_response(self.application)
  File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1320, in send
    application, catch_exc_info=False)
  File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1284, in call_application
    app_iter = application(self.environ, start_response)
  File "/usr/lib/python2.7/dist-packages/paste/urlmap.py", line 206, in __call__
    return app(environ, start_response)
  File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
    return resp(environ, start_response)
  File "/usr/lib/python2.7/dist-packages/routes/middleware.py", line 131, in __call__
    response = self.app(environ, start_response)
  File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
    return resp(environ, start_response)
  File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
    resp = self.call_func(req, *args, **self.kwargs)
  File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
    return self.func(req, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/glance/common/wsgi.py", line 873, in __call__
    request, **action_args)
  File "/usr/lib/python2.7/dist-packages/glance/common/wsgi.py", line 897, in dispatch
    return method(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/glance/api/v1/images.py", line 347, in detail
    images = registry.get_images_detail(req.context, **params)
  File "/usr/lib/python2.7/dist-packages/glance/registry/client/v1/api.py", line 152, in get_images_detail
    return c.get_images_detailed(**kwargs)
  File "/usr/lib/python2.7/dist-packages/glance/registry/client/v1/client.py", line 146, in get_images_detailed
    res = self.do_request("GET", "/images/detail", params=params)
  File "/usr/lib/python2.7/dist-packages/glance/registry/client/v1/client.py", line 132, in do_request
    'exc_name': exc_name})
  File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 85, in __exit__
    six.reraise(self.type_, self.value, self.tb)
  File "/usr/lib/python2.7/dist-packages/glance/registry/client/v1/client.py", line 117, in do_request
    **kwargs)
  File "/usr/lib/python2.7/dist-packages/glance/common/client.py", line 74, in wrapped
    return func(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/glance/common/client.py", line 376, in do_request
    headers=copy.deepcopy(headers))
  File "/usr/lib/python2.7/dist-packages/glance/common/client.py", line 88, in wrapped
    return func(self, method, url, body, headers)
  File "/usr/lib/python2.7/dist-packages/glance/common/client.py", line 519, in _do_request
    raise exception.NotAuthenticated(res.read())
NotAuthenticated: Authentication required
2015-08-21 13:44:07.433 3186 INFO eventlet.wsgi.server [req-b118da92-3d9b-4516-be74-d6953223658c b57b02f6e7f34fc083f650b4bc7c0535 1722f24100534db4a8965603789e45aa - - -] 192.168.2.100 - - [21/Aug/2015 13:44:07] "GET /v1/images/detail?is_public=none&limit=20 HTTP/1.1" 500 139 0.147460

glance-registry.log

2015-08-21 13:44:07.322 3216 DEBUG keystoneclient.session [-] REQ: curl -g -i -X GET http://controller1.local:35357 -H "Accept: application/json" -H "User-Agent: python-keystoneclient" _http_log_request /usr/lib/python2.7/dist-packages/keystoneclient/session.py:195
2015-08-21 13:44:07.348 3216 DEBUG keystoneclient.session [-] RESP: [300] content-length: 605 vary: X-Auth-Token keep-alive: timeout=5, max=100 server: Apache/2.4.7 (Ubuntu) connection: Keep-Alive date: Fri, 21 Aug 2015 13:44:07 GMT content-type: application/json x-distribution: Ubuntu 
RESP BODY: {"versions": {"values": [{"status": "stable", "updated": "2015-03-30T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.4", "links": [{"href": "http://controller1.local:35357/v3/", "rel": "self"}]}, {"status": "stable", "updated": "2014-04-17T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v2.0+json"}], "id": "v2.0", "links": [{"href": "http://controller1.local:35357/v2.0/", "rel": "self"}, {"href": "http://docs.openstack.org/", "type": "text/html", "rel": "describedby"}]}]}}
 _http_log_response /usr/lib/python2.7/dist-packages/keystoneclient/session.py:223
2015-08-21 13:44:07.349 3216 DEBUG keystoneclient.auth.identity.v3 [-] Making authentication request to http://controller1.local:35357/v3/auth/tokens get_auth_ref /usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/v3.py:125
2015-08-21 13:44:07.425 3216 WARNING keystonemiddleware.auth_token [-] Authorization failed for token
2015-08-21 13:44:07.426 3216 INFO eventlet.wsgi.server [-] 192.168.2.100 - - [21/Aug/2015 13:44:07] "GET /images/detail?is_public=none&limit=20 HTTP/1.1" 401 199 0.105521
2015-08-21 13:44:07.428 3216 WARNING keystonemiddleware.auth_token [-] Unable to find authentication token in headers
2015-08-21 13:44:07.429 3216 INFO eventlet.wsgi.server [-] 192.168.2.100 - - [21/Aug/2015 13:44:07] "GET /images/detail?is_public=none&limit=20 HTTP/1.1" 401 199 0.001061

I've noticed people referring to the registry_host in the glance-api.conf file, however, no matter what I change it to, I get the same result.

Let me know if you need further details.

Thanks

OpenStack Kilo nova image-list HTTP 500

Hi,

I have seen there have been quite a few questions with regards to this error / fault, however, none of them seem to help me in any way.

I'm installing OpenStack Kilo on Ubuntu 14.04.3 LTS.

When running "nova image-list" outputs the following:

nova image-list
ERROR (ClientException): The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-af55cd26-ff4c-473b-a0c0-77170c2f7672)

Where as "glance image-list" outputs as you'd expect.

I have set debug and verbose to true on glance-api.conf, glance-registry.conf and nova.conf. However, I am unable to find anything myself.

nova-api.log:

2015-08-21 13:44:07.242 3803 DEBUG keystoneclient.session [-] REQ: curl -g -i -X GET http://controller1.local:35357/v3/auth/tokens -H "X-Subject-Token: {SHA1}bd6100882575edf494364f279bdc560a17f8bf17" -H "User-Agent: python-keystoneclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}a7426a3961fbe56825a3eb0591fbd36898cd55a0" _http_log_request /usr/lib/python2.7/dist-packages/keystoneclient/session.py:195
2015-08-21 13:44:07.279 3803 DEBUG keystoneclient.session [-] RESP: [200] content-length: 2320 x-subject-token: {SHA1}bd6100882575edf494364f279bdc560a17f8bf17 vary: X-Auth-Token keep-alive: timeout=5, max=100 server: Apache/2.4.7 (Ubuntu) connection: Keep-Alive date: Fri, 21 Aug 2015 13:44:07 GMT x-openstack-request-id: req-24ba7708-65c3-458d-8732-5d83433194f1 content-type: application/json x-distribution: Ubuntu 
RESP BODY: {"token": {"methods": ["password"], "roles": [{"id": "0f9fff04a78f421b86b081e2e9ab7cc3", "name": "admin"}], "expires_at": "2015-08-21T14:44:07.232196Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "1722f24100534db4a8965603789e45aa", "name": "admin"}, "catalog": "<removed>", "extras": {}, "user": {"domain": {"id": "default", "name": "Default"}, "id": "b57b02f6e7f34fc083f650b4bc7c0535", "name": "admin"}, "audit_ids": ["3vga4k0VT16P2dzFHd9O6A"], "issued_at": "2015-08-21T13:44:07.232244Z"}}
 _http_log_response /usr/lib/python2.7/dist-packages/keystoneclient/session.py:223
2015-08-21 13:44:07.281 3803 DEBUG nova.api.openstack.wsgi [req-af55cd26-ff4c-473b-a0c0-77170c2f7672 b57b02f6e7f34fc083f650b4bc7c0535 1722f24100534db4a8965603789e45aa - - -] Calling method '<bound method Controller.detail of <nova.api.openstack.compute.images.Controller object at 0x7f2b61b0b410>>' _process_stack /usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py:783
2015-08-21 13:44:07.434 3803 ERROR nova.api.openstack [req-af55cd26-ff4c-473b-a0c0-77170c2f7672 b57b02f6e7f34fc083f650b4bc7c0535 1722f24100534db4a8965603789e45aa - - -] Caught error: HTTPInternalServerError (HTTP 500)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack Traceback (most recent call last):
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/__init__.py", line 125, in __call__
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     return req.get_response(self.application)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1320, in send
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     application, catch_exc_info=False)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1284, in call_application
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     app_iter = application(self.environ, start_response)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     return resp(environ, start_response)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py", line 634, in __call__
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     return self._call_app(env, start_response)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py", line 554, in _call_app
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     return self._app(env, _fake_start_response)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     return resp(environ, start_response)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     return resp(environ, start_response)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/routes/middleware.py", line 131, in __call__
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     response = self.app(environ, start_response)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     return resp(environ, start_response)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     resp = self.call_func(req, *args, **self.kwargs)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     return self.func(req, *args, **kwargs)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 756, in __call__
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     content_type, body, accept)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 821, in _process_stack
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     action_result = self.dispatch(meth, request, action_args)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 911, in dispatch
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     return method(req=request, **action_args)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/images.py", line 144, in detail
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     **page_params)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/image/api.py", line 68, in get_all
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     return session.detail(context, **kwargs)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 274, in detail
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     for image in images:
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/glanceclient/v1/images.py", line 196, in paginate
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     images, resp = self._list(url, "images")
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/glanceclient/v1/images.py", line 62, in _list
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     resp, body = self.client.get(url)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/glanceclient/common/http.py", line 259, in get
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     return self._request('GET', url, **kwargs)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/glanceclient/common/http.py", line 227, in _request
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack     raise exc.from_response(resp, resp.content)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack HTTPInternalServerError: HTTPInternalServerError (HTTP 500)
2015-08-21 13:44:07.434 3803 TRACE nova.api.openstack 
2015-08-21 13:44:07.436 3803 INFO nova.api.openstack [req-af55cd26-ff4c-473b-a0c0-77170c2f7672 b57b02f6e7f34fc083f650b4bc7c0535 1722f24100534db4a8965603789e45aa - - -] http://controller1.local:8774/v2/1722f24100534db4a8965603789e45aa/images/detail returned with HTTP 500
2015-08-21 13:44:07.437 3803 DEBUG nova.api.openstack.wsgi [req-af55cd26-ff4c-473b-a0c0-77170c2f7672 b57b02f6e7f34fc083f650b4bc7c0535 1722f24100534db4a8965603789e45aa - - -] Returning 500 to user: The server has either erred or is incapable of performing the requested operation. __call__ /usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py:1166
2015-08-21 13:44:07.437 3803 INFO nova.osapi_compute.wsgi.server [req-af55cd26-ff4c-473b-a0c0-77170c2f7672 b57b02f6e7f34fc083f650b4bc7c0535 1722f24100534db4a8965603789e45aa - - -] 192.168.2.100 "GET /v2/1722f24100534db4a8965603789e45aa/images/detail HTTP/1.1" status: 500 len: 359 time: 0.1965270

glance-api.log

2015-08-21 13:44:07.286 3186 DEBUG glance.api.middleware.version_negotiation [req-f1596f49-9a3b-47ca-aeec-8e2b69717975 b57b02f6e7f34fc083f650b4bc7c0535 1722f24100534db4a8965603789e45aa - - -] Determining version of request: GET /v1/images/detail Accept: */* process_request /usr/lib/python2.7/dist-packages/glance/api/middleware/version_negotiation.py:47
2015-08-21 13:44:07.286 3186 DEBUG glance.api.middleware.version_negotiation [req-f1596f49-9a3b-47ca-aeec-8e2b69717975 b57b02f6e7f34fc083f650b4bc7c0535 1722f24100534db4a8965603789e45aa - - -] Using url versioning process_request /usr/lib/python2.7/dist-packages/glance/api/middleware/version_negotiation.py:60
2015-08-21 13:44:07.287 3186 DEBUG glance.api.middleware.version_negotiation [req-f1596f49-9a3b-47ca-aeec-8e2b69717975 b57b02f6e7f34fc083f650b4bc7c0535 1722f24100534db4a8965603789e45aa - - -] Matched version: v1 process_request /usr/lib/python2.7/dist-packages/glance/api/middleware/version_negotiation.py:72
2015-08-21 13:44:07.287 3186 DEBUG glance.api.middleware.version_negotiation [req-f1596f49-9a3b-47ca-aeec-8e2b69717975 b57b02f6e7f34fc083f650b4bc7c0535 1722f24100534db4a8965603789e45aa - - -] new path /v1/images/detail process_request /usr/lib/python2.7/dist-packages/glance/api/middleware/version_negotiation.py:73
2015-08-21 13:44:07.288 3186 DEBUG keystoneclient.session [req-f1596f49-9a3b-47ca-aeec-8e2b69717975 b57b02f6e7f34fc083f650b4bc7c0535 1722f24100534db4a8965603789e45aa - - -] REQ: curl -g -i -X GET http://controller1.local:35357/v3/auth/tokens -H "X-Subject-Token: {SHA1}bd6100882575edf494364f279bdc560a17f8bf17" -H "User-Agent: python-keystoneclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}05bc2cb971634380380a0da2e9ce64f19d53d1b2" _http_log_request /usr/lib/python2.7/dist-packages/keystoneclient/session.py:195
2015-08-21 13:44:07.315 3186 DEBUG keystoneclient.session [req-f1596f49-9a3b-47ca-aeec-8e2b69717975 b57b02f6e7f34fc083f650b4bc7c0535 1722f24100534db4a8965603789e45aa - - -] RESP: [200] content-length: 2320 x-subject-token: {SHA1}bd6100882575edf494364f279bdc560a17f8bf17 vary: X-Auth-Token keep-alive: timeout=5, max=100 server: Apache/2.4.7 (Ubuntu) connection: Keep-Alive date: Fri, 21 Aug 2015 13:44:07 GMT x-openstack-request-id: req-a469c218-611a-48c9-ad08-cf7aa457b508 content-type: application/json x-distribution: Ubuntu 
RESP BODY: {"token": {"methods": ["password"], "roles": [{"id": "0f9fff04a78f421b86b081e2e9ab7cc3", "name": "admin"}], "expires_at": "2015-08-21T14:44:07.232196Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "1722f24100534db4a8965603789e45aa", "name": "admin"}, "catalog": "<removed>", "extras": {}, "user": {"domain": {"id": "default", "name": "Default"}, "id": "b57b02f6e7f34fc083f650b4bc7c0535", "name": "admin"}, "audit_ids": ["3vga4k0VT16P2dzFHd9O6A"], "issued_at": "2015-08-21T13:44:07.232244Z"}}
 _http_log_response /usr/lib/python2.7/dist-packages/keystoneclient/session.py:223
2015-08-21 13:44:07.317 3186 DEBUG oslo_policy.policy [req-b118da92-3d9b-4516-be74-d6953223658c b57b02f6e7f34fc083f650b4bc7c0535 1722f24100534db4a8965603789e45aa - - -] Reloaded policy file: /etc/glance/policy.json _load_policy_file /usr/lib/python2.7/dist-packages/oslo_policy/policy.py:403
2015-08-21 13:44:07.318 3186 DEBUG glance.common.client [req-b118da92-3d9b-4516-be74-d6953223658c b57b02f6e7f34fc083f650b4bc7c0535 1722f24100534db4a8965603789e45aa - - -] Constructed URL: http://controller1.local:9191/images/detail?is_public=none&limit=20 _construct_url /usr/lib/python2.7/dist-packages/glance/common/client.py:401
2015-08-21 13:44:07.427 3186 DEBUG glance.common.client [req-b118da92-3d9b-4516-be74-d6953223658c b57b02f6e7f34fc083f650b4bc7c0535 1722f24100534db4a8965603789e45aa - - -] Constructed URL: http://controller1.local:9191/images/detail?is_public=none&limit=20 _construct_url /usr/lib/python2.7/dist-packages/glance/common/client.py:401
2015-08-21 13:44:07.430 3186 ERROR glance.registry.client.v1.client [req-b118da92-3d9b-4516-be74-d6953223658c b57b02f6e7f34fc083f650b4bc7c0535 1722f24100534db4a8965603789e45aa - - -] Registry client request GET /images/detail raised NotAuthenticated
2015-08-21 13:44:07.430 3186 TRACE glance.registry.client.v1.client Traceback (most recent call last):
2015-08-21 13:44:07.430 3186 TRACE glance.registry.client.v1.client   File "/usr/lib/python2.7/dist-packages/glance/registry/client/v1/client.py", line 117, in do_request
2015-08-21 13:44:07.430 3186 TRACE glance.registry.client.v1.client     **kwargs)
2015-08-21 13:44:07.430 3186 TRACE glance.registry.client.v1.client   File "/usr/lib/python2.7/dist-packages/glance/common/client.py", line 74, in wrapped
2015-08-21 13:44:07.430 3186 TRACE glance.registry.client.v1.client     return func(self, *args, **kwargs)
2015-08-21 13:44:07.430 3186 TRACE glance.registry.client.v1.client   File "/usr/lib/python2.7/dist-packages/glance/common/client.py", line 376, in do_request
2015-08-21 13:44:07.430 3186 TRACE glance.registry.client.v1.client     headers=copy.deepcopy(headers))
2015-08-21 13:44:07.430 3186 TRACE glance.registry.client.v1.client   File "/usr/lib/python2.7/dist-packages/glance/common/client.py", line 88, in wrapped
2015-08-21 13:44:07.430 3186 TRACE glance.registry.client.v1.client     return func(self, method, url, body, headers)
2015-08-21 13:44:07.430 3186 TRACE glance.registry.client.v1.client   File "/usr/lib/python2.7/dist-packages/glance/common/client.py", line 519, in _do_request
2015-08-21 13:44:07.430 3186 TRACE glance.registry.client.v1.client     raise exception.NotAuthenticated(res.read())
2015-08-21 13:44:07.430 3186 TRACE glance.registry.client.v1.client NotAuthenticated: Authentication required
2015-08-21 13:44:07.430 3186 TRACE glance.registry.client.v1.client 
2015-08-21 13:44:07.432 3186 INFO eventlet.wsgi.server [req-b118da92-3d9b-4516-be74-d6953223658c b57b02f6e7f34fc083f650b4bc7c0535 1722f24100534db4a8965603789e45aa - - -] Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/eventlet/wsgi.py", line 442, in handle_one_response
    result = self.application(self.environ, start_response)
  File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
    resp = self.call_func(req, *args, **self.kwargs)
  File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
    return self.func(req, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/glance/common/wsgi.py", line 582, in __call__
    response = req.get_response(self.application)
  File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1320, in send
    application, catch_exc_info=False)
  File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1284, in call_application
    app_iter = application(self.environ, start_response)
  File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
    resp = self.call_func(req, *args, **self.kwargs)
  File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
    return self.func(req, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/osprofiler/web.py", line 99, in __call__
    return request.get_response(self.application)
  File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1320, in send
    application, catch_exc_info=False)
  File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1284, in call_application
    app_iter = application(self.environ, start_response)
  File "/usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py", line 634, in __call__
    return self._call_app(env, start_response)
  File "/usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py", line 554, in _call_app
    return self._app(env, _fake_start_response)
  File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
    resp = self.call_func(req, *args, **self.kwargs)
  File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
    return self.func(req, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/glance/common/wsgi.py", line 582, in __call__
    response = req.get_response(self.application)
  File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1320, in send
    application, catch_exc_info=False)
  File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1284, in call_application
    app_iter = application(self.environ, start_response)
  File "/usr/lib/python2.7/dist-packages/paste/urlmap.py", line 206, in __call__
    return app(environ, start_response)
  File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
    return resp(environ, start_response)
  File "/usr/lib/python2.7/dist-packages/routes/middleware.py", line 131, in __call__
    response = self.app(environ, start_response)
  File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
    return resp(environ, start_response)
  File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
    resp = self.call_func(req, *args, **self.kwargs)
  File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
    return self.func(req, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/glance/common/wsgi.py", line 873, in __call__
    request, **action_args)
  File "/usr/lib/python2.7/dist-packages/glance/common/wsgi.py", line 897, in dispatch
    return method(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/glance/api/v1/images.py", line 347, in detail
    images = registry.get_images_detail(req.context, **params)
  File "/usr/lib/python2.7/dist-packages/glance/registry/client/v1/api.py", line 152, in get_images_detail
    return c.get_images_detailed(**kwargs)
  File "/usr/lib/python2.7/dist-packages/glance/registry/client/v1/client.py", line 146, in get_images_detailed
    res = self.do_request("GET", "/images/detail", params=params)
  File "/usr/lib/python2.7/dist-packages/glance/registry/client/v1/client.py", line 132, in do_request
    'exc_name': exc_name})
  File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 85, in __exit__
    six.reraise(self.type_, self.value, self.tb)
  File "/usr/lib/python2.7/dist-packages/glance/registry/client/v1/client.py", line 117, in do_request
    **kwargs)
  File "/usr/lib/python2.7/dist-packages/glance/common/client.py", line 74, in wrapped
    return func(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/glance/common/client.py", line 376, in do_request
    headers=copy.deepcopy(headers))
  File "/usr/lib/python2.7/dist-packages/glance/common/client.py", line 88, in wrapped
    return func(self, method, url, body, headers)
  File "/usr/lib/python2.7/dist-packages/glance/common/client.py", line 519, in _do_request
    raise exception.NotAuthenticated(res.read())
NotAuthenticated: Authentication required
2015-08-21 13:44:07.433 3186 INFO eventlet.wsgi.server [req-b118da92-3d9b-4516-be74-d6953223658c b57b02f6e7f34fc083f650b4bc7c0535 1722f24100534db4a8965603789e45aa - - -] 192.168.2.100 - - [21/Aug/2015 13:44:07] "GET /v1/images/detail?is_public=none&limit=20 HTTP/1.1" 500 139 0.147460

glance-registry.log

2015-08-21 13:44:07.322 3216 DEBUG keystoneclient.session [-] REQ: curl -g -i -X GET http://controller1.local:35357 -H "Accept: application/json" -H "User-Agent: python-keystoneclient" _http_log_request /usr/lib/python2.7/dist-packages/keystoneclient/session.py:195
2015-08-21 13:44:07.348 3216 DEBUG keystoneclient.session [-] RESP: [300] content-length: 605 vary: X-Auth-Token keep-alive: timeout=5, max=100 server: Apache/2.4.7 (Ubuntu) connection: Keep-Alive date: Fri, 21 Aug 2015 13:44:07 GMT content-type: application/json x-distribution: Ubuntu 
RESP BODY: {"versions": {"values": [{"status": "stable", "updated": "2015-03-30T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.4", "links": [{"href": "http://controller1.local:35357/v3/", "rel": "self"}]}, {"status": "stable", "updated": "2014-04-17T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v2.0+json"}], "id": "v2.0", "links": [{"href": "http://controller1.local:35357/v2.0/", "rel": "self"}, {"href": "http://docs.openstack.org/", "type": "text/html", "rel": "describedby"}]}]}}
 _http_log_response /usr/lib/python2.7/dist-packages/keystoneclient/session.py:223
2015-08-21 13:44:07.349 3216 DEBUG keystoneclient.auth.identity.v3 [-] Making authentication request to http://controller1.local:35357/v3/auth/tokens get_auth_ref /usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/v3.py:125
2015-08-21 13:44:07.425 3216 WARNING keystonemiddleware.auth_token [-] Authorization failed for token
2015-08-21 13:44:07.426 3216 INFO eventlet.wsgi.server [-] 192.168.2.100 - - [21/Aug/2015 13:44:07] "GET /images/detail?is_public=none&limit=20 HTTP/1.1" 401 199 0.105521
2015-08-21 13:44:07.428 3216 WARNING keystonemiddleware.auth_token [-] Unable to find authentication token in headers
2015-08-21 13:44:07.429 3216 INFO eventlet.wsgi.server [-] 192.168.2.100 - - [21/Aug/2015 13:44:07] "GET /images/detail?is_public=none&limit=20 HTTP/1.1" 401 199 0.001061

I've noticed people referring to the registry_host in the glance-api.conf file, however, no matter what I change it to, I get the same result.

Let me know if you need further details.

Thanks