Skip to content

Commit

Permalink
ceph-iscsi: set the pool name in the config file
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
dsavineau authored and guits committed Nov 24, 2020
1 parent 6ba4c8c commit 40a87c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions roles/ceph-iscsi-gw/templates/iscsi-gateway.cfg.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 40a87c4

Please sign in to comment.