The policy.json file in Configuration Reference - compute:get_all no longer exists
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Unassigned | ||
openstack-manuals |
Won't Fix
|
Low
|
Stephen Finucane |
Bug Description
- [x] This doc is inaccurate in this way:
The "compute:get_all" example is no longer valid, that rule does not exist in Nova in Ocata. It did back in Mitaka, but in Newton the policy for Nova was all moved into code. The "compute:get_all" rule was for the old v2 API.
With the v2.1 API the rule is now something like "os_compute_
This is a minor issue, very low severity, but the docs could be updated to replace "compute:get_all" with "os_compute_
-------
Release: 15.0.0 on 2017-04-10 10:26
SHA: 42e384ee11368ba
Source: https:/
URL: https:/
Changed in openstack-manuals: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
milestone: | none → pike |
assignee: | nobody → Alexandra Settle (alexandra-settle) |
tags: | added: low-hanging-fruit |
Changed in openstack-manuals: | |
assignee: | Alexandra Settle (alexandra-settle) → nobody |
Changed in openstack-manuals: | |
assignee: | nobody → Chetna (ck-khullar) |
Changed in openstack-manuals: | |
status: | Confirmed → Won't Fix |
tags: | added: doc |
Changed in nova: | |
status: | New → Confirmed |
importance: | Undecided → Low |
The examples are also a bit odd because before the examples there is a warning about not modifying from the defaults:
"While recipes for editing policy.json files are found on blogs, modifying the policy can have unexpected side effects and is not encouraged."
But then the example shows:
"compute:get_all" : ""
Which was not the actual default back when this was defined in Mitaka:
"compute:get_all": "rule:admin_ or_owner" ,
https:/ /github. com/openstack/ nova/blob/ stable/ mitaka/ etc/nova/ policy. json#L14