[PKG-Openstack-devel] systemd support for OpenStack

Thomas Goirand zigo at debian.org
Fri Jul 11 07:01:48 UTC 2014


On 07/11/2014 11:45 AM, gustavo panizzo <gfa> wrote:
> have you started yet? i will have time next week. i need it because salt stack does not work with lsb init scripts on systemd
> 
> whoa, this is certainly unexpected  :O

Hi Gustavo!

Thanks for volunteering yourself.

I started with keystone, indeed. I've just pushed the commit I did for
it. Maybe you can have a look into it. It's in the debian/juno branch
only, of course.

The only thing which I have a concern with is the handling of
/etc/default/<daemon-name> or /etc/default/openstack, where we have the
logging facility defined. Please have a look into nova-compute.init to
see what I mean. I would like that we keep this functionality and
behavior, and I have no idea how to implement it correctly.

The replies to my mail to the systemd guys on their list were not
helpful at all, they keep saying that I should just edit the .service
file to select the type of logging, but that's not at all what I want. I
would like to use /etc/default, just as before. Do you have any idea how
we can script this? Maybe we'd have to write a wrapper and start that
instead of the daemon?

Once we've tackled the first daemon, it should be easy to propagate the
feature to others, even though there's a lot of work to make it happen.

At the end, we'll have support for:
- sysv-rc
- upstart
- systemd

BTW, for upstart support, it'd be nice to tweak the upstart stuff, to
stop using the .in files, and use the init.d sysv-rc hack to do the
correct way. I now know how, but lack time to do it.

:)

Cheers,

Thomas Goirand (zigo)




More information about the Openstack-devel mailing list