c14f9098a608fb013a710dc9c4ca77fab96d148f
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 - The instance is running in the source_node On other contitions the action will be FAILED in the pre_condition check: - Destination node (if specified) does not exists or is disabled - Instance is not ACTIVE and migration_type is live. Implements: blueprint skip-actions-in-pre-condition Assisted-By: claude-code (claude-sonnet-4.5) Change-Id: I52f6fbe6961a4fb195e601b529110c6c3154c2dc Signed-off-by: Alfredo Moralejo <amoralej@redhat.com>
Watcher
OpenStack Watcher provides a flexible and scalable resource optimization service for multi-tenant OpenStack-based clouds. Watcher provides a robust framework to realize a wide range of cloud optimization goals, including the reduction of data center operating costs, increased system performance via intelligent virtual machine migration, increased energy efficiency and more!
- Free software: Apache license
- Wiki: https://wiki.openstack.org/wiki/Watcher
- Source: https://opendev.org/openstack/watcher
- Bugs: https://bugs.launchpad.net/watcher
- Documentation: https://docs.openstack.org/watcher/latest/
- Release notes: https://docs.openstack.org/releasenotes/watcher/
- Design specifications: https://specs.openstack.org/openstack/watcher-specs/
Description
Languages
Python
99.7%
Shell
0.3%