Skip to content

Commit 73cec58

Browse files
Merge pull request openstack-k8s-operators#981 from tosky/cinder-adoption-fix-variable
cinder, manila: various fixes (undef vars, file perms, extra net)
2 parents 4593ac4 + 1c81ea5 commit 73cec58

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

tests/roles/cinder_adoption/files/cinder_volume_netapp_nfs.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ spec:
55
ontap-nfs:
66
networkAttachments:
77
- storage
8-
- storageMgmt
98
customServiceConfig: |
109
[ontap-nfs]
1110
volume_backend_name=ontap-nfs

tests/roles/cinder_adoption/tasks/cinder_volume_netapp_nfs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
become: true
55
ansible.builtin.shell: |
66
{{ shell_header }}
7-
{{ controller_ssh }}
87
CONTROLLER1_SCP="{{ controller1_ssh | regex_replace('^ssh', 'scp')}}"
98
${CONTROLLER1_SCP}:{{ cinder_tripleo_path }} {{ cinder_conf_path }}
109
${CONTROLLER1_SCP}:{{ cinder_tripleo_nfs_shares_config_path }} {{ cinder_nfs_shares_conf_path }}
10+
chmod a+r {{ cinder_conf_path }} {{ cinder_nfs_shares_conf_path }}
1111
1212
- name: Extract Netapp data from cinder.conf
1313
ansible.builtin.set_fact:

tests/roles/manila_adoption/tasks/netapp.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
become: true
55
ansible.builtin.shell: |
66
{{ shell_header }}
7-
{{ controller_ssh }}
87
CONTROLLER1_SCP="{{ controller1_ssh | regex_replace('^ssh', 'scp')}}"
98
${CONTROLLER1_SCP}:{{ manila_tripleo_path }} {{ manila_conf_path }}
9+
chmod a+r {{ manila_conf_path }}
1010
1111
- name: Stat the retrieved manila.conf file
1212
ansible.builtin.stat:

0 commit comments

Comments
 (0)