"Start node" UI button does not allocate node before starting in 1.7

Bug #1365591 reported by Dustin Kirkland 
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Low
Graham Binns

Bug Description

I'm trying to start a node for the first time in MAAS 1.7 GUI, and I'm unable to.

It turns out, I needed to allocate the node to myself, first, and then start it. This seems a little silly, and certainly not expected by an experienced MAAS 1.5 user.

If a user tries to start a node, and it's not already allocated to them, MAAS should just allocate it to them at that time.

Tags: robustness

Related branches

Raphaël Badin (rvb)
Changed in maas:
status: New → Triaged
importance: Undecided → Low
assignee: Raphaël Badin (rvb) → nobody
Revision history for this message
Julian Edwards (julian-edwards) wrote :

This needed to be done to de-conflate the allocation and power operations, so that nodes may be powered off without deallocating. — you would want a "start node" that doesn't try to allocate in that case.

Suggestions:
 - make the old "start node" button more intelligent, and auto-allocate as necessary
 - change the label on the button depending on whether the node is allocated or not

any more?

Revision history for this message
Raphaël Badin (rvb) wrote :

> - make the old "start node" button more intelligent, and auto-allocate as necessary

I think that's what we should do. It's pretty clear to me that if you start a 'Ready' node it should be transparently allocated to you and put through deployment.

Revision history for this message
Christian Reis (kiko) wrote :

There is an issue with this change that is somewhat subtle: if you put a button which says "Start" which as a side-effect allocates, then we're really making the "Allocate" action mysterious. The button would need to communicate "Allocate and Start (with default options)" to ensure the action is understandable without reading the state machine, but how do you put that on a button? Maybe:

  [[ Allocate and Start ]]
      (with default options)

Related:

  * bug 1379187, where there is a complaint about OS and Release being on node edit versus being part of the "start" action workflow
  * bug 1378936, which is a quasi-security issue with users being able to change OS & Release of any node (as opposed to only of Acquired nodes)

Changed in maas:
milestone: none → 1.7.0
Revision history for this message
Christian Reis (kiko) wrote :

The only reason this is on 1.7.0 is that I believe this is a behaviour change if compared to 1.6. However, I won't hold the release up for this.

Graham Binns (gmb)
Changed in maas:
status: Triaged → In Progress
assignee: nobody → Graham Binns (gmb)
Graham Binns (gmb)
summary: - allocate node (if not already allocated) when starting
+ "Start node" UI button does not allocate node before starting in 1.7
Changed in maas:
status: In Progress → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.