Skip to content

Commit 4611f48

Browse files
committed
CinderApiPolicies: allow force-detach
We have observed in our CI that sometimes volumes aren't detached when being removed. This can be due to the density of testing in our environment. To address this, we allow tenants to force-detach their own volumes. In our CI scripts, we'll use that to force detach volumes before they are cleaned-up in the periodic cleanup jobs.
1 parent 66ac726 commit 4611f48

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

playbooks/templates/standalone_parameters.yaml.j2

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@ parameter_defaults:
111111
cinder-vol-state-set:
112112
key: "volume_extension:volume_admin_actions:reset_status"
113113
value: "rule:admin_or_owner"
114+
cinder-vol-force-detach:
115+
key: "volume_extension:volume_admin_actions:force_detach"
116+
value: "rule:admin_or_owner"
114117
# We never want the node to reboot during tripleo deploy, but defer to later
115118
KernelArgsDeferReboot: true
116119
StandaloneExtraGroupVars:

0 commit comments

Comments
 (0)