You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The only "route" to reach forced power off currently seems to be through ensureServerPowerState in Available state of a Server. So this is theoretically triggerable via patching the metal.ironcore.dev/operation: force-on-server annotation to a Server and waiting for the controller to power it down again. THis requires that there is no OS that handles ACPI running.
The approach outlined in my earlier comment poses the problem that its difficult to ensure that the graceful shutdown did not actually succeed but the server was forced off.
I for now settled on that the test 03 using the annotation is sufficient. Although it uses the Reset-method on the `BMC-interface, the tested capability/redfish surface is the same.
Activity
simontesar commentedon Sep 14, 2026
The only "route" to reach forced power off currently seems to be through
ensureServerPowerStateinAvailablestate of aServer. So this is theoretically triggerable via patching themetal.ironcore.dev/operation: force-on-serverannotation to aServerand waiting for the controller to power it down again. THis requires that there is no OS that handles ACPI running.simontesar commentedon Sep 15, 2026
The approach outlined in my earlier comment poses the problem that its difficult to ensure that the graceful shutdown did not actually succeed but the server was forced off.
I for now settled on that the test 03 using the annotation is sufficient. Although it uses the
Reset-method on the `BMC-interface, the tested capability/redfish surface is the same.simontesar commentedon Sep 15, 2026
Documented in #47
simontesar commentedon Sep 16, 2026
I have left a WIP implementation of a separate test implementing the first approach here: https://github.com/simontesar/metal-operator-test-framework/compare/test-off-force-separately?expand=1
simontesar commentedon Oct 26, 2026
Implemented in https://github.com/simontesar/metal-operator-test-framework/pull/79/changes