[2.0a4] When power_type changed to manual "power_state" was not set to "unknown"

Bug #1574003 reported by Blake Rouse
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Critical
Newell Jensen

Bug Description

I changed the "power_type" of a machine from "virsh" to "manual". The power_state showed on the node as "on" or previous what the other driver had. When changing to a power_type that doesn't support query we should clear the power_state.

I also tried to check the power of the machine when in the "manual" power state, this caused it to show up as "error", when it should have changed it to "unknown".

Related branches

Changed in maas:
importance: Medium → Critical
Changed in maas:
assignee: nobody → Newell Jensen (newell-jensen)
Changed in maas:
status: Triaged → In Progress
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.