From: Dimitri Savineau Date: Tue, 24 Nov 2020 17:35:23 +0000 (-0500) Subject: ceph-iscsi: set the pool name in the config file X-Git-Tag: v4.0.42~16 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e51f68fdbbb60413d8b5bda3b2b8fe48d6fed566;p=ceph-ansible.git ceph-iscsi: set the pool name in the config file 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 (cherry picked from commit 40a87c4b92c658f601b7170400d8b2cb3f849673) --- diff --git a/roles/ceph-iscsi-gw/templates/iscsi-gateway.cfg.j2 b/roles/ceph-iscsi-gw/templates/iscsi-gateway.cfg.j2 index 25f530614..59be8aaea 100644 --- a/roles/ceph-iscsi-gw/templates/iscsi-gateway.cfg.j2 +++ b/roles/ceph-iscsi-gw/templates/iscsi-gateway.cfg.j2 @@ -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