[openstack-dev] Do all OpenStack daemons support sd_notify?
ihrachys at redhat.com
Mon Dec 15 15:21:04 UTC 2014
-----BEGIN PGP SIGNED MESSAGE-----
On 14/12/14 09:45, Thomas Goirand wrote:
> As I am slowing fixing all systemd issues for the daemons of
> OpenStack in Debian (and hopefully, have this ready before the
> freeze of Jessie), I was wondering what kind of Type= directive to
> put on the systemd .service files. I have noticed that in Fedora,
> there's Type=notify. So my question is:
> Do all OpenStack daemons, as a rule, support the DBus sd_notify
> thing? Should I always use Type=notify for systemd .service files?
> Can this be called a general rule with no exception?
(I will talk about neutron only.)
I guess Type=notify is supposed to be used with daemons that use
Service class from oslo-incubator that provides systemd notification
mechanism, or call to systemd.notify_once() otherwise.
In terms of Neutron, neutron-server process is doing it, metadata
agent also seems to do it, while OVS agent seems to not. So it really
should depend on each service and the way it's implemented. You cannot
just assume that every Neutron service reports back to systemd.
In terms of Fedora, we have Type=notify for neutron-server service only.
BTW now that more distributions are interested in shipping unit files
for services, should we upstream them and ship the same thing in all
> Thomas Goirand (zigo)
> _______________________________________________ OpenStack-dev
> mailing list OpenStack-dev at lists.openstack.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
-----END PGP SIGNATURE-----
More information about the OpenStack-dev