Control: tags -1 pending On Fri, 14 Nov 2014 20:27:13 Clint Adams wrote: > Please add systemd service files for ceph. I see that systemd is > special-cased in /etc/init.d/ceph, but it does not appear to work.
I know, it doesn't work... Lately I've been experimenting with new systemd support that I've committed to http://anonscm.debian.org/cgit/pkg-ceph/ceph.git/commit/?h=experimental&id=3c22e192d964789365e8dc21c168c5fd8985f7d8 On Fri, 14 Nov 2014 14:35:17 Ken Dreyer wrote: > There is are some work-in-progress files here: > https://bugzilla.redhat.com/show_bug.cgi?id=771924 > > I have not yet had a chance to review them, though. Thanks, those files are not good neither what committed to Ceph repository as https://github.com/ceph/ceph/tree/master/systemd It seems like nobody actually tried to use those files. There are number of issues like incorrect order of includes for environment variables; lack of "ulimit" support (i.e. "LimitNOFILE=32768") in OSD service file which is necessary to prevent OSD termination shortly after start etc. I've created meta "ceph.service" for compatibility -- it merely depends on other daemons (ceph-mon, ceph-mds) as well as enabled ceph-osd@ services. IMHO "ceph-mds" and "ceph-mon" are better than "ceph-mds@" and "ceph-mon@" just like in SysV init files where by default we support just one instance per machine etc. Reviews are welcome but now I'm moving to other tasks and probably won't be able to test any changes (my cluster is down for over two weeks and I just want to get what's left of my data and move on to different storage solution)... -- Regards, Dmitry Smirnov GPG key : 4096R/53968D1B
signature.asc
Description: This is a digitally signed message part.