From e51f68fdbbb60413d8b5bda3b2b8fe48d6fed566 Mon Sep 17 00:00:00 2001 From: Dimitri Savineau Date: Tue, 24 Nov 2020 12:35:23 -0500 Subject: [PATCH] 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) --- roles/ceph-iscsi-gw/templates/iscsi-gateway.cfg.j2 | 2 ++ 1 file changed, 2 insertions(+) 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