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

Lingxian Kong anlin.kong at gmail.com
Wed May 16 21:41:26 UTC 2018


Thanks for your reply, @Doug and @Jim

Cheers,
Lingxian Kong


On Thu, May 17, 2018 at 2:23 AM Jim Rollenhagen <jim at jimrollenhagen.com>
wrote:

> 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
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20180517/149d2899/attachment.html>


More information about the OpenStack-dev mailing list