Files
watcher/releasenotes/notes/stop-precondition-check-95f2e5fe83355a4e.yaml
Alfredo Moralejo 15a4f31a52 Skip stop actions in pre_condition phase
This patch is implementing detection of certain conditions and moving
the action to SKIPPED status so that, execution is not started. We will
skip it if:

- The instance does not exists
- The instance is already stopped

Implements: blueprint skip-actions-in-pre-condition
Change-Id: I54a0017536a83206f55e5b6cd0637480d5b798fe
Signed-off-by: Alfredo Moralejo <amoralej@redhat.com>
2026-01-15 14:21:43 +01:00

9 lines
260 B
YAML

---
features:
- |
Added a pre-condition check to the stop action to prevent executing
it when required criteria are not met. In following conditions,
the action status will be set to SKIPPED:
- Instance is not found
- Instance is stopped