ceph / ceph-ansible

Ansible playbooks to deploy Ceph, the distributed filesystem.
Apache License 2.0
1.68k stars 1.01k forks source link

ceph monitor service do not auto start when reboot #1392

Closed WingkaiHo closed 7 years ago

WingkaiHo commented 7 years ago

Use ceph-ansbile install kraken, when reboot machine, the monitor service do not auto start

WingkaiHo commented 7 years ago

Can I add the add task int ceph-mon/tasks/start_monitor.yml like this

leseb commented 7 years ago

Did you add the lines mentioned to fix this?

WingkaiHo commented 7 years ago

Yes. Because by default

$ systemctl is-enabled ceph-mon.target disable

I found ceph-mon.target do not set enable, the monitor service do not auto start when machine reboot. So it used add the lines mentioned to fix this