680518ad6d
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] https://github.com/openstack/watcher/commit/cb6fb1609706495a6187b973a55e270257be64e1 Closes-Bug: #2098984 Assisted-By: Cursor (claude-3.5-sonnet) Change-Id: I4c8993f051b797104172047eaae1fe1523eaf7eb Signed-off-by: Douglas Viroel <viroel@gmail.com>