Re: ceph-mon not starting on system startup (Ubuntu 16.04 / systemd)

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

 



Hi,
 
What's your Ceph version?
I am using Jewel 10.2.3 and systemd seems to work normally. I deployed Ceph by ansible, too.
 
You can check whether you have /lib/systemd/system/ceph-mon.target file.
I believe it was a bug existing in 10.2.1 before cfa2d0a08a0bcd0fac153041b9eff17cb6f7c9af has been merged.
 
Sincerely,
Craig Chi (Product Developer)
Synology Inc. Taipei, Taiwan.
 
On 2016-11-15 01:32, David Turner <david.turner@xxxxxxxxxxxxxxxx> wrote:

 

I had to set my mons to sysvinit while my osds are systemd.  That allows everything to start up when my system boots.  I don't know why the osds don't work with sysvinit and the mon doesn't work with systemd... but that worked to get me running.

 

David Turner | Cloud Operations Engineer | StorageCraft Technology Corporation
380 Data Drive Suite 300 | Draper | Utah | 84020
Office: 801.871.2760 | Mobile: 385.224.2943

 


 

If you are not the intended recipient of this message or received it erroneously, please notify the sender and delete it, together with any attachments, and be advised that any dissemination or copying of this message is prohibited.

 

________________________________________
From: ceph-users [ceph-users-bounces@xxxxxxxxxxxxxx] on behalf of Matthew Vernon [mv3@xxxxxxxxxxxx]
Sent: Monday, November 14, 2016 9:44 AM
To: ceph-users@xxxxxxxxxxxxxx
Subject: ceph-mon not starting on system startup (Ubuntu 16.04     / systemd)

Hi,

I have a problem that my ceph-mon isn't getting started when my machine
boots; the OSDs start up just fine. Checking logs, there's no sign of
systemd making any attempt to start it, although it is seemingly enabled:

root@sto-1-1:~# systemctl status ceph-mon@sto-1-1
● ceph-mon@sto-1-1.service - Ceph cluster monitor daemon
  Loaded: loaded (/lib/systemd/system/ceph-mon@.service; enabled;
vendor preset
  Active: inactive (dead)

I see a thread on this issue in the list archives from May, but no sign
of what the eventual solution was...

If it matters, I'm deploying Jewel using ceph-ansible (
https://github.com/ceph/ceph-ansible ); that does (amongst other things)
systemctl enable ceph-mon@sto-1-1

Thanks,

Matthew


--
The Wellcome Trust Sanger Institute is operated by Genome Research
Limited, a charity registered in England with number 1021457 and a
company registered in England with number 2742969, whose registered
office is 215 Euston Road, London, NW1 2BE.
_______________________________________________
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

 

Sent from Synology MailPlus
_______________________________________________
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