Comment 9 for bug 1646583

Revision history for this message
Samuel Matzek (smatzek) wrote :

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
- 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_num.hammer