← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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

** Affects: nova
     Importance: Undecided
     Assignee: Ghanshyam Mann (ghanshyammann)
         Status: In Progress

-- 
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):
  In Progress

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


Follow ups