ironic/releasenotes/notes/fix-redfish-bios-apply-configuration-error-handling-464695b09e4f81ac.yaml
Aija Jauntēva 70b7ca345f Fix redfish BIOS apply config error handling
Instead of using process_event('fail') use error_handlers,
otherwise in case of failure node gets stuck and fails
because of timeout, instead of failing earlier due to
step failure.

Besides adding new unit tests, also update related unit tests
to test for success correctly and have realistic data.

Story: 2008307
Task: 41196
Change-Id: If28ccb252a87610e3fd3dc78e1ed75bb8ca1cdcf
2020-11-02 12:55:26 -05:00

9 lines
350 B
YAML

---
fixes:
- |
Fixes ``redfish`` BIOS ``apply_configuration`` clean and deploy step to
fail correctly in case of error when checking if BIOS updates are
successfully applied. Before the fix when BIOS updates were unsuccessful,
then node cleaning or deploying failed with timeout instead of actual error
in clean or deploy step.