I can confirm seeing same issue with HP DL360 Gen11 (amd64 cpu) servers.
Looking at what happens during on/off/reboot process:
- power off then polling for power status yielded multiple On then finally Off state (considered normal)
- power on then polling for power status yielded multiple power off power state responses then it had intermediate "Reset" power state for couple of seconds then went to On but since 'Set Pxe BOOT" option was called, after couple of seconds, server 'rebooted' (looking at console) and went back to "Reset" for another few seconds before moving back to On. I did not get any status code 400 errors from my reproducer script yet.
My gut feeling is that in specific power state (possibly while in transition from on to off or from off to on - set PXE boot can get refused - I am seeing from ILO UI same - during server POST - it is not possible to change boot order or set Boot Once entry.)
Could it be that maas needs to make sure server is off or on before setting the PXE boot ?
Disclaimer - I am not the original poster of this issue and my intention is not to hijack the thread, just to provide support with more details. I will also work on reproducing this by implementing calls to set pxe boot purposely in the transition from on to off and off to on.
I might also have (because I can print it) - output of communication as Jerzy requested.
I can confirm seeing same issue with HP DL360 Gen11 (amd64 cpu) servers.
Looking at what happens during on/off/reboot process:
- power off then polling for power status yielded multiple On then finally Off state (considered normal)
- power on then polling for power status yielded multiple power off power state responses then it had intermediate "Reset" power state for couple of seconds then went to On but since 'Set Pxe BOOT" option was called, after couple of seconds, server 'rebooted' (looking at console) and went back to "Reset" for another few seconds before moving back to On. I did not get any status code 400 errors from my reproducer script yet.
My gut feeling is that in specific power state (possibly while in transition from on to off or from off to on - set PXE boot can get refused - I am seeing from ILO UI same - during server POST - it is not possible to change boot order or set Boot Once entry.)
Could it be that maas needs to make sure server is off or on before setting the PXE boot ?
Disclaimer - I am not the original poster of this issue and my intention is not to hijack the thread, just to provide support with more details. I will also work on reproducing this by implementing calls to set pxe boot purposely in the transition from on to off and off to on.
I might also have (because I can print it) - output of communication as Jerzy requested.