Transition from New -> Commissioning should throw an error if node power is on

Bug #1457990 reported by Mike Pontillo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Medium
Blake Rouse

Bug Description

When a node in "New" state is commissioned, the commissioning will fail if the node is powered on.

This is intentional, since the node may have been added to MAAS accidentally.

The current behavior is that the node is "stuck" in "Commissioning" state. However, now that the following MP has landed, this is inconsistent with the behavior we get when we re-deploy a node in "Fixed" state when the power is already on:

https://code.launchpad.net/~blake-rouse/maas/fix-1456698/+merge/259954

Suggestion: if the user attempts to commission a new node, throw an error (similar to the noted MP) if the power is already on.

Related branches

Changed in maas:
milestone: none → 1.8.0
Changed in maas:
status: Triaged → In Progress
assignee: nobody → Blake Rouse (blake-rouse)
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.