nova/nova/tests/unit/scheduler
Jay Pipes 5390210a4f Remove provider allocs in confirm/revert resize
Now that the scheduler creates a doubled-up allocation for the duration
of a move operation (with part of the allocation referring to the
source and part referring to the destination host), we need to remove
the source provider when confirming the resize and remove the
destination provider from the allocation when reverting a resize. This
patch adds this logic in the RT's drop_move_claim() method.

Change-Id: I6f8afe6680f83125da9381c812016b3623503825
Co-Authored-By: Dan Smith <dms@danplanet.com>
Fixes-bug: #1707071
2017-08-09 16:48:33 -04:00
..
client Remove provider allocs in confirm/revert resize 2017-08-09 16:48:33 -04:00
filters Deprecate TypeAffinityFilter 2017-05-27 10:15:25 +00:00
weights Add PCIWeigher 2017-06-08 09:44:46 +01:00
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
fakes.py add dict of allocation requests to select_dests() 2017-07-19 15:27:27 -04:00
ironic_fakes.py Set IronicNodeState.uuid in _update_from_compute_node 2017-07-25 17:52:47 -04:00
test_caching_scheduler.py add dict of allocation requests to select_dests() 2017-07-19 15:27:27 -04:00
test_chance_scheduler.py add dict of allocation requests to select_dests() 2017-07-19 15:27:27 -04:00
test_client.py Pass a list of instance UUIDs to scheduler 2017-06-01 14:54:16 +00:00
test_filter_scheduler.py Fix migrate single instance when it was created concurrently 2017-08-07 16:48:59 +00:00
test_filters.py Fix invalid uuid warnings 2016-05-10 09:04:37 +00:00
test_host_filters.py Modify left filters for RequestSpec 2015-12-11 12:27:20 +01:00
test_host_manager.py placement: scheduler uses allocation candidates 2017-07-07 11:35:54 -04:00
test_ironic_host_manager.py Set IronicNodeState.uuid in _update_from_compute_node 2017-07-25 17:52:47 -04:00
test_rpcapi.py conf: remove *_topic config opts 2017-07-17 21:27:02 -07:00
test_scheduler.py Accept any scheduler driver entrypoint 2017-08-01 16:50:10 +00:00
test_scheduler_utils.py _schedule_instances() supporting a RequestSpec object 2017-06-22 14:29:31 +02:00
test_utils.py Add resource utilities to scheduler utils 2017-08-04 11:15:04 -07:00