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 volume does not exist
- The volume is already in the destination pool (in migrations)
- The volume is already in the destination type (in retypes)
On other contitions the action will be FAILED in the pre_condition
check.
- The destination pool or type specified (if so) does not exist
Implements: blueprint skip-actions-in-pre-condition
Change-Id: Iadc0efd4295df2dbf52b9799a5dce91201ef03e8
Signed-off-by: Alfredo Moralejo <amoralej@redhat.com>