On Fri, 26 Sep 2014, Robert LeBlanc wrote:
> Systemd is supposed to still use the init.d scripts if they are present,
> however I've run into problems with it on my CentOS 7 boxes. The biggest
> issue is that systemd does not like having multiple arguments to the
> scripts. There is a systemd directory in the Master branch that does work,
> but you have to register each osd individually with systemd (as a separate
> service), so it is not quite as nice as the initV scripts yet. I'm sure that
> it is being worked on as almost all distros are moving to systemd soon.
Yep!
> For now, I've just created entries for each OSD in /etc/fstab and then put
> 'for mount in `ls /var/lib/ceph/osd/`; do ceph-osd -i ${mount#ceph-}; done'
> in /etc/rc.local. It's a hack, but we are still just playing with Ceph for
> now.
A simpler workaround is to simply run
ceph-disk activate-all
from rc.local.
sage
>
> On Thu, Sep 25, 2014 at 5:01 AM, zorg <[email protected]> wrote:
> Hi,
> I'm using ceph version 0.80.5
>
> I trying to make work a ceph cluster using debian and systemd
>
> I have already manage to install ceph cluster on debian with
> sysinit without any problem
>
> But after installing all, using ceph deploy without error
>
> after rebooting not all my osd start (they are not mount)
> and what is more strange at each reboot, it 's not the same osd
> that start adn some start 10 min later
>
> I ' ve this in the log
>
> Sep 25 12:18:23 addceph3 systemd-udevd[437]:
> '/usr/sbin/ceph-disk-activate /dev/sdh1' [1005] terminated by
> signal 9 (Killed)
> Sep 25 12:18:23 addceph3 systemd-udevd[476]: timeout: killing
> '/usr/sbin/ceph-disk-activate /dev/sdq1' [1142]
> Sep 25 12:18:23 addceph3 systemd-udevd[486]: timeout: killing
> '/usr/sbin/ceph-disk-activate /dev/sdg1' [998]
> Sep 25 12:18:23 addceph3 systemd-udevd[486]:
> '/usr/sbin/ceph-disk-activate /dev/sdg1' [998] terminated by
> signal 9 (Killed)
> Sep 25 12:18:23 addceph3 systemd-udevd[476]:
> '/usr/sbin/ceph-disk-activate /dev/sdq1' [1142] terminated by
> signal 9 (Killed)
> Sep 25 12:18:23 addceph3 systemd-udevd[458]: timeout: killing
> '/usr/sbin/ceph-disk-activate /dev/sdi1' [1001]
> Sep 25 12:18:23 addceph3 systemd-udevd[458]:
> '/usr/sbin/ceph-disk-activate /dev/sdi1' [1001] terminated by
> signal 9 (Killed)
> Sep 25 12:18:23 addceph3 systemd-udevd[444]: timeout: killing
> '/usr/sbin/ceph-disk-activate /dev/sdj1' [1006]
> Sep 25 12:18:23 addceph3 systemd-udevd[460]: timeout: killing
> '/usr/sbin/ceph-disk-activate /dev/sdk1' [1152]
> Sep 25 12:18:23 addceph3 systemd-udevd[444]:
> '/usr/sbin/ceph-disk-activate /dev/sdj1' [1006] terminated by
> signal 9 (Killed)
> Sep 25 12:18:23 addceph3 systemd-udevd[460]:
> '/usr/sbin/ceph-disk-activate /dev/sdk1' [1152] terminated by
> signal 9 (Killed)
> Sep 25 12:18:23 addceph3 systemd-udevd[469]: timeout: killing
> '/usr/sbin/ceph-disk-activate /dev/sdm1' [1110]
> Sep 25 12:18:23 addceph3 systemd-udevd[470]: timeout: killing
> '/usr/sbin/ceph-disk-activate /dev/sdp1' [1189]
> Sep 25 12:18:23 addceph3 systemd-udevd[469]:
> '/usr/sbin/ceph-disk-activate /dev/sdm1' [1110] terminated by
> signal 9 (Killed)
> Sep 25 12:18:23 addceph3 systemd-udevd[470]:
> '/usr/sbin/ceph-disk-activate /dev/sdp1' [1189] terminated by
> signal 9 (Killed)
> Sep 25 12:18:23 addceph3 systemd-udevd[468]: timeout: killing
> '/usr/sbin/ceph-disk-activate /dev/sdl1' [1177]
> Sep 25 12:18:23 addceph3 systemd-udevd[447]: timeout: killing
> '/usr/sbin/ceph-disk-activate /dev/sdo1' [1181]
> Sep 25 12:18:23 addceph3 systemd-udevd[468]:
> '/usr/sbin/ceph-disk-activate /dev/sdl1' [1177] terminated by
> signal 9 (Killed)
> Sep 25 12:18:23 addceph3 systemd-udevd[447]:
> '/usr/sbin/ceph-disk-activate /dev/sdo1' [1181] terminated by
> signal 9 (Killed)
> Sep 25 12:18:23 addceph3 systemd-udevd[490]: timeout: killing
> '/usr/sbin/ceph-disk-activate /dev/sdr1' [1160]
> Sep 25 12:18:23 addceph3 systemd-udevd[490]:
> '/usr/sbin/ceph-disk-activate /dev/sdr1' [1160] terminated by
> signal 9 (Killed)
> Sep 25 12:18:23 addceph3 systemd-udevd[445]: timeout: killing
> '/usr/sbin/ceph-disk-activate /dev/sdn1' [1202]
> Sep 25 12:18:23 addceph3 systemd-udevd[445]:
> '/usr/sbin/ceph-disk-activate /dev/sdn1' [1202] terminated by
> signal 9 (Killed)
> Sep 25 12:18:23 addceph3 kernel: [ 39.813701] XFS (sdo1):
> Mounting Filesystem
> Sep 25 12:18:23 addceph3 kernel: [ 39.854510] XFS (sdo1):
> Ending clean mount
> Sep 25 12:22:59 addceph3 systemd[1]: ceph.service operation
> timed out. Terminating.
> Sep 25 12:22:59 addceph3 systemd[1]: Failed to start LSB: Start
> Ceph distributed file system daemons at boot time.
>
>
>
> I'm not actually very experimented with systemd
> don't really how ceph handle systemd
>
> if someone can give me a bit of information
>
> thanks
>
>
>
> --
> probeSys - sp?cialiste GNU/Linux
> site web : http://www.probesys.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