Agent API Versioning and Upgrades
John Meinel
john at arbash-meinel.com
Thu Sep 18 10:52:38 UTC 2014
On Thu, Sep 18, 2014 at 2:44 PM, William Reade <william.reade at canonical.com>
wrote:
> On Wed, Sep 17, 2014 at 11:15 AM, Dimiter Naydenov
> <dimiter.naydenov at canonical.com> wrote:
> > 2. Even if not all state server have synchronized some time after the
> > upgrade, it's possible for the worker to connect to an apiserver which
> > is not yet "fully upgraded" to support APIV1. The worker tries to
> > connect, requests version 1, does not get it and terminates,
> > triggering a restart and hopefully connecting to another apiserver
> > which supports APIV1 (or keeps restarting until it does, but it should
> > be for a relatively short time).
>
> Rather than failing out, I'd prefer to see us generalise the "waiting
> for state server to be upgraded" approach used in
> Uniter.getJoinedRelations -- it's good that we can and do recover, but
> it'd be even better if we anticipated the situation and logged it
> calmly at info level (rather than spamming the log with errors that
> aren't really errors).
>
+1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju-dev/attachments/20140918/f6b9eb58/attachment-0001.html>
More information about the Juju-dev
mailing list