Skip to content

Commit 68d8a12

Browse files
committed
Fix multi attach volume hook
Missing namespace var in shell script
1 parent fd9f958 commit 68d8a12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hooks/playbooks/cinder_multiattach_volume_type.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
set -xe -o pipefail
1919
oc -n {{ namespace }} rsh openstackclient \
2020
openstack volume type show {{ cifmw_volume_multiattach_type }} &>/dev/null || \
21-
oc rsh openstackclient \
21+
oc -n {{ openstack }} rsh openstackclient \
2222
openstack volume type create {{ cifmw_volume_multiattach_type }}
2323
oc -n {{ namespace }} rsh openstackclient \
2424
openstack volume type set --property multiattach="<is> True" \

0 commit comments

Comments
 (0)