ceph-mon not starting on Ubuntu 16.04 with Luminous RC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Just checking before I start looking into ceph-deploy if the behavior I'm seeing is correct.

On a freshly installed Ubuntu 16.04 + Luminous 12.1.0 system I see that my ceph-mon services aren't starting on boot.

Deployed Ceph on three machines: alpha, bravo and charlie. Using 'alpha' I've deployed using ceph-deploy.

I found my thread from last year and followed the hints there: http://lists.ceph.com/pipermail/ceph-users-ceph.com/2016-May/009617.html

I checked the dependencies and ceph-mon.target wasn't enabled nor was it depending on ceph-mon@bravo (same happens on alpha and charlie).

I enabled the ceph-mon.target and re-enabled ceph-mon@bravo and now it works.

root@bravo:~# systemctl list-dependencies ceph.target
ceph.target
● ├─ceph-mon.target
● ├─ceph-mon.target
● └─ceph-osd.target
●   ├─ceph-osd@1.service
●   └─ceph-osd@1.service
root@bravo:~# systemctl enable ceph-mon@bravo
Created symlink from /etc/systemd/system/ceph-mon.target.wants/ceph-mon@bravo.service to /lib/systemd/system/ceph-mon@.service.
root@bravo:~# systemctl list-dependencies ceph.target
ceph.target
● ├─ceph-mgr.target
● │ ├─ceph-mgr@bravo.service
● │ └─ceph-mgr@bravo.service
● ├─ceph-mon.target
● │ ├─ceph-mon@bravo.service
● │ └─ceph-mon@bravo.service
● ├─ceph-mon.target
● │ ├─ceph-mon@bravo.service
● │ └─ceph-mon@bravo.service
● └─ceph-osd.target
●   ├─ceph-osd@1.service
●   └─ceph-osd@1.service
root@bravo:~#

Looking in my ceph-deploy log I found this:

[2017-06-26 11:20:57,386][bravo][INFO  ] Running command: systemctl enable ceph.target
[2017-06-26 11:20:57,396][bravo][WARNING] Created symlink from /etc/systemd/system/multi-user.target.wants/ceph.target to /lib/systemd/system/ceph.target.
[2017-06-26 11:20:57,465][bravo][INFO  ] Running command: systemctl enable ceph-mon@bravo
[2017-06-26 11:20:57,475][bravo][WARNING] Created symlink from /etc/systemd/system/ceph-mon.target.wants/ceph-mon@bravo.service to /lib/systemd/system/ceph-mon@.service.
[2017-06-26 11:20:57,541][bravo][INFO  ] Running command: systemctl start ceph-mon@bravo

So it enables ceph.target, ceph-mon@bravo and then starts the MON. But it never enabled ceph-mon.target. Is that correct?

If not I'll open a PR for ceph-deploy to enable ceph-mon.target as well.

Wido
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux