From: Sébastien Han Date: Mon, 5 Nov 2018 17:53:44 +0000 (+0100) Subject: rbd-mirror: enable ceph-rbd-mirror.target X-Git-Tag: v3.2.0rc2~9 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=12ce311da56a12b0c075dc40ee991f5db8a72d91;p=ceph-ansible.git rbd-mirror: enable ceph-rbd-mirror.target Without this the daemon will never start after reboot. Signed-off-by: Sébastien Han (cherry picked from commit b7a791e9029e4aca31b00a118e6eb6ac1737dc6d) --- diff --git a/roles/ceph-rbd-mirror/tasks/start_rbd_mirror.yml b/roles/ceph-rbd-mirror/tasks/start_rbd_mirror.yml index 0269bf57e..6c3d11c62 100644 --- a/roles/ceph-rbd-mirror/tasks/start_rbd_mirror.yml +++ b/roles/ceph-rbd-mirror/tasks/start_rbd_mirror.yml @@ -24,17 +24,12 @@ enabled: no changed_when: false -# This task is a workaround for rbd-mirror not starting after reboot -# The upstream fix is: https://github.com/ceph/ceph/pull/17969 -# It's affecting, ceph version 12.2.0 (32ce2a3ae5239ee33d6150705cdb24d43bab910c) luminous (rc) and before - name: enable ceph-rbd-mirror.target systemd: name: "ceph-rbd-mirror.target" state: started enabled: yes changed_when: false - when: - - ceph_release_num[ceph_release] == ceph_release_num.luminous - name: start and add the rbd-mirror service instance service: