Descriptionprovisioner: handle machine life
* Dead machines are removed.
* Dying machines that have not already been provisioned are removed.
As part of this, it turned out that the LifecycleWatcher was not following
its supposed behaviour (of reporting Dead machines, just once, in the first
event, lest their responsible entity entirely lose track of them), so I
fixed that... and noted to my disgust that those awful, awful tests didn't
even cover the case I changed. So I killed them all, and it felt Good.
Then I tidied up the provisioner tests a bit and, before you know it, that's
1000 lines of diff :/.
https://code.launchpad.net/~fwereade/juju-core/provisioner-remove-machines/+merge/159045
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 7
Patch Set 2 : provisioner: handle machine life #
MessagesTotal messages: 6
|