Unit state during charm upgrade
Benji York
benji.york at canonical.com
Mon Mar 5 16:22:21 UTC 2012
On Mon, Mar 5, 2012 at 11:10 AM, Gary Poster <gary.poster at canonical.com> wrote:
> With Francesco's proposed change, the test does this.
> - start upgrade
> - loop until the status is no longer "updating". If we never see the
> "updating" status that's fine: it must have been a fast update, but now we
> know we are ready to test the result of the update.
The above would work as long as the command to start the upgrade doesn't
return until the state transition from "running" to "updating" takes
place. In other words, this sequence of events should not be possible:
- upgrade is initiated
- juju status shows "running"
- juju status shows "upgrading"
- juju status shows "running"
--
Benji York
More information about the Juju
mailing list