← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1849164] Re: nova policy doc does not include the PUT and Rebuild servers APIs for 'show:host_status' and 'os-extended-server-attributes'

 

Reviewed:  https://review.opendev.org/689833
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=4722fe5ba568446d6bbd07791b94c9f573be2eeb
Submitter: Zuul
Branch:    master

commit 4722fe5ba568446d6bbd07791b94c9f573be2eeb
Author: Ghanshyam Mann <gmann@xxxxxxxxxxxxxxxxx>
Date:   Mon Oct 21 16:12:36 2019 +0000

    Fix policy doc for host_status and extended servers attribute
    
    In microversion 2.75, host_status and extended-server-attributes
    were added in PUT /servers/{server-id} and POST /servers/action {rebuild }
    API response with respective policy enforcement[1].
    
    But PUT and rebuild APIs were missed to mentioned in policy doc
    for 'os_compute_api:servers:show:host_status'
    'os_compute_api:os-extended-server-attributes'
    
    - https://docs.openstack.org/nova/latest/configuration/policy.html
    
    Closes-Bug: #1849164
    
    [1]
    https://github.com/openstack/nova/blob/964d7dc87989b5765fcc60d34f734963ab8e03e7/nova/api/openstack/compute/servers.py#L854
    
    https://github.com/openstack/nova/blob/964d7dc87989b5765fcc60d34f734963ab8e03e7/nova/api/openstack/compute/servers.py#L1161
    
    Change-Id: Ifac1e60f5c8d9c5e3a0a9dacc398c339c2216689


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

Title:
  nova policy doc does not include the PUT and Rebuild servers APIs for
  'show:host_status' and 'os-extended-server-attributes'

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  In microversion 2.75, host_status and extended-server-attributes were
  added in PUT /servers/{server-id} and POST /servers/action {rebuild }
  API response with respective policy enforcement[1].

  But PUT and rebuild APIs were missed to mentioned in policy doc for
  'os_compute_api:servers:show:host_status' 'os_compute_api:os-extended-
  server-attributes'

  - https://docs.openstack.org/nova/latest/configuration/policy.html

  [1]
  https://github.com/openstack/nova/blob/964d7dc87989b5765fcc60d34f734963ab8e03e7/nova/api/openstack/compute/servers.py#L854

  https://github.com/openstack/nova/blob/964d7dc87989b5765fcc60d34f734963ab8e03e7/nova/api/openstack/compute/servers.py#L1161

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


References