We use a mix of IPMI and Redfish for all machines. The behaviour is the same for both. Querying maasserver_node shows empty power_state_queried.
maasdb=> SELECT system_id, power_state, power_state_queried, power_state_updated
FROM maasserver_node;
system_id | power_state | power_state_queried | power_state_updated
-----------+-------------+---------------------+-------------------------------
8dmef6 | on | | 2026-02-13 17:33:04.42324-08
cms6et | off | | 2026-02-13 16:13:37.665781-08
ed67b8 | off | | 2026-02-13 16:13:26.305461-08
smmd46 | on | | 2026-02-13 16:13:43.381593-08
qybex8 | on | | 2026-02-13 16:13:49.089349-08
Manual attempt for a machine which has an actual power error shows a stack trace
Feb 16 00:25:03 xxx.yyy.com regiond[56952]: maasserver.websockets.handlers.machine: [critical] Failed to update power state of machine.
Feb 16 00:25:03 xxx.yyy.com regiond[56952]: Traceback (most recent call last):
Feb 16 00:25:03 xxx.yyy.com regiond[56952]: File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1750, in gotResult
Feb 16 00:25:03 xxx.yyy.com regiond[56952]: current_context.run(_inlineCallbacks, r, gen, status)
Feb 16 00:25:03 xxx.yyy.com regiond[56952]: File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1740, in _inlineCallbacks
Feb 16 00:25:03 xxx.yyy.com regiond[56952]: status.deferred.errback()
Feb 16 00:25:03 xxx.yyy.com regiond[56952]: File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 700, in errback
Feb 16 00:25:03 xxx.yyy.com regiond[56952]: self._startRunCallbacks(fail)
Feb 16 00:25:03 xxx.yyy.com regiond[56952]: File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 763, in _startRunCallbacks
Feb 16 00:25:03 xxx.yyy.com regiond[56952]: self._runCallbacks()
Feb 16 00:25:03 xxx.yyy.com regiond[56952]: --- <exception caught here> ---
Feb 16 00:25:03 xxx.yyy.com regiond[56952]: File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 857, in _runCallbacks
Feb 16 00:25:03 xxx.yyy.com regiond[56952]: current.result = callback( # type: ignore[misc]
Feb 16 00:25:03 xxx.yyy.com regiond[56952]: File "/usr/lib/python3/dist-packages/maasserver/websockets/handlers/machine.py", line 1256, in eb_unknown
Feb 16 00:25:03 xxx.yyy.com regiond[56952]: failure.trap(UnknownPowerType, NotImplementedError)
Feb 16 00:25:03 xxx.yyy.com regiond[56952]: File "/usr/lib/python3/dist-packages/twisted/python/failure.py", line 451, in trap
Feb 16 00:25:03 xxx.yyy.com regiond[56952]: self.raiseException()
Feb 16 00:25:03 xxx.yyy.com regiond[56952]: File "/usr/lib/python3/dist-packages/twisted/python/failure.py", line 475, in raiseException
Feb 16 00:25:03 xxx.yyy.com regiond[56952]: raise self.value.with_traceback(self.tb)
Feb 16 00:25:03 xxx.yyy.com regiond[56952]: File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1656, in _inlineCallbacks
Feb 16 00:25:03 xxx.yyy.com regiond[56952]: result = current_context.run(
Feb 16 00:25:03 xxx.yyy.com regiond[56952]: File "/usr/lib/python3/dist-packages/twisted/python/failure.py", line 489, in throwExceptionIntoGenerator
Feb 16 00:25:03 xxx.yyy.com regiond[56952]: return g.throw(self.type, self.value, self.tb)
Feb 16 00:25:03 xxx.yyy.com regiond[56952]: File "/usr/lib/python3/dist-packages/maasserver/models/node.py", line 6174, in exec_power_workflow
Feb 16 00:25:03 xxx.yyy.com regiond[56952]: raise PowerActionFail(cause)
Feb 16 00:25:03 xxx.yyy.com regiond[56952]: provisioningserver.rpc.exceptions.PowerActionFail: ExitError: exit status 1
Feb 16 00:25:03 xxx.yyy.com regiond[56952]:
No other power related messages can be seen in maas-regiond / maas-rackd/maas-agentd.
thanks!