← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1528081] [NEW] Unexpected API Error

 

Public bug reported:


2015-12-20 04:22:59.286 DEBUG nova.api.openstack.wsgi [req-a2cd2bde-867b-4034-b801-992f587b2c68 admin admin] Calling method '<bound method VersionsController.show of <nova.api.openstack.compute.versionsV21.VersionsController object at 0x7fe06b95cd10>>' _process_stack /opt/stack/nova/nova/api/openstack/wsgi.py:798
2015-12-20 04:22:59.288 INFO nova.osapi_compute.wsgi.server [req-a2cd2bde-867b-4034-b801-992f587b2c68 admin admin] 10.109.194.142 "GET /v2.1/ HTTP/1.1" status: 200 len: 656 time: 0.0067410
2015-12-20 04:22:59.503 DEBUG nova.api.openstack.wsgi [req-eadce1c4-d582-4bf5-bb2f-c964404f3abc admin admin] Calling method '<bound method HypervisorsController.index of <nova.api.openstack.compute.hypervisors.HypervisorsController object at 0x7fe06bb8d850>>' _process_stack /opt/stack/nova/nova/api/openstack/wsgi.py:798
2015-12-20 04:22:59.523 ERROR nova.api.openstack.extensions [req-eadce1c4-d582-4bf5-bb2f-c964404f3abc admin admin] Unexpected exception in API method
2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions Traceback (most recent call last):
2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions   File "/opt/stack/nova/nova/api/openstack/extensions.py", line 478, in wrapped
2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions     return f(*args, **kwargs)
2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions   File "/opt/stack/nova/nova/api/openstack/compute/hypervisors.py", line 88, in index
2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions     for hyp in compute_nodes])
2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions   File "/opt/stack/nova/nova/compute/api.py", line 3463, in service_get_by_compute_host
2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions     return objects.Service.get_by_compute_host(context, host_name)
2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions   File "/usr/local/lib/python2.7/dist-packages/oslo_versionedobjects/base.py", line 180, in wrapper
2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions     result = fn(cls, context, *args, **kwargs)
2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions   File "/opt/stack/nova/nova/objects/service.py", line 219, in get_by_compute_host
2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions     db_service = db.service_get_by_compute_host(context, host)
2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions   File "/opt/stack/nova/nova/db/api.py", line 157, in service_get_by_compute_host
2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions     use_slave=use_slave)
2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions   File "/opt/stack/nova/nova/db/sqlalchemy/api.py", line 531, in service_get_by_compute_host
2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions     raise exception.ComputeHostNotFound(host=host)
2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions ComputeHostNotFound: Compute host controller1 could not be found.
2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions
2015-12-20 04:22:59.524 INFO nova.api.openstack.wsgi [req-eadce1c4-d582-4bf5-bb2f-c964404f3abc admin admin] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'nova.exception.ComputeHostNotFound'>
2015-12-20 04:22:59.525 DEBUG nova.api.openstack.wsgi [req-eadce1c4-d582-4bf5-bb2f-c964404f3abc admin admin] Returning 500 to user: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'nova.exception.ComputeHostNotFound'> __call__ /opt/stack/nova/nova/api/openstack/wsgi.py:1180


Nova log is attached

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

Title:
   Unexpected API Error

Status in OpenStack Compute (nova):
  New

Bug description:
  
  2015-12-20 04:22:59.286 DEBUG nova.api.openstack.wsgi [req-a2cd2bde-867b-4034-b801-992f587b2c68 admin admin] Calling method '<bound method VersionsController.show of <nova.api.openstack.compute.versionsV21.VersionsController object at 0x7fe06b95cd10>>' _process_stack /opt/stack/nova/nova/api/openstack/wsgi.py:798
  2015-12-20 04:22:59.288 INFO nova.osapi_compute.wsgi.server [req-a2cd2bde-867b-4034-b801-992f587b2c68 admin admin] 10.109.194.142 "GET /v2.1/ HTTP/1.1" status: 200 len: 656 time: 0.0067410
  2015-12-20 04:22:59.503 DEBUG nova.api.openstack.wsgi [req-eadce1c4-d582-4bf5-bb2f-c964404f3abc admin admin] Calling method '<bound method HypervisorsController.index of <nova.api.openstack.compute.hypervisors.HypervisorsController object at 0x7fe06bb8d850>>' _process_stack /opt/stack/nova/nova/api/openstack/wsgi.py:798
  2015-12-20 04:22:59.523 ERROR nova.api.openstack.extensions [req-eadce1c4-d582-4bf5-bb2f-c964404f3abc admin admin] Unexpected exception in API method
  2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions Traceback (most recent call last):
  2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions   File "/opt/stack/nova/nova/api/openstack/extensions.py", line 478, in wrapped
  2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions     return f(*args, **kwargs)
  2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions   File "/opt/stack/nova/nova/api/openstack/compute/hypervisors.py", line 88, in index
  2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions     for hyp in compute_nodes])
  2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions   File "/opt/stack/nova/nova/compute/api.py", line 3463, in service_get_by_compute_host
  2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions     return objects.Service.get_by_compute_host(context, host_name)
  2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions   File "/usr/local/lib/python2.7/dist-packages/oslo_versionedobjects/base.py", line 180, in wrapper
  2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions     result = fn(cls, context, *args, **kwargs)
  2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions   File "/opt/stack/nova/nova/objects/service.py", line 219, in get_by_compute_host
  2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions     db_service = db.service_get_by_compute_host(context, host)
  2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions   File "/opt/stack/nova/nova/db/api.py", line 157, in service_get_by_compute_host
  2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions     use_slave=use_slave)
  2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions   File "/opt/stack/nova/nova/db/sqlalchemy/api.py", line 531, in service_get_by_compute_host
  2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions     raise exception.ComputeHostNotFound(host=host)
  2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions ComputeHostNotFound: Compute host controller1 could not be found.
  2015-12-20 04:22:59.523 6543 ERROR nova.api.openstack.extensions
  2015-12-20 04:22:59.524 INFO nova.api.openstack.wsgi [req-eadce1c4-d582-4bf5-bb2f-c964404f3abc admin admin] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'nova.exception.ComputeHostNotFound'>
  2015-12-20 04:22:59.525 DEBUG nova.api.openstack.wsgi [req-eadce1c4-d582-4bf5-bb2f-c964404f3abc admin admin] Returning 500 to user: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'nova.exception.ComputeHostNotFound'> __call__ /opt/stack/nova/nova/api/openstack/wsgi.py:1180


  Nova log is attached

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