← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1703066] [NEW] Add "default" rule when generate policy.yaml.sample

 

Public bug reported:

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.

** Affects: nova
     Importance: Undecided
     Assignee: KaiLi (damonl1)
         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 Compute (nova):
  New

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/nova/+bug/1703066/+subscriptions


Follow ups