Automatic retries of hooks

roger peppe roger.peppe at canonical.com
Wed Jan 20 12:42:54 UTC 2016


On 20 January 2016 at 12:20, Martin Packman
<martin.packman at canonical.com> wrote:
> Another common error we see in CI is apt mirrors being unhappy leading
> to hook failures. Just retry later does tend to be the right option
> there, though it will often be an our or two until the archive is in a
> usable state again.
>
> On 20/01/2016, William Reade <william.reade at canonical.com> wrote:
>>
>> Are there any concerns that I've missed?
>
> Automatic retries make debugging your charm harder, as James found. I
> think we want an environment setting to disable this for both testing
> and for charm authors.

This seems like a good idea.
Also perhaps it wouldn't be so bad if you at least were able
to find some record of the hook failures without delving into the
logs.



More information about the Juju-dev mailing list