Can you post the contents of [email protected] file?

what does
systemctl is-enabled ceph-mon@charlie
say?

However, this looks like it was just started at a bad moment and died - nothing 
in logs?

Jan


> On 12 May 2016, at 14:44, Sage Weil <[email protected]> wrote:
> 
> 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
>> ● [email protected] - Ceph cluster monitor daemon
>>   Loaded: loaded (/lib/systemd/system/[email protected]; 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
>> ● [email protected] - Ceph cluster monitor daemon
>>   Loaded: loaded (/lib/systemd/system/[email protected]; 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
>> [email protected]
>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> _______________________________________________
> ceph-users mailing list
> [email protected]
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to