Nodes powered by APC PDU cannot commission or deploy if the outlet is already turned "ON"

Bug #1436438 reported by Newell Jensen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Newell Jensen

Bug Description

Nodes powered by APC PDU cannot commission or deploy if the outlet is already turned "ON" because the current logic of turning the node "OFF" and then back "ON" is failing for some reason. This needs to be troubleshooted.

Tags: hs-arm64

Related branches

Changed in maas:
importance: Undecided → High
Revision history for this message
Newell Jensen (newell-jensen) wrote :

The logic in the code is correct and works when manually executing the same exact steps. The reason it is failing while the code is executing is that the machine needs some time to turn the actual power OFF before turning it on. During runtime, the code is telling the PDU to change from ON to OFF and the back to ON so quickly that it doesn't actually turn off the outlet. This was verified with putting a sleep in the code between turning the outlet OFF and ON.

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.