← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1221679] Re: 'os-hypervisors/detail' breaks if service key is not present

 

** Changed in: nova
       Status: In Progress => Invalid

-- 
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/1221679

Title:
  'os-hypervisors/detail'  breaks if service key is not present

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  If we make a GET request to API 'os-hypervisors/detail' and if any of
  the hypervisor doesn't have service attribute present then API
  responds in 400.

  Problem in the code :

  This should be handled at
  /nova/api/openstack/compute/contrib/hypervisors.py:146 and should
  first check hypervisor['service'] key is present before accessing
  hypervisor['service']['host']

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