Skip to content

Commit 77953d8

Browse files
committed
cinder_adoption, netapp/iSCSI: track also netapp_pool_name_search_pattern
Only if defined.
1 parent 56875eb commit 77953d8

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tests/roles/cinder_adoption/defaults/main.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ cinder_volume_netapp_vars:
120120
- netapp_password
121121
- netapp_server_hostname
122122
- netapp_vserver
123+
- netapp_pool_name_search_pattern
123124

124125
# Vars for cinder-backup
125126
cinder_backup_nfs_backup_mount_point_base: "/var/lib/cinder/backup"

tests/roles/cinder_adoption/templates/cinder-volume-ontap-secrets.yaml.j2

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,6 @@ stringData:
1919
nas_host = {{ cinder_netapp_share_config.nfs_server }}
2020
nas_share_path = {{ cinder_netapp_share_config.nfs_path }}
2121
{% endif %}
22+
{% if cinder_volume_backend == 'ontap-iscsi' %}
23+
netapp_pool_name_search_pattern = {{ cinder_netapp_config.netapp_pool_name_search_pattern|default('') }}
24+
{% endif %}

0 commit comments

Comments
 (0)