PROPOSAL: stop recording 'executing update-status hook'

Ante Karamatić ante.karamatic at canonical.com
Fri May 19 07:03:11 UTC 2017


+1

On Fri, May 19, 2017 at 6:10 AM David Britton <david.britton at canonical.com>
wrote:

> +1 from me: https://bugs.launchpad.net/juju/+bug/1530840
>
> :)
>
> On Thu, May 18, 2017 at 8:13 PM, 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.
>>
>> This will reduce noise in the status-log, simplify some of our code
>> around dealing with status-log, and reduce load on controllers looking
>> after hundreds or thousands of units.
>>
>> Is anyone opposed to this change?
>
>
>>
>> Tim
>>
>> --
>> Juju-dev mailing list
>> Juju-dev at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/juju-dev
>>
>
>
>
> --
> David Britton <david.britton at canonical.com>
> --
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
-- 
Ante Karamatić
ante.karamatic at canonical.com
Canonical
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20170519/d5db586f/attachment.html>


More information about the Juju mailing list