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>
9 lines
260 B
YAML
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
|