[openstack-dev] [ALL][PTLs] Community Goals for Rocky: Toggle the debug option at runtime

Jim Rollenhagen jim at jimrollenhagen.com
Wed May 16 14:23:00 UTC 2018


On Wed, May 16, 2018 at 9:55 AM, Doug Hellmann <doug at doughellmann.com>
wrote:

> Excerpts from Lingxian Kong's message of 2018-05-16 11:12:01 +1200:
> > Hi,
> >
> > Maybe I missed the original discussion, I found the 'mutable'
> configuration
> > implementation relies on oslo.service, but is there any guide for the
> > projects using cotyledon instead?
>
> oslo.service implements the signal handler natively, but the feature
> does not rely on oslo.service. The method in oslo.config that does the
> work makes no assumptions about what triggers it. We did this on purpose
> to support projects that do not use oslo.service.
>
> I don't know enough about cotyledon to tell you how to do it, but you
> need to set up a signal handler so that SIGHUP invokes the
> mutate_config_files() method of the ConfigOpts instance being used by
> the application.
>

This was asked in another thread, see my reply :)
http://lists.openstack.org/pipermail/openstack-dev/2018-March/128797.html

// jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20180516/fc4eb307/attachment.html>


More information about the OpenStack-dev mailing list