Can't disable extend_volume call via policy

Bug #1220752 reported by Duncan Thomas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Invalid
Undecided
Duncan Thomas

Bug Description

extend_volume was recently added to the API. Drivers need modifying to support this, so in the meantime it would be useful to disable the call, since it otherwise puts volumes straight into an error state, which requires sysadmin intervention to avoid custoemr data loss.

Revision history for this message
John Griffith (john-griffith) wrote :

Adding the following to the policy file seems to work for me:
"volume:extend": [["role:disabled"]],

Revision history for this message
Duncan Thomas (duncan-thomas) wrote :

Ok, PEBCAK

Don't use single quotes in policy.js - thanks to guitarzan for pointing out my error.

The following works fine:
"volume:extend": [["role:disabled"]],

(Assuming you don't have a role called 'disabled' of course)

Changed in cinder:
assignee: nobody → Duncan Thomas (duncan-thomas)
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.