]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph-iscsi: create pool once from monitor
authorDimitri Savineau <dsavinea@redhat.com>
Sat, 26 Sep 2020 00:58:30 +0000 (20:58 -0400)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 29 Sep 2020 05:31:24 +0000 (07:31 +0200)
commit501b8e0fd303599ca886fa180cf4a8adfc20b5ed
tree9f2c94018821087d57926165c09b75a654dfd1a5
parent69f7e353823fffd9dff505679f9c9dbeb4fd810d
ceph-iscsi: create pool once from monitor

af9f6684 introduced a regression on the ceph iscsi pool creation
because it was delegated to the first monitor node before that change.
This patch restores the initial worflow.
When the iscsi node doesn't have the admin keyring then the pool
creation fails.
This commit also ensures that the pool creation is only executed once
when having multiple iscsi nodes.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
roles/ceph-iscsi-gw/tasks/common.yml