← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Reviewed:  https://review.openstack.org/588887
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=e13b765e55758019c243167f0a99c92a0d740400
Submitter: Zuul
Branch:    master

commit e13b765e55758019c243167f0a99c92a0d740400
Author: Tetsuro Nakamura <nakamura.tetsuro@xxxxxxxxxxxxx>
Date:   Sat Aug 4 19:22:50 2018 +0900

    Not use project table for user table
    
    `GET /resource_provider/{uuid}/allocations` API didn't
    return all the allocations made by multiple users.
    
    This was because the placement wrongly used project table
    for user table. This patch fixes it with the test case.
    
    Change-Id: I7c808dec5de1204ced0d1f1b31d8398de8c51679
    Closes-Bug: #1785382


** Changed in: nova
       Status: In Progress => Fix Released

-- 
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):
  Fix Released

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


References