Code review comment for lp:~jtv/maas/bug-987585

Revision history for this message
Francis J. Lacoste (flacoste) wrote :

> When applied to a node in Ready state, the Start Node action is meant not just to start it up but to acquire it first.
> This is of course not desired if it's already in Allocated state. (These are the two states for which the action is
> offered).

"Start node" shouldn't be available when the node is allocated. Although from an API possible, it's possible to acquire a node without starting it, in practice, there is no way for the user to achieve that (except by making API calls).

If you use juju bootstrap or juju deploy, the nodes will show up as 'Allocated' even though they were acquired _and_ started.

We should probably couple acquire and start, or use a separate status for nodes that were started.

« Back to merge proposal