Ceph & systemctl on Debian

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

 



Hi everyone,

I try to understand how Ceph works with systemctl on Debian and it seems to be a mess.

First question : why is /etc/init.d/ceph is used as a "ceph" service ? that's an old sysvinit script !

Second question: why this "ceph" service is handling everything while it should be the new "ceph.target" unit ? "ceph.target" is disabled !

Third question : why some components like OSDs are handled via systemctl whereas MONs are unable to be handled via systemctl ? Here examples :

# systemctl status ceph-mon@* -l
ceph-mon@\x2a.service - Ceph cluster monitor daemon
   Loaded: loaded (/lib/systemd/system/ceph-mon@.service; enabled)
   Active: failed (Result: exit-code) since Mon 2016-03-07 12:16:50 CET; 1min 55s ago
  Process: 1861 ExecStart=/usr/bin/ceph-mon -f --cluster ${CLUSTER} --id %i --setuser ceph --setgroup ceph (code=exited, status=1/FAILURE)
 Main PID: 1861 (code=exited, status=1/FAILURE)

ceph-mon@5.service - Ceph cluster monitor daemon
   Loaded: loaded (/lib/systemd/system/ceph-mon@.service; enabled)
   Active: failed (Result: exit-code) since Tue 2016-03-01 12:46:27 CET; 5 days ago
 Main PID: 10600 (code=exited, status=1/FAILURE)

ceph-mon@host2.service - Ceph cluster monitor daemon
   Loaded: loaded (/lib/systemd/system/ceph-mon@.service; enabled)
   Active: failed (Result: exit-code) since Mon 2016-03-07 12:07:48 CET; 10min ago
  Process: 31231 ExecStart=/usr/bin/ceph-mon -f --cluster ${CLUSTER} --id %i --setuser ceph --setgroup ceph (code=exited, status=1/FAILURE)
 Main PID: 31231 (code=exited, status=1/FAILURE)


# systemctl status ceph-osd@*
ceph-osd@15.service - Ceph object storage daemon
   Loaded: loaded (/lib/systemd/system/ceph-osd@.service; disabled)
   Active: active (running) since Fri 2016-02-26 19:04:45 CET; 1 weeks 2 days ago
 Main PID: 30211 (ceph-osd)
   CGroup: /system.slice/system-ceph\x2dosd.slice/ceph-osd@15.service
           └─30211 /usr/bin/ceph-osd -f --cluster ceph --id 15 --setuser ceph...

ceph-osd@14.service - Ceph object storage daemon
   Loaded: loaded (/lib/systemd/system/ceph-osd@.service; disabled)
   Active: active (running) since Tue 2016-03-01 12:44:32 CET; 5 days ago
 Main PID: 9586 (ceph-osd)
   CGroup: /system.slice/system-ceph\x2dosd.slice/ceph-osd@14.service
           └─9586 /usr/bin/ceph-osd -f --cluster ceph --id 14 --setuser ceph ...

ceph-osd ID's are automatically found, but ceph-mon ID's are not !

"systemctl start ceph.target" is not starting MONs on my systems !

What's in trouble ? How to handle this mess ?

Thank you for your help

Florent
_______________________________________________
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