f40bd2f637
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>
16 lines
416 B
YAML
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.
|