Descriptioncmd/juju: status displays machine errors
This makes the juju status command behave in a
more py-juju compatible way, displaying the
following additional information for each
machine:
agent-state: [whatever machine.Status() reports]
agent-state-info: [machine.Status().Info, if set]
"instance-state" is not possible to support right now,
so I didn't implement it, but filed a lp:1167441 bug.
Also, when the agent is detected as "down", the
agent-state-info shows the original status and the
info (if set).
Finally, there is a fix for the machiner to handle
SetAgentAlive() and testing it correctly.
https://code.launchpad.net/~dimitern/juju-core/029-juju-status-displays-machine-state-and-errors/+merge/158135
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 4
Patch Set 2 : cmd/juju: status displays machine errors #Patch Set 3 : cmd/juju: status displays machine errors #
Total comments: 9
Patch Set 4 : cmd/juju: status displays machine errors #Patch Set 5 : cmd/juju: status displays machine errors #
MessagesTotal messages: 9
|