[Maas-devel] RFC: "Serialising" power actions
Mark Shuttleworth
mark at ubuntu.com
Tue Sep 23 09:43:01 UTC 2014
In response to this thread:
* dropping and interpolating are both fraught with problems
Therefor:
* please implement a queue
* please ensure that there is an externally imposed timeout on every
action (so the queue never gets fully blocked even if one gets stuck)
* think carefully about how to handle a failure - does that invalidate
the node, or do we initiate an attempt to reset the BMC and re-establish
control
* provide feedback on the queue on commands, e.g.
$ maas power-off node1
Queue of power actions on node1:
* reboot (for admin) in progress
* reboot (for admin)
* pxe-boot (for fred)
then will power-off for you.
$ maas power-off node2
Powering off node2 for you now.
While that may seem pedantic, it's most understandable to the user
because they don't have to know what MAAS is doing or why; MAAS is just
doing what it has been told, and they can talk to the user in question
if it's been told something silly.
Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/maas-devel/attachments/20140923/50ef494e/attachment.pgp>
More information about the Maas-devel
mailing list