yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #47812
[Bug 1555638] Re: nova image-list return HTTP500
*** This bug is a duplicate of bug 1527925 ***
https://bugs.launchpad.net/bugs/1527925
** This bug has been marked a duplicate of bug 1527925
glanceclient.exc.HTTPInternalServerError when running nova image-list
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1555638
Title:
nova image-list return HTTP500
Status in OpenStack Compute (nova):
New
Bug description:
Using the following version:
[root@localhost ~]# nova --version
2.30.1
I can list the image with glance image-list with no trouble
[root@localhost ~]# glance image-list
+--------------------------------------+--------+
| ID | Name |
+--------------------------------------+--------+
| 8d9ba8bb-3e72-4dce-a2ad-6ad39133e1ca | cirros |
+--------------------------------------+--------+
[root@localhost ~]# 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: Thu, 10 Mar 2016 01:25:42 GMT content-type: application/json x-openstack-request-id: req-ef3f1bd4-4f86-422c-9b3c-6e0149bc4ecd
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 2257
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}86e778446f31f9691d7021395390a261df72c985"
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: Thu, 10 Mar 2016 01:25:42 GMT connection: keep-alive content-type: application/json content-length: 375 x-compute-request-id: req-1e6d4334-122f-4a6e-ba04-77b8a7ac20dd
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/e778eae986e7486d88680a208d1a4e5b/images/detail -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}86e778446f31f9691d7021395390a261df72c985"
DEBUG (connectionpool:383) "GET /v2/e778eae986e7486d88680a208d1a4e5b/images/detail HTTP/1.1" 500 214
DEBUG (session:215) RESP: [500] date: Thu, 10 Mar 2016 01:25:43 GMT connection: keep-alive content-type: application/json; charset=UTF-8 content-length: 214 x-compute-request-id: req-93a10ea2-3dfe-4235-9c27-5908a4aeb829
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-93a10ea2-3dfe-4235-9c27-5908a4aeb829)
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-93a10ea2-3dfe-4235-9c27-5908a4aeb829)
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-93a10ea2-3dfe-4235-9c27-5908a4aeb829)
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1555638/+subscriptions
References