]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-iscsi: set the pool name in the config file
authorDimitri Savineau <dsavinea@redhat.com>
Tue, 24 Nov 2020 17:35:23 +0000 (12:35 -0500)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 24 Nov 2020 19:41:54 +0000 (20:41 +0100)
When using a custom pool for iSCSI gateway then we need to set the pool
name in the configuration otherwise the default rbd pool name will be
used.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
roles/ceph-iscsi-gw/templates/iscsi-gateway.cfg.j2

index 25f530614078d3520e52a2db6e121cc3c7adc066..59be8aaea97b8cef89ae5fa12ce7186ba448d52f 100644 (file)
@@ -6,6 +6,8 @@
 [config]
 cluster_name = {{ cluster }}
 
+pool = {{ iscsi_pool_name }}
+
 # API settings.
 # The API supports a number of options that allow you to tailor it to your
 # local environment. If you want to run the API under https, you will need to