mirror of https://github.com/ceph/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 <seb@redhat.com>pull/3303/head
parent
098f42f233
commit
b7a791e902
|
@ -24,17 +24,12 @@
|
||||||
enabled: no
|
enabled: no
|
||||||
changed_when: false
|
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
|
- name: enable ceph-rbd-mirror.target
|
||||||
systemd:
|
systemd:
|
||||||
name: "ceph-rbd-mirror.target"
|
name: "ceph-rbd-mirror.target"
|
||||||
state: started
|
state: started
|
||||||
enabled: yes
|
enabled: yes
|
||||||
changed_when: false
|
changed_when: false
|
||||||
when:
|
|
||||||
- ceph_release_num[ceph_release] == ceph_release_num.luminous
|
|
||||||
|
|
||||||
- name: start and add the rbd-mirror service instance
|
- name: start and add the rbd-mirror service instance
|
||||||
service:
|
service:
|
||||||
|
|
Loading…
Reference in New Issue