nova/nova/tests
Dan Smith 4a285b1fb9 Fix check_instance_shared_storage() call
In the RPC 6.0 bump, we re-ordered the data and instance parameters
in the client, without changing the order of the caller. This causes
us to pass the instance to the virt driver call instead of the
data structure, thus failing the check all the time (and barfing
a traceback).

This just fixes that re-ordering. Since all of our direct testing of
this is done using dispatch-by-name, we didn't see a unit test fail
because of it, but the error was visible in the logs of an integration
run. There is one evacuate test that asserts the ordering is as we
expect, which this fixes. Given the time constraints of RC1, I'm
considering that to be enough coverage, but we probably need a better
test that covers the seam between manager and rpcapi here.

Change-Id: Ie7e06776315e5e82e7d320919f1781fa2164398a
Closes-Bug: #1921399
2021-03-25 22:39:17 +00:00
..
functional Merge "Bump the Compute RPC API to version 6.0" 2021-03-25 14:15:04 +00:00
unit Fix check_instance_shared_storage() call 2021-03-25 22:39:17 +00:00
__init__.py
fixtures.py libvirt: Move some host arch checks to guest checks 2021-03-09 12:37:21 +00:00
json_ref.py Transform instance.exists notification 2018-06-05 12:51:30 +00:00