15489fafb0a96d6fa3dbf7924f33014535121db0
The Zone Migration strategy was implemented to list all instances and volumes from clients (nova and cinder) and check if they exist in the models. But the code is not properly treating model exceptions, taking audit to a failure state when the model doesn't have the requested element. This patch adds unit tests to validate this scenario, which should be fixed in a follow up change. The additional check for volumes in the model was recently added in [1] [1]cb6fb16097Related-Bug: #2098984 Assisted-By: Cursor (claude-3.5-sonnet) Change-Id: Icf1e5d4c83862c848d11dae994842ad0ee62ba12 Signed-off-by: Douglas Viroel <viroel@gmail.com> (cherry picked from commitcada9acced)
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%