]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
igw: enable and start rbd-target-api
authorMike Christie <mchristi@redhat.com>
Wed, 8 Aug 2018 16:14:09 +0000 (11:14 -0500)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Thu, 13 Sep 2018 19:35:45 +0000 (19:35 +0000)
The commit:

commit 1164cdc002cccb9dc1c6f10fb6b4370eafda3c4b
Author: Guillaume Abrioux <gabrioux@redhat.com>
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 <mchristi@redhat.com>
roles/ceph-iscsi-gw/tasks/non-container/prerequisites.yml

index a77976bf217f3a9d92bee4c5d549524fb72e3d05..59ebf268b86589d6b3d4140646acbfbfcd132ef0 100644 (file)
@@ -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