nova/nova/tests/unit/compute
Matt Riedemann a2fba47bcf Add finish_snapshot_based_resize_at_dest compute method
This adds a new method to the nova-compute service which will
be synchronously RPC called from (super)conductor on the
destination host in the target cell during a cross-cell resize.

The method is similar to how the existing finish_resize method
works but parts are more like unshelve_instance, i.e. the use
of _prep_block_device, driver.spawn and deleting the snapshot
image (if there is one) after the guest is spawned.

Part of blueprint cross-cell-resize

Change-Id: I46728c191997da3c7b4c6ed9d6d3f9e6fb73ca3f
2019-11-02 17:04:08 -04:00
..
monitors Do not log a warning about not using compute monitors 2019-04-04 14:32:53 -04: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_claims.py objects: Add 'NUMACell.pcpuset' field 2019-09-18 00:21:10 +01:00
test_compute.py Merge "Default AZ for instance if cross_az_attach=False and checking from API" 2019-11-01 13:04:58 +00:00
test_compute_api.py Merge "Default AZ for instance if cross_az_attach=False and checking from API" 2019-11-01 13:04:58 +00:00
test_compute_mgr.py Add finish_snapshot_based_resize_at_dest compute method 2019-11-02 17:04:08 -04:00
test_compute_utils.py Add nova.compute.utils.delete_image 2019-08-27 14:26:33 -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 Follow up for pre-filter-disabled-computes series 2019-07-03 15:53:06 -04:00
test_instance_list.py Plumbing for ignoring list_records_by_skipping_down_cells 2019-02-08 16:28:28 -05:00
test_keypairs.py Use nova.db.api directly 2018-07-10 14:56:27 +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_tree.py Add resources dict into _Provider 2019-09-13 08:50:35 +00:00
test_resource_tracker.py objects: Add 'NUMACell.pcpuset' field 2019-09-18 00:21:10 +01:00
test_rpcapi.py Add finish_snapshot_based_resize_at_dest compute method 2019-11-02 17:04:08 -04:00
test_shelve.py Retrieve the allocations early 2019-09-13 08:50:35 +00:00
test_stats.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
test_virtapi.py Add VirtAPI.update_compute_provider_status 2019-07-02 11:45:40 -04:00