[openstack-dev] [oslo][oslo.config] Reloading configuration of service

mhorban mhorban at mirantis.com
Thu Sep 17 07:26:28 UTC 2015


Hi Doug,

 > Rather than building hooks into oslo.config, why don't we build them
 > into the thing that is catching the signal. That way the app can do lots
 > of things in response to a signal, and one of them might be reloading
 > the configuration.

Hm... Yes... It is really stupid idea to put reloading hook into 
oslo.config.
I'll move that hook mechanism into oslo.service. oslo.service is 
responsible for catching/handling signals.

Is it enough to have one callback function? Or should I must add ability 
to register many different callback functions?

What is your point of view?

Marian



More information about the OpenStack-dev mailing list