Files
watcher/releasenotes/notes/resize-precondition-check-3d234a9000c3c93f.yaml
Alfredo Moralejo f40bd2f637 Skip resize 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
check that:
- The instance exists
On other contitions the action will be FAILED in the pre_condition
check:
- Destination flavor does not exist

Implements: blueprint skip-actions-in-pre-condition

Change-Id: I1f6c8d99df3925556ea3ab22c81513dd0d4d7197
Signed-off-by: Alfredo Moralejo <amoralej@redhat.com>
2026-02-24 15:14:26 +01:00

16 lines
416 B
YAML

---
features:
- |
Added a pre-condition check to the resize action to prevent executing
it when required criteria are not met. In following condition,
the action status will be set to SKIPPED:
- Instance is not found
On other condition the action will be FAILED in the pre_condition
check:
- Destination flavor does not exist
This improves safety and correctness of migrations.