← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1760520] Re: placement: api-ref: wrong order and description of parameters

 

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

commit 9dd1923672f9df59825f8992657e62e61ed71d1c
Author: Takashi NATSUME <natsume.takashi@xxxxxxxxxxxxx>
Date:   Mon Apr 2 10:52:17 2018 +0900

    [placement] api-ref: Fix parameters
    
    This patch fixes the following items.
    
    * GET /resource_providers
    
      Wrong order of query parameters.
      They should be sorted by microversion order.
    
    * POST /resource_providers
    
      A required parameter is defined as optional.
      Set it as required.
    
    Change-Id: I66c9608cd6b4a938ca7f8450d4130e942360a9f0
    Closes-Bug: #1760520


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

Title:
  placement: api-ref:  wrong order and description of parameters

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  In Placement API Reference, there are some wrong description.

  * GET /resource_providers
      
    Wrong order of query parameters.
    They should be sorted by microversion order.
    'required' should be after 'in_tree'.

  * POST /resource_providers

    'parent_provider_uuid' is defined as optional in the response.
    But it should be required.
      
  * GET /allocation_candidates

    The 'member_of' parameter is available from microversion 1.21.
    But it is defined as being available from microversion 1.3 currently.

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


References