maas-devel team mailing list archive
-
maas-devel team
-
Mailing list archive
-
Message #02025
Re: RFC: "Serialising" power actions
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.
Attachment:
signature.asc
Description: This is a digitally signed message part.
Follow ups
References