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 ** Summary changed: - Ceph mon and osd don't restart on reboot with Xenial when using ceph-{mon,osd}@ systemd units + Ceph mon doesn't restart on reboot with Xenial when using ceph-{mon,osd}@ systemd units -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1646583 Title: Ceph mon doesn't restart on reboot with Xenial when using ceph-{mon,osd}@ systemd units To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1646583/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
