PXE power-off instead of power controller

Bug #1441405 reported by David Andersen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Invalid
Medium
Unassigned

Bug Description

When a node boots unexpectedly, MAAS turns it off using a PXE kernel to shut it down, instead of using the power control method assigned for that node.

When using an external power controller that does not know the actual boot state of the node (such as the DLI, or, as I'm working with, an APC PDU that I just added support for), this puts the node state out of sync with the power controller state. The next time MAAS tries to wake up the node, it checks the power controller state, sees that the node is "up" (the outlet is powered, but the node is offline), and doesn't take any actions.

As a result, MAAS gets stuck and can't control the node until it's power cycled.

I faked a fix for this by having my APC power template always send a wake-on-lan packet whenever the power state is queried, but this was a bit of an ugly hack.

Tags: oil
Revision history for this message
Andres Rodriguez (andreserl) wrote :

Hi David,

Unfortunately, MAAS will not enforce a machine to power off if it is turned on manually. This is to ensure that if someone turned it on manually on purpose, MAAS doesn't kill it.

That being said, the support for PDU's is a tricky thing because MAAS cannot effectively determine the power status of the machine. MAAS will not provide full support for such devices due to the limitations that they entail, but in the future it will be able to try to tell the user that they might be something wrong going on on other means.

Changed in maas:
importance: Undecided → Medium
status: New → Triaged
milestone: none → next
tags: added: oil
Revision history for this message
Andres Rodriguez (andreserl) wrote :

** This is an automated message **

We believe this is no longer an issue on the latest MAAS releases. As such, we are marking this bug report as invalid. If you believe this is still an issue, please re-open the bug report and provide any relevant information.

Thanks.

Changed in maas:
status: Triaged → Invalid
Changed in maas:
milestone: next → none
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.