yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #22726
[Bug 1376096] [NEW] nova show policy doesn't work
Public bug reported:
I want to allow a user with a certain role to be able to do a nova show.
I set the policy.json file to allow this by setting
======================
"context_is_admin": "role:admin",
"admin_or_owner": "is_admin:True or project_id:%(project_id)s",
"default": "rule:admin_or_owner",
"monitoring": "role:monitoring",
"monitoring_or_default": "rule:default or role:monitoring",
...
"compute:get": "rule:monitoring_or_default",
=====================
I still get the following:
ERROR: No server with a name or ID of 'XXXXXXXXXXX' exists.
** Affects: nova
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/1376096
Title:
nova show policy doesn't work
Status in OpenStack Compute (Nova):
New
Bug description:
I want to allow a user with a certain role to be able to do a nova
show.
I set the policy.json file to allow this by setting
======================
"context_is_admin": "role:admin",
"admin_or_owner": "is_admin:True or project_id:%(project_id)s",
"default": "rule:admin_or_owner",
"monitoring": "role:monitoring",
"monitoring_or_default": "rule:default or role:monitoring",
...
"compute:get": "rule:monitoring_or_default",
=====================
I still get the following:
ERROR: No server with a name or ID of 'XXXXXXXXXXX' exists.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1376096/+subscriptions
Follow ups
References