-
Committer:
David Britton
-
Date:
2015-06-01 22:11:14 UTC
-
mfrom:
(58.1.5 master)
-
Revision ID:
dpb@canonical.com-20150601221114-mazmncubzhxydjrw
Merge retry-on-upgrade [f=1460171] [r=hazmat,jameinel] [a=wallyworld]
A small moment of time after a freshly bootstrapped Juju environment accepts
connections, it may be in an upgrading state.
This branch changes the RPC calls so that if an "upgrade in progress" error is
reported, then then RPC call is retried. The retries occur every 1 second, up
to a minute.
This change allows the deployer to be more robust to Juju upgrades, since it
will now not simply error out.