I reproduced this again as well and it seems the OSDs do restart OK on reboot while the Mon does not. I must have been confused when writing the bug as I opened it several days after encountering the issue.
Ceph-Ansible does the following to enable the ceph-mon in the init sequence and it is using the ceph-mon@ target.
I reproduced this again as well and it seems the OSDs do restart OK on reboot while the Mon does not. I must have been confused when writing the bug as I opened it several days after encountering the issue.
Ceph-Ansible does the following to enable the ceph-mon in the init sequence and it is using the ceph-mon@ target.
https:/ /github. com/ceph/ ceph-ansible/ blob/master/ roles/ceph- mon/tasks/ start_monitor. yml#L46 num.hammer
- name: start and add that the monitor service to the init sequence (for or after infernalis)
command: systemctl enable ceph-mon@{{ monitor_name }}
changed_when: false
failed_when: false
when:
- use_systemd
- ceph_release_num.{{ ceph_release }} > ceph_release_