← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1435668] [NEW] v2.1- os-hypervisors/servers API returns empty servers list

 

Public bug reported:

In v2.1, os-hypervisors/servers API returns empty servers list in case where hypervisors does not have any servers. This is not case with v2 API.
v2 API does not put 'servers' field in response if it is empty.

So v2.1 should be same as v2 in all cases.

** Affects: nova
     Importance: Undecided
         Status: New

** Summary changed:

- v2.1 os-hypervisors/servers API`response  always has "servers" attributes
+ v2.1- os-hypervisors/servers API returns empty servers list

** Description changed:

- In v2.1, os-hypervisors/servers API response  always has "servers"
- attributes even in case where hypervisors does not have any servers.
- This is not case with v2 API.
+ In v2.1, os-hypervisors/servers API returns empty servers list in case where hypervisors does not have any servers. This is not case with v2 API.
+ v2 API does not put 'servers' field in response if it is empty.
  
  So v2.1 should be same as v2 in all cases.

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

Title:
  v2.1- os-hypervisors/servers API returns empty servers list

Status in OpenStack Compute (Nova):
  New

Bug description:
  In v2.1, os-hypervisors/servers API returns empty servers list in case where hypervisors does not have any servers. This is not case with v2 API.
  v2 API does not put 'servers' field in response if it is empty.

  So v2.1 should be same as v2 in all cases.

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


Follow ups

References