Can only reset cinder volume state as the admin user

Solution Verified - Updated -

Issue

  • Unable to reset cinder volume state as non-admin user.
  • How to edit cinder policy.json to allow users to reset volume states
  • The following is an example the error seen when only the admin user is allowed to reset volume state:
cinder reset-state --state available --attach-status detached 9919a397-01da-415d-8886-7a118d65d23d
Reset state for volume 9919a397-01da-415d-8886-7a118d65d23d failed: Forbidden (HTTP 403) (Request-ID: req-72300104-c9c9-4e5a-97ac-169dc4c7b053)

Environment

  • Red Hat OpenStack Platform 7.0 6.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content