@troyanov,
observed following logs after switching on server through BMC of the server.
2023-08-08 23:11:27 maasserver.regiondservices.active_discovery: [info] Active network discovery: Active scanning is not enabled on any subnet. Skipping periodic scan.
2023-08-08 23:11:41 maasserver.websockets.handlers.machine: [critical] Failed to update power state of machine.
Traceback (most recent call last):
--- <exception caught here> ---
File "/snap/maas/29927/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 857, in _runCallbacks
current.result = callback( # type: ignore[misc]
File "/snap/maas/29927/lib/python3.10/site-packages/maasserver/websockets/handlers/machine.py", line 1259, in eb_unknown
failure.trap(UnknownPowerType, NotImplementedError)
File "/snap/maas/29927/usr/lib/python3/dist-packages/twisted/python/failure.py", line 451, in trap
self.raiseException()
File "/snap/maas/29927/usr/lib/python3/dist-packages/twisted/python/failure.py", line 475, in raiseException
raise self.value.with_traceback(self.tb)
File "/snap/maas/29927/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 857, in _runCallbacks
current.result = callback( # type: ignore[misc]
File "/snap/maas/29927/usr/lib/python3/dist-packages/twisted/protocols/amp.py", line 1946, in _massageError
error.trap(RemoteAmpError)
File "/snap/maas/29927/usr/lib/python3/dist-packages/twisted/python/failure.py", line 451, in trap
self.raiseException()
File "/snap/maas/29927/usr/lib/python3/dist-packages/twisted/python/failure.py", line 475, in raiseException
raise self.value.with_traceback(self.tb)
twisted.internet.defer.CancelledError:
2023-08-08 23:12:09 maasserver.websockets.handlers.machine: [critical] Failed to update power state of machine.
Traceback (most recent call last):
--- <exception caught here> ---
File "/snap/maas/29927/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 857, in _runCallbacks
current.result = callback( # type: ignore[misc]
File "/snap/maas/29927/lib/python3.10/site-packages/maasserver/websockets/handlers/machine.py", line 1259, in eb_unknown
failure.trap(UnknownPowerType, NotImplementedError)
File "/snap/maas/29927/usr/lib/python3/dist-packages/twisted/python/failure.py", line 451, in trap
self.raiseException()
File "/snap/maas/29927/usr/lib/python3/dist-packages/twisted/python/failure.py", line 475, in raiseException
raise self.value.with_traceback(self.tb)
File "/snap/maas/29927/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 857, in _runCallbacks
current.result = callback( # type: ignore[misc]
File "/snap/maas/29927/usr/lib/python3/dist-packages/twisted/protocols/amp.py", line 1946, in _massageError
error.trap(RemoteAmpError)
File "/snap/maas/29927/usr/lib/python3/dist-packages/twisted/python/failure.py", line 451, in trap
self.raiseException()
File "/snap/maas/29927/usr/lib/python3/dist-packages/twisted/python/failure.py", line 475, in raiseException
raise self.value.with_traceback(self.tb)
twisted.internet.defer.CancelledError: