← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1525543] [NEW] ClientException: Unexpected API Error

 

Public bug reported:

OpenStack
Nova version: 2.30.1

2015-12-12 16:33:00.575 2722 INFO nova.osapi_compute.wsgi.server [req-e153dadf-bc09-4181-ac8b-3d83870414b1 e133daa339a047fb80a49be3b5f30c7b 56e85a07917a4818ad98356192037b2d - - -] 10.0.0.40 "GET /v2/ HTTP/1.1" status: 200 len: 572 time: 0.1086259
2015-12-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions [req-89067bd6-ebb3-4b32-ac57-3bbea950f370 e133daa339a047fb80a49be3b5f30c7b 56e85a07917a4818ad98356192037b2d - - -] Unexpected exception in API method
2015-12-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions Traceback (most recent call last):
2015-12-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/extensions.py", line 478, in wrapped
2015-12-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions     return f(*args, **kwargs)
2015-12-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/images.py", line 145, in detail
2015-12-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions     **page_params)
2015-12-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/image/api.py", line 68, in get_all
2015-12-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions     return session.detail(context, **kwargs)
2015-12-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 284, in detail
2015-12-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions     for image in images:
2015-12-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/glanceclient/v1/images.py", line 254, in list
2015-12-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions     for image in paginate(params, return_request_id):
2015-12-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/glanceclient/v1/images.py", line 238, in paginate
2015-12-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions     images, resp = self._list(url, "images")
2015-12-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/glanceclient/v1/images.py", line 63, in _list
2015-12-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions     resp, body = self.client.get(url)
2015-12-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/glanceclient/common/http.py", line 280, in get
2015-12-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions     return self._request('GET', url, **kwargs)
2015-12-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/glanceclient/common/http.py", line 272, in _request
2015-12-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions     resp, body_iter = self._handle_response(resp)
2015-12-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/glanceclient/common/http.py", line 93, in _handle_response
2015-12-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions     raise exc.from_response(resp, resp.content)
2015-12-12 16:33:01.311 2722 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-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions
2015-12-12 16:33:01.329 2722 INFO nova.api.openstack.wsgi [req-89067bd6-ebb3-4b32-ac57-3bbea950f370 e133daa339a047fb80a49be3b5f30c7b 56e85a07917a4818ad98356192037b2d - - -] 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-12 16:33:01.343 2722 INFO nova.osapi_compute.wsgi.server [req-89067bd6-ebb3-4b32-ac57-3bbea950f370 e133daa339a047fb80a49be3b5f30c7b 56e85a07917a4818ad98356192037b2d - - -] 10.0.0.40 "GET /v2/56e85a07917a4818ad98356192037b2d/images/detail HTTP/1.1" status: 500 len: 445 time: 0.1995440

** 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/1525543

Title:
  ClientException: Unexpected API Error

Status in OpenStack Compute (nova):
  New

Bug description:
  OpenStack
  Nova version: 2.30.1

  2015-12-12 16:33:00.575 2722 INFO nova.osapi_compute.wsgi.server [req-e153dadf-bc09-4181-ac8b-3d83870414b1 e133daa339a047fb80a49be3b5f30c7b 56e85a07917a4818ad98356192037b2d - - -] 10.0.0.40 "GET /v2/ HTTP/1.1" status: 200 len: 572 time: 0.1086259
  2015-12-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions [req-89067bd6-ebb3-4b32-ac57-3bbea950f370 e133daa339a047fb80a49be3b5f30c7b 56e85a07917a4818ad98356192037b2d - - -] Unexpected exception in API method
  2015-12-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions Traceback (most recent call last):
  2015-12-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/extensions.py", line 478, in wrapped
  2015-12-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions     return f(*args, **kwargs)
  2015-12-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/images.py", line 145, in detail
  2015-12-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions     **page_params)
  2015-12-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/image/api.py", line 68, in get_all
  2015-12-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions     return session.detail(context, **kwargs)
  2015-12-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 284, in detail
  2015-12-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions     for image in images:
  2015-12-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/glanceclient/v1/images.py", line 254, in list
  2015-12-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions     for image in paginate(params, return_request_id):
  2015-12-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/glanceclient/v1/images.py", line 238, in paginate
  2015-12-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions     images, resp = self._list(url, "images")
  2015-12-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/glanceclient/v1/images.py", line 63, in _list
  2015-12-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions     resp, body = self.client.get(url)
  2015-12-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/glanceclient/common/http.py", line 280, in get
  2015-12-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions     return self._request('GET', url, **kwargs)
  2015-12-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/glanceclient/common/http.py", line 272, in _request
  2015-12-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions     resp, body_iter = self._handle_response(resp)
  2015-12-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/glanceclient/common/http.py", line 93, in _handle_response
  2015-12-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions     raise exc.from_response(resp, resp.content)
  2015-12-12 16:33:01.311 2722 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-12 16:33:01.311 2722 ERROR nova.api.openstack.extensions
  2015-12-12 16:33:01.329 2722 INFO nova.api.openstack.wsgi [req-89067bd6-ebb3-4b32-ac57-3bbea950f370 e133daa339a047fb80a49be3b5f30c7b 56e85a07917a4818ad98356192037b2d - - -] 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-12 16:33:01.343 2722 INFO nova.osapi_compute.wsgi.server [req-89067bd6-ebb3-4b32-ac57-3bbea950f370 e133daa339a047fb80a49be3b5f30c7b 56e85a07917a4818ad98356192037b2d - - -] 10.0.0.40 "GET /v2/56e85a07917a4818ad98356192037b2d/images/detail HTTP/1.1" status: 500 len: 445 time: 0.1995440

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1525543/+subscriptions


Follow ups