Node stuck in Commissioning state after virsh power on failed

Bug #1277658 reported by Jason Hobbs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
New
Undecided
Unassigned

Bug Description

After enlisting a node and configuring it to use virsh power, I started commissioning it. virsh was configured incorrectly - no ssh-key - setup - and a PowerActionFail() error was raised in the cluster worker. The error didn't bubble up enough to change the state of the node, and I had to recover by manually changing the node's state in the db.

I'm using the dev environment, revno 1891, on trusty.

Revision history for this message
Jason Hobbs (jason-hobbs) wrote :
Revision history for this message
Julian Edwards (julian-edwards) wrote :

I think this is actually fine in terms of what the node is doing, it's waiting to get powered up so it can complete the commissioning cycle. There is no other natural state for the node at this stage, going backwards to "Declared" is no use.

(You needn't have hacked the DB state, you can just power the node up manually.)

The bug here is that external power script failures are not displayed to the user. Also, we probably need a "retry" for power.

I think therefore this is a duplicate of bug 1273222

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.