Policy docs for os_compute_api:os-flavor-extra-specs:index don't include 2.47 and 2.61 usage

Bug #1763741 reported by Matt Riedemann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Matt Riedemann
Pike
Confirmed
Medium
Unassigned
Queens
In Progress
Medium
Matt Riedemann

Bug Description

Looking at:

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

It doesn't mention that os_compute_api:os-flavor-extra-specs:index is used by other APIs for 2.47 and 2.61. Specifically:

2.47:

GET /servers/{server_id}
GET /servers/detail
PUT /servers/{server_id}
POST /servers/{server_id} (rebuild)

2.61:

GET /flavors/{flavor_id}
GET /flavors/detail
PUT /flavors/{flavor_id}
POST /flavors

Revision history for this message
Matt Riedemann (mriedem) wrote :

Also note that we'd likely want to split this into two changes, one for 2.47 which could be backported to stable branches, and one for 2.61 which is just for Rocky.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/561403

Changed in nova:
assignee: nobody → Matt Riedemann (mriedem)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/561404

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

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

commit 8a6722ea9cdcbbee417b092a7261339b73dfe0c4
Author: Matt Riedemann <email address hidden>
Date: Sat Apr 14 08:32:12 2018 -0400

    Update os_compute_api:os-flavor-extra-specs:index docs for 2.47

    The 2.47 compute API relies on policy rule
    os_compute_api:os-flavor-extra-specs:index to determine
    if flavor extra specs should be shown in the embedded flavor
    response when showing server details, updating a server or
    rebuilding a server. This change updates the documentation
    for the policy rule to indicate its usage in those APIs.

    Change-Id: I1116751f2a065edf15ea7d492abde6e01c3e4cdb
    Partial-Bug: #1763741

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/563253

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

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

commit d435f2f03ffe6cb473c516b4d21027c706467d59
Author: Matt Riedemann <email address hidden>
Date: Sat Apr 14 08:42:58 2018 -0400

    Update os_compute_api:os-flavor-extra-specs:index docs for 2.61

    The 2.61 microversion relies on this policy rule to determine
    if extra specs should be included directly in responses for
    the flavor resource directly, specifically showing flavor details,
    updating the description of a flavor, and creating a new flavor.

    Change-Id: I8d8bc5c74f9eb9a4c36418d36990cf6db78af061
    Closes-Bug: #1763741

Changed in nova:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/queens)

Reviewed: https://review.openstack.org/563253
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=18d670b0b53f07e18710e84ae490a91c44653f20
Submitter: Zuul
Branch: stable/queens

commit 18d670b0b53f07e18710e84ae490a91c44653f20
Author: Matt Riedemann <email address hidden>
Date: Sat Apr 14 08:32:12 2018 -0400

    Update os_compute_api:os-flavor-extra-specs:index docs for 2.47

    The 2.47 compute API relies on policy rule
    os_compute_api:os-flavor-extra-specs:index to determine
    if flavor extra specs should be shown in the embedded flavor
    response when showing server details, updating a server or
    rebuilding a server. This change updates the documentation
    for the policy rule to indicate its usage in those APIs.

    Change-Id: I1116751f2a065edf15ea7d492abde6e01c3e4cdb
    Partial-Bug: #1763741
    (cherry picked from commit 8a6722ea9cdcbbee417b092a7261339b73dfe0c4)

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova 18.0.0.0b2

This issue was fixed in the openstack/nova 18.0.0.0b2 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.