nova/nova/tests/unit/compute
Rodrigo Barbieri 33c8af1f8c Error anti-affinity violation on migrations
Error-out the migrations (cold and live) whenever the
anti-affinity policy is violated. This addresses
violations when multiple concurrent migrations are
requested.

Added detection on:
- prep_resize
- check_can_live_migration_destination
- pre_live_migration

The improved method of detection now locks based on group_id
and considers other migrations in-progress as well.

Closes-bug: #1821755
Change-Id: I32e6214568bb57f7613ddeba2c2c46da0320fabc
2021-06-01 11:29:38 -03:00
..
monitors Do not log a warning about not using compute monitors 2019-04-04 14:32:53 -04:00
provider_config_data Provider Config File: Coding style and test cases improvement 2020-09-01 01:05:34 +00:00
__init__.py
eventlet_utils.py
fake_resource_tracker.py Tests: autospecs all the mock.patch usages 2019-08-19 09:43:10 -05:00
test_api.py image_meta: Provide image_ref as the id when fetching from instance 2021-05-20 16:57:24 +01:00
test_claims.py pci: track host NUMA topology in stats 2021-03-08 15:19:13 -05:00
test_compute.py image_meta: Provide image_ref as the id when fetching from instance 2021-05-20 16:57:24 +01:00
test_compute_mgr.py Error anti-affinity violation on migrations 2021-06-01 11:29:38 -03:00
test_compute_utils.py Merge "Refactor update_pci_request_spec_with_allocated_interface_name" 2021-01-28 22:20:03 +00:00
test_flavors.py
test_host_api.py Fix aggregate placement sync issue 2020-05-08 02:40:47 +10:00
test_instance_list.py Remove six.text_type (2/2) 2020-12-13 11:26:35 +00:00
test_keypairs.py Add unit test for importing ed25519 ssh key 2021-05-04 22:30:23 +00:00
test_multi_cell_list.py Refactor scatter-gather utility to return exception objects 2018-10-31 15:18:07 -04:00
test_provider_config.py Provider Config File: Coding style and test cases improvement 2020-09-01 01:05:34 +00:00
test_provider_tree.py Add resources dict into _Provider 2019-09-13 08:50:35 +00:00
test_resource_tracker.py pci manager: replace node_id parameter with compute_node 2021-03-08 15:18:46 -05:00
test_rpcapi.py Bump the Compute RPC API to version 6.0 2021-03-25 11:23:07 +01:00
test_shelve.py Bump the Compute RPC API to version 6.0 2021-03-25 11:23:07 +01:00
test_stats.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
test_virtapi.py Reduce gen conflict in COMPUTE_STATUS_DISABLED handling 2020-07-10 17:38:13 +02:00