DescriptionAn actual Uniter type, would you believe?
It turns out that the unit agent state machine is involved enough that
trying to implement it piecemeal is confusing and unhelpful; but,
thankfully, it is also simple enough that I can implement it as one big
lump and feel reasonably confident that my reviewers won't hate me too
much...
Apart from a couple of small changes to the state API (one of which fixes
lp:1020318, one of which possibly implies a new bug but is possibly just
related to lp:1033852), this change implements the non-relation parts of
the uniter. That is to say that it fixes lp:1037042, lp:1037043,
lp:1037044, lp:1037046, lp:1037047, lp:1037050, and lp:1037067, which
(should?) cover all aspects of installation, upgrade, error resolution,
and service config handling; leaving only the relation work and lifecycle
handling to go.
Note that the majority of the lines in this diff are purely down to
uniter_test.go, and most of that would have to be written to support
any of the interesting test cases; and, similarly, every part of uniter.go
is required to support even basic installation without hook error recovery.
https://code.launchpad.net/~fwereade/juju-core/real-live-uniter/+merge/120315
Requires: https://code.launchpad.net/~fwereade/juju-core/uniter-support-tweaks/+merge/120293
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 8
MessagesTotal messages: 3
|