From: Mike Christie Date: Wed, 8 Aug 2018 16:49:38 +0000 (-0500) Subject: stable 3.1 igw: enable and start rbd-target-api X-Git-Tag: v3.1.0rc18~22 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2b76e3771ded5cfe1298057e6a1dce4fead1f717;p=ceph-ansible.git stable 3.1 igw: enable and start rbd-target-api Backport https://github.com/ceph/ceph-ansible/pull/2984 to stable 3.1. From upstream commit: commit 1164cdc002cccb9dc1c6f10fb6b4370eafda3c4b Author: Guillaume Abrioux Date: Thu Aug 2 11:58:47 2018 +0200 iscsigw: install ceph-iscsi-cli package installs the cli package but does not start and enable the rbd-target-api daemon needed for gwcli to communicate with the igw nodes. This just enables and starts it. This fixes Red Hat BZ https://bugzilla.redhat.com/show_bug.cgi?id=1613963. Signed-off-by: Mike Christie --- diff --git a/roles/ceph-iscsi-gw/tasks/configure_iscsi.yml b/roles/ceph-iscsi-gw/tasks/configure_iscsi.yml index a5a600448..a678a30ad 100644 --- a/roles/ceph-iscsi-gw/tasks/configure_iscsi.yml +++ b/roles/ceph-iscsi-gw/tasks/configure_iscsi.yml @@ -20,6 +20,12 @@ enabled: yes state: started +- name: enable the rbd-target-api service and make sure it is running + service: + name: rbd-target-api + enabled: yes + state: started + - name: igw_gateway (tgt) | configure iscsi target (gateway) igw_gateway: mode: "target"