systemd & sysvinit scripts mix ?

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

 



Hi everyone,

On a few servers, updated from Hammer to Infernalis, and from Debian
Wheezy to Jessie, I can see that it seems to have some mixes between old
sysvinit "ceph" script and the new ones on systemd.

I always have an /etc/init.d/ceph old script, converted as a service by
systemd :

# systemctl status ceph
● ceph.service - LSB: Start Ceph distributed file system daemons at boot
time
   Loaded: loaded (/etc/init.d/ceph)
   Active: active (running) since Mon 2016-01-25 13:48:31 CET; 1 months
4 days ago
   CGroup: /system.slice/ceph.service
           └─13458 /usr/bin/python /usr/sbin/ceph-create-keys --cluster
ceph ...


And some new systemd services as "ceph.target" are inactive & disabled :

# systemctl status ceph.target
● ceph.target - ceph target allowing to start/stop all ceph*@.service
instances at once
   Loaded: loaded (/lib/systemd/system/ceph.target; disabled)
   Active: inactive (dead)

But others are loaded & enabled :

# systemctl status ceph-osd@*
● ceph-osd@0.service - Ceph object storage daemon
   Loaded: loaded (/lib/systemd/system/ceph-osd@.service; disabled)
   Active: active (running) since Thu 2015-12-03 17:51:55 CET; 2 months
26 days ago
 Main PID: 13350 (ceph-osd)
   CGroup: /system.slice/system-ceph\x2dosd.slice/ceph-osd@0.service
           └─13350 /usr/bin/ceph-osd -f --cluster ceph --id 0 --setuser
ceph ...

● ceph-osd@1.service - Ceph object storage daemon
   Loaded: loaded (/lib/systemd/system/ceph-osd@.service; disabled)
   Active: active (running) since Thu 2015-12-03 17:55:02 CET; 2 months
26 days ago
 Main PID: 57626 (ceph-osd)
   CGroup: /system.slice/system-ceph\x2dosd.slice/ceph-osd@1.service
           └─57626 /usr/bin/ceph-osd -f --cluster ceph --id 1 --setuser
ceph ...


Isn't there any misconfiguration there ? I think "/etc/init.d/ceph"
script should have been deleted on upgrade by Infernalis, isn't it ?

What are the official recommendations about this ? Should I have to
delete old "ceph" script myself and enable all new services ? (and why
does it have to be done manually ?)

Thank you.

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