← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1830800] Re: Compute API in nova - server group "policy" field is a string rather than an object

 

Reviewed:  https://review.opendev.org/661869
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=961435453552569754cb7801c1e5c366dd9d16a8
Submitter: Zuul
Branch:    master

commit 961435453552569754cb7801c1e5c366dd9d16a8
Author: Yikun Jiang <yikunkero@xxxxxxxxx>
Date:   Wed May 29 09:16:51 2019 +0800

    Fix the server group "policy" field type in api-ref
    
    The server group policy field added in v2.64 is a string but
    the API reference says the parameter is an object.
    
    This patch changes it from "object" to "string".
    
    Change-Id: I1b4efe8afb302d94c810389e124c5370cbe72ddf
    Closes-bug: #1830800


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

Title:
  Compute API in nova - server group "policy" field is a string rather
  than an object

Status in OpenStack Compute (nova):
  Fix Released
Status in OpenStack Compute (nova) rocky series:
  Confirmed
Status in OpenStack Compute (nova) stein series:
  Confirmed

Bug description:
  - [x] This doc is inaccurate in this way:

  The server group policy field added in v2.64 is a string but the API
  reference says the parameter is an object.

  https://github.com/openstack/nova/blob/37ccd7ec3a0f0b8f636d8dd82e6e929f462f6586
  /api-ref/source/parameters.yaml#L5368

  https://github.com/openstack/nova/blob/37ccd7ec3a0f0b8f636d8dd82e6e929f462f6586/nova/api/openstack/compute/schemas/server_groups.py#L60

  -----------------------------------
  Release: 19.1.0.dev441 on 2019-03-26 18:09:01
  SHA: 37ccd7ec3a0f0b8f636d8dd82e6e929f462f6586
  Source: https://opendev.org/openstack/nova/src/api-ref/source/index.rst
  URL: https://developer.openstack.org/api-ref/compute/

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


References