yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #44086
[Bug 1531466] [NEW] nova image-list : class 'glanceclient.exc.HTTPInternalServerError'
*** This bug is a duplicate of bug 1529533 ***
https://bugs.launchpad.net/bugs/1529533
Public bug reported:
When I use nova image-list
The shell show
2016-01-06 18:48:12.797 17425 ERROR nova.api.openstack.extensions
2016-01-06 18:48:12.798 17425 INFO nova.api.openstack.wsgi [req-325e4528-6ad4-4d2a-b002-c25641c3984c 7ecbdc5cc6c84fcc9ac3e8a16c3466f6 761c06cd298b415c8cee31c9b84cf030 - - -
] 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'>
2016-01-06 18:48:12.799 17425 INFO nova.osapi_compute.wsgi.server [req-325e4528-6ad4-4d2a-b002-c25641c3984c 7ecbdc5cc6c84fcc9ac3e8a16c3466f6 761c06cd298b415c8cee31c9b84cf03
0 - - -] 192.168.47.129 "GET /v2/761c06cd298b415c8cee31c9b84cf030/images/detail HTTP/1.1" status: 500 len: 445 time: 0.3021619
2016-01-06 18:48:44.666 17424 INFO nova.osapi_compute.wsgi.server [req-911996ae-7b7e-429b-9f58-1e4123dccc96 7ecbdc5cc6c84fcc9ac3e8a16c3466f6 761c06cd298b415c8cee31c9b84cf03
0 - - -] 192.168.47.129 "GET /v2/ HTTP/1.1" status: 200 len: 573 time: 0.0328021
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions [req-ad1aee3c-9c14-4678-b8d4-59ba2ac371df 7ecbdc5cc6c84fcc9ac3e8a16c3466f6 761c06cd298b415c8cee31c9b84cf03
0 - - -] Unexpected exception in API method
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions Traceback (most recent call last):
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/openstack/extensions.py", line 478, in wrapped
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions return f(*args, **kwargs)
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/images.py", line 145, in detail
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions **page_params)
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/image/api.py", line 68, in get_all
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions return session.detail(context, **kwargs)
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 284, in detail
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions for image in images:
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/glanceclient/v1/images.py", line 254, in list
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions for image in paginate(params, return_request_id):
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/glanceclient/v1/images.py", line 238, in paginate
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions images, resp = self._list(url, "images")
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/glanceclient/v1/images.py", line 63, in _list
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions resp, body = self.client.get(url)
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/glanceclient/common/http.py", line 280, in get
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions return self._request('GET', url, **kwargs)
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/glanceclient/common/http.py", line 272, in _request
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions resp, body_iter = self._handle_response(resp)
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/glanceclient/common/http.py", line 93, in _handle_response
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions raise exc.from_response(resp, resp.content)
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions HTTPInternalServerError: 500 Internal Server Error: The server has either erred or is incapable of perform
ing the requested operation. (HTTP 500)
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions
2016-01-06 18:48:50.297 17424 INFO nova.api.openstack.wsgi [req-ad1aee3c-9c14-4678-b8d4-59ba2ac371df 7ecbdc5cc6c84fcc9ac3e8a16c3466f6 761c06cd298b415c8cee31c9b84cf030 - - -
] 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'>
2016-01-06 18:48:50.298 17424 INFO nova.osapi_compute.wsgi.server [req-ad1aee3c-9c14-4678-b8d4-59ba2ac371df 7ecbdc5cc6c84fcc9ac3e8a16c3466f6 761c06cd298b415c8cee31c9b84cf03
0 - - -] 192.168.47.129 "GET /v2/761c06cd298b415c8cee31c9b84cf030/images/detail HTTP/1.1" status: 500 len: 445 time: 5.4709201
[root@controller1 nova]# vi /etc/nova/nova.conf
[root@controller1 nova]# 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-eef1f03b-821d-4bf9-b41d-78f4e1ea3c03)
[root@controller1 nova]# 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-973c7904-393d-4753-85df-094f760ed817)
[root@controller1 nova]# systemctl restart openstack-nova-api.service openstack-nova-cert.service openstack-nova-consoleauth.service openstack-nova-scheduler.service openstack-nova-conductor.service openstack-nova-novncproxy.service
[root@controller1 nova]# 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-dff6b18d-6cf6-4e4e-9228-d6a2b5975c12)
Thank You
** Affects: nova
Importance: Undecided
Status: New
--
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/1531466
Title:
nova image-list : class 'glanceclient.exc.HTTPInternalServerError'
Status in OpenStack Compute (nova):
New
Bug description:
When I use nova image-list
The shell show
2016-01-06 18:48:12.797 17425 ERROR nova.api.openstack.extensions
2016-01-06 18:48:12.798 17425 INFO nova.api.openstack.wsgi [req-325e4528-6ad4-4d2a-b002-c25641c3984c 7ecbdc5cc6c84fcc9ac3e8a16c3466f6 761c06cd298b415c8cee31c9b84cf030 - - -
] 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'>
2016-01-06 18:48:12.799 17425 INFO nova.osapi_compute.wsgi.server [req-325e4528-6ad4-4d2a-b002-c25641c3984c 7ecbdc5cc6c84fcc9ac3e8a16c3466f6 761c06cd298b415c8cee31c9b84cf03
0 - - -] 192.168.47.129 "GET /v2/761c06cd298b415c8cee31c9b84cf030/images/detail HTTP/1.1" status: 500 len: 445 time: 0.3021619
2016-01-06 18:48:44.666 17424 INFO nova.osapi_compute.wsgi.server [req-911996ae-7b7e-429b-9f58-1e4123dccc96 7ecbdc5cc6c84fcc9ac3e8a16c3466f6 761c06cd298b415c8cee31c9b84cf03
0 - - -] 192.168.47.129 "GET /v2/ HTTP/1.1" status: 200 len: 573 time: 0.0328021
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions [req-ad1aee3c-9c14-4678-b8d4-59ba2ac371df 7ecbdc5cc6c84fcc9ac3e8a16c3466f6 761c06cd298b415c8cee31c9b84cf03
0 - - -] Unexpected exception in API method
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions Traceback (most recent call last):
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/openstack/extensions.py", line 478, in wrapped
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions return f(*args, **kwargs)
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/images.py", line 145, in detail
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions **page_params)
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/image/api.py", line 68, in get_all
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions return session.detail(context, **kwargs)
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 284, in detail
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions for image in images:
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/glanceclient/v1/images.py", line 254, in list
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions for image in paginate(params, return_request_id):
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/glanceclient/v1/images.py", line 238, in paginate
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions images, resp = self._list(url, "images")
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/glanceclient/v1/images.py", line 63, in _list
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions resp, body = self.client.get(url)
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/glanceclient/common/http.py", line 280, in get
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions return self._request('GET', url, **kwargs)
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/glanceclient/common/http.py", line 272, in _request
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions resp, body_iter = self._handle_response(resp)
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/glanceclient/common/http.py", line 93, in _handle_response
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions raise exc.from_response(resp, resp.content)
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions HTTPInternalServerError: 500 Internal Server Error: The server has either erred or is incapable of perform
ing the requested operation. (HTTP 500)
2016-01-06 18:48:50.297 17424 ERROR nova.api.openstack.extensions
2016-01-06 18:48:50.297 17424 INFO nova.api.openstack.wsgi [req-ad1aee3c-9c14-4678-b8d4-59ba2ac371df 7ecbdc5cc6c84fcc9ac3e8a16c3466f6 761c06cd298b415c8cee31c9b84cf030 - - -
] 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'>
2016-01-06 18:48:50.298 17424 INFO nova.osapi_compute.wsgi.server [req-ad1aee3c-9c14-4678-b8d4-59ba2ac371df 7ecbdc5cc6c84fcc9ac3e8a16c3466f6 761c06cd298b415c8cee31c9b84cf03
0 - - -] 192.168.47.129 "GET /v2/761c06cd298b415c8cee31c9b84cf030/images/detail HTTP/1.1" status: 500 len: 445 time: 5.4709201
[root@controller1 nova]# vi /etc/nova/nova.conf
[root@controller1 nova]# 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-eef1f03b-821d-4bf9-b41d-78f4e1ea3c03)
[root@controller1 nova]# 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-973c7904-393d-4753-85df-094f760ed817)
[root@controller1 nova]# systemctl restart openstack-nova-api.service openstack-nova-cert.service openstack-nova-consoleauth.service openstack-nova-scheduler.service openstack-nova-conductor.service openstack-nova-novncproxy.service
[root@controller1 nova]# 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-dff6b18d-6cf6-4e4e-9228-d6a2b5975c12)
Thank You
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1531466/+subscriptions