← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1506054] [NEW] Can't retrieve hypervisor info - Nova Unexpected API error

 

Public bug reported:

This is a problem I'm seeing in a 3 node DevStack system, stacked today
(14th October 2015).  I click on Hypervisors in the System section of
the Horizon UI, to see hypervisor information.  Horizon shows an error
box "Unable to retrieve hypervisor information".

/var/log/apache2/horizon_error.log includes this:

2015-10-14 11:04:00.379206 REQ: curl -g -i 'http://calico-vm18:8774/v2.1/3c8d3e6c106c44b6ad37140023b92df8/os-hypervisors/detail' -X GET -H "Accept: application/json" -H "User-Agent: python-novaclient" -H "X-Auth-Project-Id: 3c8d3e6c106c44b6ad37140023b92df8" -H "X-Auth-Token: {SHA1}db34b44f5be5800c12f48ab59251dc8277eb0b0c"
2015-10-14 11:04:00.420325 RESP: [500] {'content-length': '208', 'x-compute-request-id': 'req-6881cfe9-5962-4105-bf46-2d164ef4451c', 'vary': 'X-OpenStack-Nova-API-Version', 'connection': 'keep-alive', 'x-openstack-nova-api-version': '2.1', 'date': 'Wed, 14 Oct 2015 11:04:00 GMT', 'content-type': 'application/json; charset=UTF-8'}
2015-10-14 11:04:00.420358 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 'nova.exception.ComputeHostNotFound'>", "code": 500}}
2015-10-14 11:04:00.420365
2015-10-14 11:04:00.420842 Recoverable error: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.

Otherwise the cluster appears to be working; for example I've
successfully launched 10 cirros instances, across the 3 available
compute nodes.

ubuntu@calico-vm18:/opt/stack/nova$ git log -1
commit 1d97b0e7308975cd4a912dda00df8726ba776fe7
Merge: 7200b6a 11e20dd
Author: Jenkins <jenkins@xxxxxxxxxxxxxxxxxxxx>
Date:   Wed Oct 14 08:50:59 2015 +0000

    Merge "Ignore errorcode=4 when executing `cryptsetup remove`
command"

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

Title:
  Can't retrieve hypervisor info - Nova Unexpected API error

Status in OpenStack Compute (nova):
  New

Bug description:
  This is a problem I'm seeing in a 3 node DevStack system, stacked
  today (14th October 2015).  I click on Hypervisors in the System
  section of the Horizon UI, to see hypervisor information.  Horizon
  shows an error box "Unable to retrieve hypervisor information".

  /var/log/apache2/horizon_error.log includes this:

  2015-10-14 11:04:00.379206 REQ: curl -g -i 'http://calico-vm18:8774/v2.1/3c8d3e6c106c44b6ad37140023b92df8/os-hypervisors/detail' -X GET -H "Accept: application/json" -H "User-Agent: python-novaclient" -H "X-Auth-Project-Id: 3c8d3e6c106c44b6ad37140023b92df8" -H "X-Auth-Token: {SHA1}db34b44f5be5800c12f48ab59251dc8277eb0b0c"
  2015-10-14 11:04:00.420325 RESP: [500] {'content-length': '208', 'x-compute-request-id': 'req-6881cfe9-5962-4105-bf46-2d164ef4451c', 'vary': 'X-OpenStack-Nova-API-Version', 'connection': 'keep-alive', 'x-openstack-nova-api-version': '2.1', 'date': 'Wed, 14 Oct 2015 11:04:00 GMT', 'content-type': 'application/json; charset=UTF-8'}
  2015-10-14 11:04:00.420358 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 'nova.exception.ComputeHostNotFound'>", "code": 500}}
  2015-10-14 11:04:00.420365
  2015-10-14 11:04:00.420842 Recoverable error: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.

  Otherwise the cluster appears to be working; for example I've
  successfully launched 10 cirros instances, across the 3 available
  compute nodes.

  ubuntu@calico-vm18:/opt/stack/nova$ git log -1
  commit 1d97b0e7308975cd4a912dda00df8726ba776fe7
  Merge: 7200b6a 11e20dd
  Author: Jenkins <jenkins@xxxxxxxxxxxxxxxxxxxx>
  Date:   Wed Oct 14 08:50:59 2015 +0000

      Merge "Ignore errorcode=4 when executing `cryptsetup remove`
  command"

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


Follow ups