nova/nova/tests/unit/compute
Lee Yarwood 6b03c8f589 compute: Use long_rpc_timeout in reserve_block_device_name
Given the instance.uuid lock taken on the remote compute, calls to
reserve_block_device_name can take a large amount of time to complete
when attaching multiple volumes. To help avoid timeouts during such
attempts this change switches to using the long_rpc_timeout for the
overall timeout for each call.

Related-Bug: #1844296
Change-Id: I17e0e45117a3312c11d6c7f2762dd416b6067979
(cherry picked from commit 648c05f7be)
(cherry picked from commit f9a1bc7105)
(cherry picked from commit e858ab3bbe)
2019-12-02 20:15:46 +00:00
..
monitors Allow monitor plugins to set own metric object 2016-06-27 14:38:32 +05:30
__init__.py
eventlet_utils.py
fake_resource_tracker.py rt: explicitly pass compute node to _update() 2017-01-12 11:30:03 -08:00
test_claims.py Use nova.db.api directly 2018-07-10 14:56:27 +00:00
test_compute.py Replace non-nova server fault message 2019-08-06 11:35:58 -04:00
test_compute_api.py Fix non-existent method of Mock 2019-08-16 09:13:37 +09:00
test_compute_cells.py Fix host validity check for live-migration 2018-08-08 15:02:13 +00:00
test_compute_mgr.py Fix false ERROR message at compute restart 2019-11-27 13:52:43 +01:00
test_compute_utils.py Heal RequestSpec.is_bfv for legacy instances during moves 2018-07-23 12:24:10 -04:00
test_compute_xen.py Remove mox in nova/tests/unit/virt/xenapi/stubs.py 2018-06-21 23:59:39 +00:00
test_flavors.py Make compute unit tests inherit from test.NoDBTestCase 2015-02-24 17:54:29 +02:00
test_host_api.py Enforce case-sensitive hostnames in aggregate host add 2018-09-25 19:08:25 -04:00
test_instance_list.py Use nova.db.api directly 2018-07-10 14:56:27 +00:00
test_keypairs.py Use nova.db.api directly 2018-07-10 14:56:27 +00:00
test_multi_cell_list.py Some nit fix in multi_cell_list 2017-12-13 14:27:20 +08:00
test_provider_tree.py Add method to get cpu traits 2018-07-24 12:37:46 +00:00
test_resource_tracker.py rt: only map compute node if we created it 2019-08-13 17:07:53 -04:00
test_rpcapi.py compute: Use long_rpc_timeout in reserve_block_device_name 2019-12-02 20:15:46 +00:00
test_shelve.py Use nova.db.api directly 2018-07-10 14:56:27 +00:00
test_stats.py Change consecutive build failure limit to a weigher 2018-06-06 15:18:50 -07:00
test_virtapi.py Use nova.db.api directly 2018-07-10 14:56:27 +00:00