From: Mike Christie Date: Wed, 8 Aug 2018 16:14:09 +0000 (-0500) Subject: igw: enable and start rbd-target-api X-Git-Tag: v3.2.0beta2~6 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=8fcd63cc507e3539de3edc1c3abcddaa86367b2a;p=ceph-ansible.git igw: enable and start rbd-target-api The 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 patch just enables and starts it for the non-container setup. The container setup is already doing this. This fixes bz https://bugzilla.redhat.com/show_bug.cgi?id=1613963 Signed-off-by: Mike Christie --- diff --git a/roles/ceph-iscsi-gw/tasks/non-container/prerequisites.yml b/roles/ceph-iscsi-gw/tasks/non-container/prerequisites.yml index a77976bf2..59ebf268b 100644 --- a/roles/ceph-iscsi-gw/tasks/non-container/prerequisites.yml +++ b/roles/ceph-iscsi-gw/tasks/non-container/prerequisites.yml @@ -72,3 +72,9 @@ name: rbd-target-gw 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