← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1785382] [NEW] GET /resource_providers/{uuid}/allocations doesn't get all the allocations

 

Public bug reported:

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

GET /resource_providers/{uuid}/allocations doesn't get all the
allocations

Reproduce
=========

1. Set 1 resource provider with some inventories
2. A user (userA) in a project(projectX)  makes 1 consumer (Consumer1) allocate on the rp
3. The same user (userA) in the project(projectX)  makes another consumer (Consumer2) allocate on the rp
4. Another user (userB) in the project(projectX)  makes another consumer (Consumer3) allocate on the rp
5. An admin uses `GET /resource_providers/{rp_uuid}/allocations` to get the consumers allocated.

Expected
========

The admin gets 3 consumers for the response, Consumer1, 2 and 3.

Actual
======

The admin gets 2 consumers for the response, Consumer1, 2.

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

Title:
  GET /resource_providers/{uuid}/allocations doesn't get all the
  allocations

Status in OpenStack Compute (nova):
  New

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

  GET /resource_providers/{uuid}/allocations doesn't get all the
  allocations

  Reproduce
  =========

  1. Set 1 resource provider with some inventories
  2. A user (userA) in a project(projectX)  makes 1 consumer (Consumer1) allocate on the rp
  3. The same user (userA) in the project(projectX)  makes another consumer (Consumer2) allocate on the rp
  4. Another user (userB) in the project(projectX)  makes another consumer (Consumer3) allocate on the rp
  5. An admin uses `GET /resource_providers/{rp_uuid}/allocations` to get the consumers allocated.

  Expected
  ========

  The admin gets 3 consumers for the response, Consumer1, 2 and 3.

  Actual
  ======

  The admin gets 2 consumers for the response, Consumer1, 2.

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


Follow ups