Public bug reported:

Description
============

In ``GET /allocation_candidates`` API, ``provider_summaries`` should show all 
the inventories for all the resource classes in all the resource providers.
However, ``provider_summaries`` doesn't contain resources that aren't requested.

Steps to reproduce
==================
Here's one example:

CN1 has inventory in VCPU, MEMORY_MB, and DISK_GB.
I make a request for only VCPU resource.

Expected result
===============

In API response, 
* "allocation_requests" shows "allocation" of VCPU resource of CN1.
* "provider_summaries" shows "resources" of VCPU, MEMORY_MB, and DISK_GB  of 
CN1.

Actual result
=============

In API response, 
* "allocation_requests" shows "allocation" of VCPU resource of CN1.
* "provider_summaries" shows "resources" of only VCPU of CN1.

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

Title:
  "provider_summaries" doesn't include resources that are not requested

Status in OpenStack Compute (nova):
  New

Bug description:
  Description
  ============

  In ``GET /allocation_candidates`` API, ``provider_summaries`` should show all 
the inventories for all the resource classes in all the resource providers.
  However, ``provider_summaries`` doesn't contain resources that aren't 
requested.

  Steps to reproduce
  ==================
  Here's one example:

  CN1 has inventory in VCPU, MEMORY_MB, and DISK_GB.
  I make a request for only VCPU resource.

  Expected result
  ===============

  In API response, 
  * "allocation_requests" shows "allocation" of VCPU resource of CN1.
  * "provider_summaries" shows "resources" of VCPU, MEMORY_MB, and DISK_GB  of 
CN1.

  Actual result
  =============

  In API response, 
  * "allocation_requests" shows "allocation" of VCPU resource of CN1.
  * "provider_summaries" shows "resources" of only VCPU of CN1.

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to