Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

glance image-list is fine but, nova image-list error

I am installing liberty release on centos7 with one controller and one compute node. nova service-list and nova endpoints work fine. But, nova image-list returns the following error.

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: ...)

glance image-list works fine. Pls, help me out.

the nova-api.log is following.

2015-12-14 16:29:56.071 9986 INFO nova.osapi_compute.wsgi.server [req-496b5df0-e28f-486b-8386-96f704433daf 504f2af1b9044a3e97bc69e80daf5809 8de4c51458804564b79932efa364524b - - -] 192.168.219.11 "GET /v2/ HTTP/1.1" status: 200 len: 572 time: 0.0285130
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions [req-e65f8242-8d2c-43f1-af66-362f3161b655 504f2af1b9044a3e97bc69e80daf5809 8de4c51458804564b79932efa364524b - - -] Unexpected exception in API method
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions Traceback (most recent call last):
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/openstack/extensions.py", line 478, in wrapped
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions     return f(*args, **kwargs)
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/images.py", line 145, in detail
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions     **page_params)
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/image/api.py", line 68, in get_all
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions     return session.detail(context, **kwargs)
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 284, in detail
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions     for image in images:
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/glanceclient/v1/images.py", line 254, in list
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions     for image in paginate(params, return_request_id):
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/glanceclient/v1/images.py", line 238, in paginate
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions     images, resp = self._list(url, "images")
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/glanceclient/v1/images.py", line 63, in _list
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions     resp, body = self.client.get(url)
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/glanceclient/common/http.py", line 280, in get
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions     return self._request('GET', url, **kwargs)
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/glanceclient/common/http.py", line 272, in _request
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions     resp, body_iter = self._handle_response(resp)
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/glanceclient/common/http.py", line 93, in _handle_response
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions     raise exc.from_response(resp, resp.content)
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions HTTPInternalServerError: 500 Internal Server Error: The server has either erred or is incapable of performing the requested operation. (HTTP 500)
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions 
2015-12-14 16:30:01.685 9986 INFO nova.api.openstack.wsgi [req-e65f8242-8d2c-43f1-af66-362f3161b655 504f2af1b9044a3e97bc69e80daf5809 8de4c51458804564b79932efa364524b - - -] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'glanceclient.exc.HTTPInternalServerError'>
2015-12-14 16:30:01.687 9986 INFO nova.osapi_compute.wsgi.server [req-e65f8242-8d2c-43f1-af66-362f3161b655 504f2af1b9044a3e97bc69e80daf5809 8de4c51458804564b79932efa364524b - - -] 192.168.219.11 "GET /v2/8de4c51458804564b79932efa364524b/images/detail HTTP/1.1" status: 500 len: 445 time: 5.4028652

glance image-list is fine but, nova image-list error

I am installing liberty release on centos7 with one controller and one compute node. nova service-list and nova endpoints work fine. But, nova image-list returns the following error.

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: ...)

glance image-list works fine. Pls, help me out.

the nova-api.log is following.

2015-12-14 16:29:56.071 9986 INFO nova.osapi_compute.wsgi.server [req-496b5df0-e28f-486b-8386-96f704433daf 504f2af1b9044a3e97bc69e80daf5809 8de4c51458804564b79932efa364524b - - -] 192.168.219.11 "GET /v2/ HTTP/1.1" status: 200 len: 572 time: 0.0285130
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions [req-e65f8242-8d2c-43f1-af66-362f3161b655 504f2af1b9044a3e97bc69e80daf5809 8de4c51458804564b79932efa364524b - - -] Unexpected exception in API method
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions Traceback (most recent call last):
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/openstack/extensions.py", line 478, in wrapped
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions     return f(*args, **kwargs)
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/images.py", line 145, in detail
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions     **page_params)
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/image/api.py", line 68, in get_all
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions     return session.detail(context, **kwargs)
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 284, in detail
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions     for image in images:
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/glanceclient/v1/images.py", line 254, in list
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions     for image in paginate(params, return_request_id):
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/glanceclient/v1/images.py", line 238, in paginate
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions     images, resp = self._list(url, "images")
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/glanceclient/v1/images.py", line 63, in _list
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions     resp, body = self.client.get(url)
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/glanceclient/common/http.py", line 280, in get
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions     return self._request('GET', url, **kwargs)
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/glanceclient/common/http.py", line 272, in _request
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions     resp, body_iter = self._handle_response(resp)
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/glanceclient/common/http.py", line 93, in _handle_response
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions     raise exc.from_response(resp, resp.content)
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions HTTPInternalServerError: 500 Internal Server Error: The server has either erred or is incapable of performing the requested operation. (HTTP 500)
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions 
2015-12-14 16:30:01.685 9986 INFO nova.api.openstack.wsgi [req-e65f8242-8d2c-43f1-af66-362f3161b655 504f2af1b9044a3e97bc69e80daf5809 8de4c51458804564b79932efa364524b - - -] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'glanceclient.exc.HTTPInternalServerError'>
2015-12-14 16:30:01.687 9986 INFO nova.osapi_compute.wsgi.server [req-e65f8242-8d2c-43f1-af66-362f3161b655 504f2af1b9044a3e97bc69e80daf5809 8de4c51458804564b79932efa364524b - - -] 192.168.219.11 "GET /v2/8de4c51458804564b79932efa364524b/images/detail HTTP/1.1" status: 500 len: 445 time: 5.4028652

Here is the logs for nova --debug image-list

[root@controller ~]# nova --debug image-list
DEBUG (session:198) REQ: curl -g -i -X GET http://controller:35357/v3 -H "Accept: application/json" -H "User-Agent: python-keystoneclient"
INFO (connectionpool:203) Starting new HTTP connection (1): controller
DEBUG (connectionpool:383) "GET /v3 HTTP/1.1" 200 250
DEBUG (session:215) RESP: [200] content-length: 250 vary: X-Auth-Token keep-alive: timeout=5, max=100 server: Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 connection: Keep-Alive date: Mon, 14 Dec 2015 10:11:02 GMT content-type: application/json x-openstack-request-id: req-bba58e8d-0fc7-4140-b88b-85a3086bc119 
RESP BODY: {"version": {"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://controller:35357/v3/", "rel": "self"}]}}

DEBUG (base:188) Making authentication request to http://controller:35357/v3/auth/tokens
DEBUG (connectionpool:383) "POST /v3/auth/tokens HTTP/1.1" 201 2256
DEBUG (session:198) REQ: curl -g -i -X GET http://controller:8774/v2/ -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}27fc1b6da96ef9a1d53362a8d1d7fcaf8faa7b6c"
INFO (connectionpool:203) Starting new HTTP connection (1): controller
DEBUG (connectionpool:383) "GET /v2/ HTTP/1.1" 200 375
DEBUG (session:215) RESP: [200] date: Mon, 14 Dec 2015 10:11:03 GMT connection: keep-alive content-type: application/json content-length: 375 x-compute-request-id: req-dea1c780-22c6-4d99-9252-9f4675d8c83e 
RESP BODY: {"version": {"status": "SUPPORTED", "updated": "2011-01-21T11:33:21Z", "links": [{"href": "http://controller:8774/v2/", "rel": "self"}, {"href": "http://docs.openstack.org/", "type": "text/html", "rel": "describedby"}], "min_version": "", "version": "", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.compute+json;version=2"}], "id": "v2.0"}}

DEBUG (session:198) REQ: curl -g -i -X GET http://controller:8774/v2/8de4c51458804564b79932efa364524b/images/detail -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}27fc1b6da96ef9a1d53362a8d1d7fcaf8faa7b6c"
DEBUG (connectionpool:383) "GET /v2/8de4c51458804564b79932efa364524b/images/detail HTTP/1.1" 500 214
DEBUG (session:215) RESP: [500] date: Mon, 14 Dec 2015 10:11:08 GMT connection: keep-alive content-type: application/json; charset=UTF-8 content-length: 214 x-compute-request-id: req-b4edaec7-d03c-4cd3-a782-3c5ac0e88cc4 
RESP BODY: {"computeFault": {"message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\n<class 'glanceclient.exc.HTTPInternalServerError'>", "code": 500}}

DEBUG (shell:905) 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-b4edaec7-d03c-4cd3-a782-3c5ac0e88cc4)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/novaclient/shell.py", line 903, in main
    OpenStackComputeShell().main(argv)
  File "/usr/lib/python2.7/site-packages/novaclient/shell.py", line 830, in main
    args.func(self.cs, args)
  File "/usr/lib/python2.7/site-packages/novaclient/v2/shell.py", line 1115, in do_image_list
    image_list = cs.images.list(limit=limit)
  File "/usr/lib/python2.7/site-packages/novaclient/v2/images.py", line 74, in list
    return self._list('/images%s%s' % (detail, query), 'images')
  File "/usr/lib/python2.7/site-packages/novaclient/base.py", line 72, in _list
    _resp, body = self.api.client.get(url)
  File "/usr/lib/python2.7/site-packages/keystoneclient/adapter.py", line 170, in get
    return self.request(url, 'GET', **kwargs)
  File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 93, in request
    raise exceptions.from_response(resp, body, url, method)
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-b4edaec7-d03c-4cd3-a782-3c5ac0e88cc4)
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-b4edaec7-d03c-4cd3-a782-3c5ac0e88cc4)

glance image-list is fine but, nova image-list error

I am installing liberty release on centos7 with one controller and one compute node. nova service-list and nova endpoints work fine. But, nova image-list returns the following error.

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: ...)

glance image-list works fine. Pls, help me out.

the nova-api.log is following.

2015-12-14 16:29:56.071 9986 INFO nova.osapi_compute.wsgi.server [req-496b5df0-e28f-486b-8386-96f704433daf 504f2af1b9044a3e97bc69e80daf5809 8de4c51458804564b79932efa364524b - - -] 192.168.219.11 "GET /v2/ HTTP/1.1" status: 200 len: 572 time: 0.0285130
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions [req-e65f8242-8d2c-43f1-af66-362f3161b655 504f2af1b9044a3e97bc69e80daf5809 8de4c51458804564b79932efa364524b - - -] Unexpected exception in API method
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions Traceback (most recent call last):
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/openstack/extensions.py", line 478, in wrapped
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions     return f(*args, **kwargs)
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/images.py", line 145, in detail
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions     **page_params)
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/image/api.py", line 68, in get_all
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions     return session.detail(context, **kwargs)
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 284, in detail
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions     for image in images:
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/glanceclient/v1/images.py", line 254, in list
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions     for image in paginate(params, return_request_id):
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/glanceclient/v1/images.py", line 238, in paginate
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions     images, resp = self._list(url, "images")
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/glanceclient/v1/images.py", line 63, in _list
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions     resp, body = self.client.get(url)
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/glanceclient/common/http.py", line 280, in get
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions     return self._request('GET', url, **kwargs)
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/glanceclient/common/http.py", line 272, in _request
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions     resp, body_iter = self._handle_response(resp)
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/glanceclient/common/http.py", line 93, in _handle_response
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions     raise exc.from_response(resp, resp.content)
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions HTTPInternalServerError: 500 Internal Server Error: The server has either erred or is incapable of performing the requested operation. (HTTP 500)
2015-12-14 16:30:01.676 9986 ERROR nova.api.openstack.extensions 
2015-12-14 16:30:01.685 9986 INFO nova.api.openstack.wsgi [req-e65f8242-8d2c-43f1-af66-362f3161b655 504f2af1b9044a3e97bc69e80daf5809 8de4c51458804564b79932efa364524b - - -] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'glanceclient.exc.HTTPInternalServerError'>
2015-12-14 16:30:01.687 9986 INFO nova.osapi_compute.wsgi.server [req-e65f8242-8d2c-43f1-af66-362f3161b655 504f2af1b9044a3e97bc69e80daf5809 8de4c51458804564b79932efa364524b - - -] 192.168.219.11 "GET /v2/8de4c51458804564b79932efa364524b/images/detail HTTP/1.1" status: 500 len: 445 time: 5.4028652

Here is the logs for nova --debug image-list

[root@controller ~]# nova --debug image-list
DEBUG (session:198) REQ: curl -g -i -X GET http://controller:35357/v3 -H "Accept: application/json" -H "User-Agent: python-keystoneclient"
INFO (connectionpool:203) Starting new HTTP connection (1): controller
DEBUG (connectionpool:383) "GET /v3 HTTP/1.1" 200 250
DEBUG (session:215) RESP: [200] content-length: 250 vary: X-Auth-Token keep-alive: timeout=5, max=100 server: Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 connection: Keep-Alive date: Mon, 14 Dec 2015 10:11:02 GMT content-type: application/json x-openstack-request-id: req-bba58e8d-0fc7-4140-b88b-85a3086bc119 
RESP BODY: {"version": {"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://controller:35357/v3/", "rel": "self"}]}}

DEBUG (base:188) Making authentication request to http://controller:35357/v3/auth/tokens
DEBUG (connectionpool:383) "POST /v3/auth/tokens HTTP/1.1" 201 2256
DEBUG (session:198) REQ: curl -g -i -X GET http://controller:8774/v2/ -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}27fc1b6da96ef9a1d53362a8d1d7fcaf8faa7b6c"
INFO (connectionpool:203) Starting new HTTP connection (1): controller
DEBUG (connectionpool:383) "GET /v2/ HTTP/1.1" 200 375
DEBUG (session:215) RESP: [200] date: Mon, 14 Dec 2015 10:11:03 GMT connection: keep-alive content-type: application/json content-length: 375 x-compute-request-id: req-dea1c780-22c6-4d99-9252-9f4675d8c83e 
RESP BODY: {"version": {"status": "SUPPORTED", "updated": "2011-01-21T11:33:21Z", "links": [{"href": "http://controller:8774/v2/", "rel": "self"}, {"href": "http://docs.openstack.org/", "type": "text/html", "rel": "describedby"}], "min_version": "", "version": "", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.compute+json;version=2"}], "id": "v2.0"}}

DEBUG (session:198) REQ: curl -g -i -X GET http://controller:8774/v2/8de4c51458804564b79932efa364524b/images/detail -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}27fc1b6da96ef9a1d53362a8d1d7fcaf8faa7b6c"
DEBUG (connectionpool:383) "GET /v2/8de4c51458804564b79932efa364524b/images/detail HTTP/1.1" 500 214
DEBUG (session:215) RESP: [500] date: Mon, 14 Dec 2015 10:11:08 GMT connection: keep-alive content-type: application/json; charset=UTF-8 content-length: 214 x-compute-request-id: req-b4edaec7-d03c-4cd3-a782-3c5ac0e88cc4 
RESP BODY: {"computeFault": {"message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\n<class 'glanceclient.exc.HTTPInternalServerError'>", "code": 500}}

DEBUG (shell:905) 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-b4edaec7-d03c-4cd3-a782-3c5ac0e88cc4)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/novaclient/shell.py", line 903, in main
    OpenStackComputeShell().main(argv)
  File "/usr/lib/python2.7/site-packages/novaclient/shell.py", line 830, in main
    args.func(self.cs, args)
  File "/usr/lib/python2.7/site-packages/novaclient/v2/shell.py", line 1115, in do_image_list
    image_list = cs.images.list(limit=limit)
  File "/usr/lib/python2.7/site-packages/novaclient/v2/images.py", line 74, in list
    return self._list('/images%s%s' % (detail, query), 'images')
  File "/usr/lib/python2.7/site-packages/novaclient/base.py", line 72, in _list
    _resp, body = self.api.client.get(url)
  File "/usr/lib/python2.7/site-packages/keystoneclient/adapter.py", line 170, in get
    return self.request(url, 'GET', **kwargs)
  File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 93, in request
    raise exceptions.from_response(resp, body, url, method)
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-b4edaec7-d03c-4cd3-a782-3c5ac0e88cc4)
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-b4edaec7-d03c-4cd3-a782-3c5ac0e88cc4)

glance api.log is following

2015-12-15 09:19:07.987 3317 ERROR glance.registry.client.v1.client [req-f41cf4da-f802-477e-ba84-eeb10932c716 504f2af1b9044a3e97bc69e80daf5809 8de4c51458804564b79932efa364524b - - -] Registry client request GET /images/detail raised ServiceUnavailable
2015-12-15 09:19:07.987 3317 ERROR glance.registry.client.v1.client Traceback (most recent call last):
2015-12-15 09:19:07.987 3317 ERROR glance.registry.client.v1.client   File "/usr/lib/python2.7/site-packages/glance/registry/client/v1/client.py", line 121, in do_request
2015-12-15 09:19:07.987 3317 ERROR glance.registry.client.v1.client     **kwargs)
2015-12-15 09:19:07.987 3317 ERROR glance.registry.client.v1.client   File "/usr/lib/python2.7/site-packages/glance/common/client.py", line 71, in wrapped
2015-12-15 09:19:07.987 3317 ERROR glance.registry.client.v1.client     return func(self, *args, **kwargs)
2015-12-15 09:19:07.987 3317 ERROR glance.registry.client.v1.client   File "/usr/lib/python2.7/site-packages/glance/common/client.py", line 375, in do_request
2015-12-15 09:19:07.987 3317 ERROR glance.registry.client.v1.client     headers=copy.deepcopy(headers))
2015-12-15 09:19:07.987 3317 ERROR glance.registry.client.v1.client   File "/usr/lib/python2.7/site-packages/glance/common/client.py", line 88, in wrapped
2015-12-15 09:19:07.987 3317 ERROR glance.registry.client.v1.client     return func(self, method, url, body, headers)
2015-12-15 09:19:07.987 3317 ERROR glance.registry.client.v1.client   File "/usr/lib/python2.7/site-packages/glance/common/client.py", line 534, in _do_request
2015-12-15 09:19:07.987 3317 ERROR glance.registry.client.v1.client     raise exception.ServiceUnavailable(retry=_retry(res))
2015-12-15 09:19:07.987 3317 ERROR glance.registry.client.v1.client ServiceUnavailable: The request returned 503 Service Unavailable. This generally occurs on service overload or other transient outage.
2015-12-15 09:19:07.987 3317 ERROR glance.registry.client.v1.client 
2015-12-15 09:19:07.990 3317 ERROR glance.common.wsgi [req-f41cf4da-f802-477e-ba84-eeb10932c716 504f2af1b9044a3e97bc69e80daf5809 8de4c51458804564b79932efa364524b - - -] Caught error: The request returned 503 Service Unavailable. This generally occurs on service overload or other transient outage.
2015-12-15 09:19:07.990 3317 ERROR glance.common.wsgi Traceback (most recent call last):
2015-12-15 09:19:07.990 3317 ERROR glance.common.wsgi   File "/usr/lib/python2.7/site-packages/glance/common/wsgi.py", line 879, in __call__
2015-12-15 09:19:07.990 3317 ERROR glance.common.wsgi     request, **action_args)
2015-12-15 09:19:07.990 3317 ERROR glance.common.wsgi   File "/usr/lib/python2.7/site-packages/glance/common/wsgi.py", line 907, in dispatch
2015-12-15 09:19:07.990 3317 ERROR glance.common.wsgi     return method(*args, **kwargs)
2015-12-15 09:19:07.990 3317 ERROR glance.common.wsgi   File "/usr/lib/python2.7/site-packages/glance/api/v1/images.py", line 366, in detail
2015-12-15 09:19:07.990 3317 ERROR glance.common.wsgi     images = registry.get_images_detail(req.context, **params)
2015-12-15 09:19:07.990 3317 ERROR glance.common.wsgi   File "/usr/lib/python2.7/site-packages/glance/registry/client/v1/api.py", line 155, in get_images_detail
2015-12-15 09:19:07.990 3317 ERROR glance.common.wsgi     return c.get_images_detailed(**kwargs)
2015-12-15 09:19:07.990 3317 ERROR glance.common.wsgi   File "/usr/lib/python2.7/site-packages/glance/registry/client/v1/client.py", line 150, in get_images_detailed
2015-12-15 09:19:07.990 3317 ERROR glance.common.wsgi     res = self.do_request("GET", "/images/detail", params=params)
2015-12-15 09:19:07.990 3317 ERROR glance.common.wsgi   File "/usr/lib/python2.7/site-packages/glance/registry/client/v1/client.py", line 136, in do_request
2015-12-15 09:19:07.990 3317 ERROR glance.common.wsgi     'exc_name': exc_name})
2015-12-15 09:19:07.990 3317 ERROR glance.common.wsgi   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 195, in __exit__
2015-12-15 09:19:07.990 3317 ERROR glance.common.wsgi     six.reraise(self.type_, self.value, self.tb)
2015-12-15 09:19:07.990 3317 ERROR glance.common.wsgi   File "/usr/lib/python2.7/site-packages/glance/registry/client/v1/client.py", line 121, in do_request
2015-12-15 09:19:07.990 3317 ERROR glance.common.wsgi     **kwargs)
2015-12-15 09:19:07.990 3317 ERROR glance.common.wsgi   File "/usr/lib/python2.7/site-packages/glance/common/client.py", line 71, in wrapped
2015-12-15 09:19:07.990 3317 ERROR glance.common.wsgi     return func(self, *args, **kwargs)
2015-12-15 09:19:07.990 3317 ERROR glance.common.wsgi   File "/usr/lib/python2.7/site-packages/glance/common/client.py", line 375, in do_request
2015-12-15 09:19:07.990 3317 ERROR glance.common.wsgi     headers=copy.deepcopy(headers))
2015-12-15 09:19:07.990 3317 ERROR glance.common.wsgi   File "/usr/lib/python2.7/site-packages/glance/common/client.py", line 88, in wrapped
2015-12-15 09:19:07.990 3317 ERROR glance.common.wsgi     return func(self, method, url, body, headers)
2015-12-15 09:19:07.990 3317 ERROR glance.common.wsgi   File "/usr/lib/python2.7/site-packages/glance/common/client.py", line 534, in _do_request
2015-12-15 09:19:07.990 3317 ERROR glance.common.wsgi     raise exception.ServiceUnavailable(retry=_retry(res))
2015-12-15 09:19:07.990 3317 ERROR glance.common.wsgi ServiceUnavailable: The request returned 503 Service Unavailable. This generally occurs on service overload or other transient outage.
2015-12-15 09:19:07.990 3317 ERROR glance.common.wsgi 
2015-12-15 09:19:07.994 3317 INFO eventlet.wsgi.server [req-f41cf4da-f802-477e-ba84-eeb10932c716 504f2af1b9044a3e97bc69e80daf5809 8de4c51458804564b79932efa364524b - - -] 192.168.219.11 - - [15/Dec/2015 09:19:07] "GET /v1/images/detail?is_public=none&limit=20 HTTP/1.1" 500 454 3.620687

glance registry.log is following

2015-12-15 09:19:04.440 3261 WARNING keystoneclient.auth.identity.base [-] Failed to contact the endpoint at http://controller:5000/v2.0 for discovery. Fallback to using that endpoint as the base url.
2015-12-15 09:19:04.443 3261 INFO keystoneclient.session [-] Failure: Unable to establish connection to http://controller:5000/v2.0/auth/tokens. Retrying in 0.5s.
2015-12-15 09:19:04.946 3261 INFO keystoneclient.session [-] Failure: Unable to establish connection to http://controller:5000/v2.0/auth/tokens. Retrying in 1.0s.
2015-12-15 09:19:05.961 3261 INFO keystoneclient.session [-] Failure: Unable to establish connection to http://controller:5000/v2.0/auth/tokens. Retrying in 2.0s.
2015-12-15 09:19:07.964 3261 CRITICAL keystonemiddleware.auth_token [-] Unable to validate token: Unable to establish connection to http://controller:5000/v2.0/auth/tokens
2015-12-15 09:19:07.978 3261 INFO eventlet.wsgi.server [-] 127.0.0.1 - - [15/Dec/2015 09:19:07] "GET /images/detail?is_public=none&limit=20 HTTP/1.1" 503 235 3.542707