commit | 1c4066a5a84275ff9b5b5f69b17a2c9fac843a04 | [log] [tgz] |
---|---|---|
author | Felipe Monteiro <felipe.monteiro@att.com> | Tue Nov 07 03:30:56 2017 +0000 |
committer | Felipe Monteiro <felipe.monteiro@att.com> | Tue Nov 07 05:35:14 2017 +0000 |
tree | 12a8b9ab81f422fbf7e31805c45b1f6c78e63307 | |
parent | 38f344bb525a45e9bc299de522d4e687f1076c2f [diff] |
Correct policy action for reserve/unreserve volume actions This PS corrects the policy action for reserve and unreserve volume actions. There are a few policy actions that currently have the wrong name. This PS is a pre-requsite for removing strict_policy_enforce Patrole configuration option in order to avoid false positives (e.g. a non-existent policy action being validated against an API). The os-reserve volume actions actually enforces "volume_extension:volume_actions:reserve" and os-unreserve actually enforces "volume_extension:volume_actions:reserve" [0]. [0] https://github.com/openstack/cinder/blob/ae7355c1f8d5d137bfb8bdf7b521ff5519cc20f8/cinder/policies/volume_actions.py#L197 Change-Id: Ib1b68cbde992b57619e877e0a4fe2f1948fdd6c1