nova/nova/compute
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
..
monitors Remove six.add_metaclass 2020-08-15 07:45:39 +00:00
__init__.py Remove nova.compute.*API() shims 2019-06-12 16:09:46 +01:00
api.py api: Block unsupported actions with vDPA 2021-03-16 20:39:27 +00:00
build_results.py
claims.py objects: Add MigrationTypeField 2020-05-08 14:45:54 +01:00
flavors.py Remove six.text_type (1/2) 2020-12-13 11:25:31 +00:00
instance_actions.py api: Log os-resetState as an instance action 2021-01-18 09:19:58 +00:00
instance_list.py Plumbing for ignoring list_records_by_skipping_down_cells 2019-02-08 16:28:28 -05:00
manager.py Fix check_instance_shared_storage() call 2021-03-25 22:39:17 +00:00
migration_list.py Refactor scatter-gather utility to return exception objects 2018-10-31 15:18:07 -04:00
multi_cell_list.py Remove six.add_metaclass 2020-08-15 07:45:39 +00:00
power_state.py Removed enum duplication from nova.compute 2016-09-02 07:30:44 +00:00
provider_config.py Provider Config File: Coding style and test cases improvement 2020-09-01 01:05:34 +00:00
provider_tree.py Remove six.iteritems/itervalues/iterkeys 2020-11-07 03:25:26 +00:00
resource_tracker.py pci manager: replace node_id parameter with compute_node 2021-03-08 15:18:46 -05:00
rpcapi.py Bump the Compute RPC API to version 6.0 2021-03-25 11:23:07 +01:00
stats.py Change consecutive build failure limit to a weigher 2018-06-06 15:18:50 -07:00
task_states.py Fix resource tracker updates during instance evacuation 2018-09-12 13:05:29 +03:00
utils.py Merge "Refactor update_pci_request_spec_with_allocated_interface_name" 2021-01-28 22:20:03 +00:00
vm_states.py Removed enum duplication from nova.compute 2016-09-02 07:30:44 +00:00