]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
rbd-mirror: enable ceph-rbd-mirror.target
authorSébastien Han <seb@redhat.com>
Mon, 5 Nov 2018 17:53:44 +0000 (18:53 +0100)
committerSébastien Han <seb@redhat.com>
Fri, 9 Nov 2018 15:48:35 +0000 (16:48 +0100)
Without this the daemon will never start after reboot.

Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit b7a791e9029e4aca31b00a118e6eb6ac1737dc6d)

roles/ceph-rbd-mirror/tasks/start_rbd_mirror.yml

index 0269bf57e54fd5ef98f049a9454b56dccffb2bab..6c3d11c620ca1fc8fc479a71a313fedf5beacebc 100644 (file)
     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: