]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
stable 3.1 igw: enable and start rbd-target-api
authorMike Christie <mchristi@redhat.com>
Wed, 8 Aug 2018 16:49:38 +0000 (11:49 -0500)
committerSébastien Han <seb@redhat.com>
Tue, 14 Aug 2018 08:23:12 +0000 (10:23 +0200)
Backport
https://github.com/ceph/ceph-ansible/pull/2984
to stable 3.1.

From upstream 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 just enables and starts it.

This fixes Red Hat BZ
https://bugzilla.redhat.com/show_bug.cgi?id=1613963.

Signed-off-by: Mike Christie <mchristi@redhat.com>
roles/ceph-iscsi-gw/tasks/configure_iscsi.yml

index a5a6004486fc43d585220f4c40c1ad24ee047ced..a678a30adc9b56783a1bdf347b627843f8993651 100644 (file)
     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"