Releasing node not transitioned to "Failed releasing"
Bug #1438606 reported by
Raphaël Badin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Raphaël Badin |
Bug Description
A node with a faulty BMC was being released and, although I saw a message like "normal-
Related branches
lp://qastaging/~rvb/maas/failed-releasing-bug-1438606
- Raphaël Badin (community): Approve
- Gavin Panella (community): Approve
-
Diff: 37 lines (+9/-0)2 files modifiedsrc/provisioningserver/rpc/power.py (+2/-0)
src/provisioningserver/rpc/tests/test_power.py (+7/-0)
Changed in maas: | |
milestone: | none → 1.8.0 |
Changed in maas: | |
assignee: | nobody → Raphaël Badin (rvb) |
status: | Triaged → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I believe this happens because, in src/provisionin gserver/ rpc/power. py, 'maybe_ change_ power_state' call 'change_ power_state' via 'deferWithTimeout' and when the cancellation happens, no call to 'power_ change_ failure' is made.