Re: Automatic hook retries in Juju 2.0

2016-07-07 Thread Matt Bruzek
/juju/blob/master/apiserver/retrystrategy/retrystrategy.go#L21 >>> >>> Basically it's an exponential backoff with a factor of 2 that starts at >>> 5 seconds and has a maximum of 5 minutes, so 5, 10, 20...up to 300 seconds. >>> >>> Iirc attempting a ma

Re: Automatic hook retries in Juju 2.0

2016-06-30 Thread Matt Rae
t; >> Iirc attempting a manual retry will reset this timer. It also never gives >> up. >> >> Cheers, >> Bogdan >> On Jun 30, 2016, at 6:52 PM, Casey Marshall <casey.marsh...@canonical.com> >> wrote: >>> >>> What is the inte

Re: Automatic hook retries in Juju 2.0

2016-06-30 Thread Adam Collard
> > Cheers, > Bogdan > On Jun 30, 2016, at 6:52 PM, Casey Marshall <casey.marsh...@canonical.com> > wrote: >> >> What is the intended behavior for automatic hook retries in Juju 2.0? >> >> Specifically, I'd like to know, as a Juju user: >> >>

Re: Automatic hook retries in Juju 2.0

2016-06-30 Thread Bogdan Teleaga
ded behavior for automatic hook retries in Juju 2.0? Specifically, I'd like to know, as a Juju user: Are errors in hooks all retried with the same policy, or are some retried with a different policy / strategy than others (install, for example)? Is there a limit to the number of times Juju will retry

Automatic hook retries in Juju 2.0

2016-06-30 Thread Casey Marshall
What is the intended behavior for automatic hook retries in Juju 2.0? Specifically, I'd like to know, as a Juju user: Are errors in hooks all retried with the same policy, or are some retried with a different policy / strategy than others (install, for example)? Is there a limit to the number