Conflicting power actions being dropped on the floor can result in leaving a node in an inconsistent state

Bug #1373368 reported by Raphaël Badin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Critical
Graham Binns

Bug Description

How to reproduce:

- Get a node to commission
- In the UI, click "Abort commissioning"
- Really quickly after this (i.e. before the node has been turned off) re-commission the node
- the power on action has been dropped on the floor (see pserv.log) but the commissioning action hasn't been canceled
=> The node is off but is commissioning.

Related branches

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

When power actions are "abandoned" because another one is in progress, the whole encapsulating transaction should be cancelled.

Raphaël Badin (rvb)
summary: - Conflicting power actions being dropped on the floor can result leaving
- the nodes in an inconsistent state
+ Conflicting power actions being dropped on the floor can result in
+ leaving a node in an inconsistent state
Graham Binns (gmb)
Changed in maas:
status: Triaged → In Progress
assignee: nobody → Graham Binns (gmb)
Revision history for this message
Julian Edwards (julian-edwards) wrote :

Marked in progress nearly 2 weeks ago, is this still in progress gmb?

Revision history for this message
Graham Binns (gmb) wrote :

This should be fixed now. Testing to prove that today.

Changed in maas:
status: In Progress → Fix Committed
milestone: none → 1.7.0
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.