[openstack-dev] [TripleO] os-refresh-config run frequency

Clint Byrum clint at fewbar.com
Thu Jun 26 19:55:37 UTC 2014

Excerpts from Chris Jones's message of 2014-06-26 12:37:55 -0700:
> On 26 Jun 2014, at 20:20, Clint Byrum <clint at fewbar.com> wrote:
> > we should just have a file in /var/run that
> > Whenever a new version is detected, os-collect-config would set a value
> > in the environment that informs the command "this is a new version of
> I like the idea of exposing the fact that a new config version has arrived, to o-r-c scripts, but...
> >  if !service X status ; then service X start
> ... I always worry when I see suggestions to have periodic state-assertion tasks take care of starting services that are not running, but in this case I will try to calm my nerves with the knowledge that service(1) is almost certainly talking to a modern init which is perfectly capable of supervising daemons :D

Let's not focus on the else, but the primary condition which is "If we
changed, restart". The point is, if we didn't change, try not to be

More information about the OpenStack-dev mailing list