Quotas commands do not work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Magnum |
Fix Released
|
High
|
Spyros Trigazis |
Bug Description
When running quotas-* command, we get following error.
"Policy doesn't allow quota:* to be performed."
Definitions of policies for quotas seem to have misspell at follow.
Changing above line to "QUOTA = 'quota:%s'", i.e. remove 's' from 'quotas', quotas-* commands works fine.
See details as follows:
- command
magnum quotas-show --project-id c9c01be0ee774ca
ERROR: Policy doesn't allow quota:get to be performed (HTTP 403) (Request-ID: req-1e92f690-
- logs
Dec 14 17:05:16 devstack magnum-api[16153]: 2017-12-14 17:05:16.189 DEBUG oslo_policy.
Dec 14 17:05:16 devstack magnum-api[16153]: 2017-12-14 17:05:16.198 DEBUG oslo_policy.policy [req-a720b4b8-
Dec 14 17:05:16 devstack magnum-api[16153]: 2017-12-14 17:05:16.222 DEBUG oslo_policy.policy [req-5ce6a30c-
Dec 14 17:05:16 devstack magnum-api[16153]: 2017-12-14 17:05:16.222 DEBUG wsme.api [req-5ce6a30c-
Dec 14 17:05:16 devstack magnum-api[16153]: 2017-12-14 17:05:16.223 INFO werkzeug [req-5ce6a30c-
Changed in magnum: | |
importance: | Undecided → High |
Changed in magnum: | |
assignee: | Shu Muto (shu-mutou) → Spyros Trigazis (strigazi) |
Fix proposed to branch: master /review. openstack. org/528137
Review: https:/