Unit state during charm upgrade
Gary Poster
gary.poster at canonical.com
Mon Mar 5 19:33:18 UTC 2012
On 03/05/12 14:13, Gustavo Niemeyer wrote:
> On Mon, Mar 5, 2012 at 16:05, Kapil Thangavelu
> <kapil.thangavelu at canonical.com> wrote:
>> Yeah.. this sounds like the most reasonable thing to me, ie. exposing the unit
>> charm version, its available right now just not exposed via status. Its a good
>> marker that the upgrade is in progress, but it is changed right before the
>> unit's upgrade-changed hook is invoked, ie. as soon as the newer charm version
>> is on disk. The upgrade isn't technically complete till this hook has been invoked.
>
> Right, but at the same time it seems a bit awkward to be "lying" in
> status if the charm is indeed the newest one. The hook may not have
> finished yet (and may even fail), but the charm is already the new
> one.. hmmm.
>
[sent privately inadvertently initially; resending]
That was the argument Francesco made, and why he suggested the status
name change.
Gary
More information about the Juju
mailing list