Files
ironic/releasenotes/notes/catch-redfish-409-0819174174245ade.yaml
Riccardo Pittau f2a4a741c2 Handle HTTP 400 and 409 race condition in Redfish power operations
Treat HTTP 400 and 409 errors as success when the node is already
in the target power state, preventing deployment failures from
race conditions between power state change completion and state
verification timeout.

Also refresh system state to get current power state from BMC
instead of using potentially stale cached data.

Assisted-By: Claude Sonnet 4.5

Change-Id: Id66ff9c70a9dd6969e3ac7fc74328dfc6e0431bd
Signed-off-by: Riccardo Pittau <elfosardo@gmail.com>
(cherry picked from commit 3e778ef954)
2025-11-06 17:03:52 +01:00

12 lines
530 B
YAML

---
fixes:
- |
Fixes a race condition where the Redfish power interface could fail with
HTTP 400 (BadRequest) or HTTP 409 (Conflict) errors during power
operations. These errors are now treated as success when the node is
already in the target power state (either on or off), preventing
deployment failures when power state changes complete after Ironic's
state verification times out.
Also refresh system state to get current power state from BMC
instead of using potentially stale cached data.