]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-iscsi: start tcmu-runner for non-container
authorDimitri Savineau <dsavinea@redhat.com>
Tue, 23 Apr 2019 14:08:30 +0000 (10:08 -0400)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Mon, 29 Apr 2019 23:03:59 +0000 (23:03 +0000)
Only rbd-target-api and rbd-target-gw were started/enabled for non
containerized deployment.
The issue doesn't happen with containerized setup.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 4ae5ce399be740a71699ac55c719b97aa1522df6)

roles/ceph-iscsi-gw/tasks/non-container/prerequisites.yml

index e0dbaf9371fc958d607cb6dcf5faea5f88670dd5..26c809d58a190f3d354635065baf1a70ffcea09e 100644 (file)
     - target.stat.exists
     - not target.stat.islnk
 
-- name: enable the rbd-target-gw service and make sure it is running
+- name: start tcmu-runner, rbd-target-api and rbd-target-gw
   service:
-    name: rbd-target-gw
-    enabled: yes
-    masked: no
+    name: "{{ item }}"
     state: started
-
-- name: enable the rbd-target-api service and make sure it is running
-  service:
-    name: rbd-target-api
     enabled: yes
     masked: no
-    state: started
+  with_items:
+    - tcmu-runner
+    - rbd-target-gw
+    - rbd-target-api