ceph / ceph-cookbook

Chef cookbooks for Ceph
Apache License 2.0
100 stars 107 forks source link

Add systemd support #165

Open hufman opened 9 years ago

hufman commented 9 years ago

The cookbook currently supports sysvinit and upstart. Newer systems are using systemd, and some of the service restart logic needs to be modified to support it. This is blocking #145

hufman commented 9 years ago

The Ceph upstream has systemd unit files, but I'm not sure which versions include them. Should this recipe include it for older Ceph installs?

liewegas commented 9 years ago

FWIW I think the systemd support is still pretty incomplete. Haven't had time yet to actually deploy it and make it work, document, integrate into ceph-deploy, and so on.

joerocklin commented 9 years ago

I've added the systemd files into a branch I've been working on to add CentOS 7 support: https://github.com/joerocklin/ceph-cookbook/tree/centos-7. For OSDs and monitors they seem to work fine (haven't worked with the others yet).