yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #65844
[Bug 1703066] Re: Add "default" rule when generate policy.yaml.sample
There is no compute:get_all in horizon's default nova_policy.json
either:
https://github.com/openstack/horizon/blob/master/openstack_dashboard/conf/nova_policy.json
Which version of Horizon are you using?
** Changed in: nova
Status: In Progress => Incomplete
** Also affects: horizon
Importance: Undecided
Status: New
--
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/1703066
Title:
Add "default" rule when generate policy.yaml.sample
Status in OpenStack Dashboard (Horizon):
In Progress
Status in OpenStack Compute (nova):
Incomplete
Bug description:
When we use tox to generate "policy.yaml.sample", the "default" policy
is not included in the file. The default rule is enforced when a
requested rule is not found. I think it's necessary for our project.
By the way, I tried to use "policy.yaml" generated by nova in horizon.
And horizon can't show the "Admin->Instances" panel. I found this
panel need a rule called "compute:get_all". I found the default policy
file in horizon called "nova_policy.json" has "default" rule. So it
can work well.
So I think we should add this "default" rule when we generate
"policy.yaml.sample" in nova.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1703066/+subscriptions
References