PROPOSAL: stop recording 'executing update-status hook'
Tim Penhey
tim.penhey at canonical.com
Mon May 22 07:27:20 UTC 2017
On 19/05/17 19:21, roger peppe wrote:
> On 19 May 2017 at 03:13, Tim Penhey <tim.penhey at canonical.com> wrote:
>> Hi folks,
>>
>> Currently juju will update the status of any hook execution for any unit to
>> show that it is busy doing things. This was all well and good until we do
>> things based on time.
>>
>> Every five minutes (or so) each unit will have the update-status hook
>> executed to allow the unit to set or update the workload status based on
>> what is currently going on with that unit.
>>
>> Since all hook executions are stored, this means that the show-status-log
>> will show the unit jumping from executing update-status to ready and back
>> every five minutes.
>>
>> The proposal is to special case the update-status hook and show in status
>> (or the status-log) that the hook is being executed. debug-log will continue
>> to show the hook executing if you are looking.
>
> Presumably you mean *not* show in status here?
Yes. Sorry.
More information about the Juju-dev
mailing list