From 8fcd63cc507e3539de3edc1c3abcddaa86367b2a Mon Sep 17 00:00:00 2001 From: Mike Christie Date: Wed, 8 Aug 2018 11:14:09 -0500 Subject: [PATCH] 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 --- roles/ceph-iscsi-gw/tasks/non-container/prerequisites.yml | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.39.5