Re: ceph-mon not starting on boot with systemd and Ubuntu 16.04

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

 



On Thu, 12 May 2016, Wido den Hollander wrote:
> Hi,
> 
> I am setting up a Jewel cluster in VMs with Ubuntu 16.04.
> 
> ceph version 10.2.0 (3a9fba20ec743699b69bd0181dd6c54dc01c64b9)
> 
> After a reboot the Ceph Monitors don't start and I have to do so manually.
>
> Three machines, alpha, bravo and charlie all have the same problem.
> 
> root@charlie:~# systemctl status ceph-mon@charlie
> ● ceph-mon@charlie.service - Ceph cluster monitor daemon
>    Loaded: loaded (/lib/systemd/system/ceph-mon@.service; enabled; vendor preset: enabled)
>    Active: inactive (dead)
> root@charlie:~#
> 
> I can start it and it works

Hmm.. my systemd-fu is weak, but if it's enabled it seems like it shoud 
come up.

Was this an upgraded package?  What if you do 'systemctl reenable 
ceph-mon@charlie'?

sage



> 
> root@charlie:~# systemctl start ceph-mon@charlie
> root@charlie:~# systemctl status ceph-mon@charlie
> ● ceph-mon@charlie.service - Ceph cluster monitor daemon
>    Loaded: loaded (/lib/systemd/system/ceph-mon@.service; enabled; vendor preset: enabled)
>    Active: active (running) since Thu 2016-05-12 16:08:56 CEST; 1s ago
>  Main PID: 1368 (ceph-mon)
> 
> I tried removing the /var/log/ceph/ceph-mon.charlie.log file and reboot to see if the mon was actually invoked, but it wasn't.
> 
> ceph.target has been started and so is the OSD on the machine. It is just the monitor which hasn't been started.
> 
> In the syslog I see:
> 
> May 12 16:11:19 charlie systemd[1]: Starting Ceph object storage daemon...
> May 12 16:11:19 charlie systemd[1]: Starting LSB: Start Ceph distributed file system daemons at boot time...
> May 12 16:11:19 charlie systemd[1]: Started LSB: Start Ceph distributed file system daemons at boot time.
> May 12 16:11:20 charlie systemd[1]: Started Ceph object storage daemon.
> May 12 16:11:20 charlie systemd[1]: Started Ceph disk activation: /dev/sdb2.
> May 12 16:11:21 charlie systemd[1]: Started Ceph object storage daemon.
> May 12 16:11:21 charlie systemd[1]: Started Ceph disk activation: /dev/sdb1.
> 
> Am I missing something or is this a bug?
> 
> Wido
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> 
_______________________________________________
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]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux