
When retrieving the list of instances and volumes to propose a
solution, the zone migration strategy can raise an exception for
instance or volume not found, which will make the audit goes to a
failure state. This fix maintains the logic of listing all elements
directly from the client (nova) but now checks if the instance
is already in the model. The storage model check was already fixed
in another patch[1].
[1] cb6fb16097
Closes-Bug: #2098984
Assisted-By: Cursor (claude-3.5-sonnet)
Change-Id: I4c8993f051b797104172047eaae1fe1523eaf7eb
Signed-off-by: Douglas Viroel <viroel@gmail.com>
10 lines
448 B
YAML
10 lines
448 B
YAML
---
|
|
fixes:
|
|
- |
|
|
Fixes a bug in the zone migration strategy where audits would fail due to
|
|
an unhandled exception when trying to plan instance migration that exist
|
|
in Nova but not in Watcher's compute model.
|
|
The strategy now filters out the elements that are not found in the model,
|
|
allowing the audit to complete successfully. For more details, please see
|
|
`Bug #2098984 <https://bugs.launchpad.net/watcher/+bug/2098984>`_.
|