← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1376096] Re: nova show policy doesn't work

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => liberty-2

-- 
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):
  Fix Released

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


References