Files
ironic/releasenotes/notes/fix-servicing-abort-abortable-flag-handling-d8e7f9a2c4b5e7f1.yaml
Jacob Anders fa8a8fbb4b Fix servicing abort to respect abortable flag
Currently, Ironic codebase allows aborting servicing state regardless
of whether a servicing step has abortable flag set or not. This patch
fixes this by adding handling of service wait states to abort code paths
and adding the missing state machine transition.

Generated-By: Claude Code Sonnet 3.5
Change-Id: Ie07490bdb9c6461bd6ac7a6315773dcfb13592f9
Signed-off-by: Jacob Anders <janders@redhat.com>
2025-08-20 11:12:29 +00:00

9 lines
480 B
YAML

---
fixes:
- |
Fixes servicing abort handling to respect the `abortable` flag of service steps.
Previously, servicing steps could be aborted regardless of their `abortable` flag
setting. Now, if a service step has `abortable` set to `False`, the abort will
be deferred until the current step completes, similar to how cleaning steps work.
This ensures service steps that cannot be safely interrupted are allowed to complete
before the abort takes effect.