[Maas-devel] RFC: "Serialising" power actions

Julian Edwards julian.edwards at canonical.com
Mon Nov 10 23:35:21 UTC 2014


On Monday 10 Nov 2014 22:14:57 Mark Shuttleworth wrote:
> On 07/10/14 01:40, Julian Edwards wrote:
> > Perhaps the best approach is to not have a queue in MAAS at all and then
> > it
> > becomes very, very simple.  The user can request an action.  They can
> > cancel that action (at their own risk, as it will leave the power in an
> > unknown state).  Simple is easy to understand, has no surprises, is easy
> > to implement and a vastly easier API for users to write client-side code.
> 
> An easier API that leaves "the power in an unknown state" is not a very
> good outcome ;)
> 
> Mark

I think it's fine.  We have other API calls that subsequently let you find out 
what the state is, and if *that* doesn't work then your node is broken!

J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.ubuntu.com/archives/maas-devel/attachments/20141111/6ab86cf7/attachment.pgp>


More information about the Maas-devel mailing list