nova/nova/tests/functional
Matthew Booth 497360b0ea libvirt: Don't delete disks on shared storage during evacuate
When evacuating an instance between compute hosts on shared storage,
during the rebuild operation we call spawn() on the destination
compute. spawn() currently assumes that it should cleanup all
resources on failure, which results in user data being deleted in the
evacuate case.

This change modifies spawn in the libvirt driver such that it only
cleans up resources it created.

Co-Authored-By: Lee Yarwood <lyarwood@redhat.com>
Closes-Bug: #1550919
Change-Id: I764481966c96a67d993da6e902dc9fc3ad29ee36
(cherry picked from commit 083df01a4d)
2020-05-26 10:43:16 +01:00
..
api api: Add microversion for extra spec validation 2020-04-08 13:20:02 +00:00
api_sample_tests Merge "Add test coverage of existing keypairs policies" 2020-04-14 13:06:19 +00:00
compute func tests: move _run_periodics() into base class 2020-03-24 10:10:53 -04:00
db Make quotas respect instance_list_per_project_cells 2020-05-15 17:21:29 -04:00
libvirt libvirt: Don't delete disks on shared storage during evacuate 2020-05-26 10:43:16 +01:00
notification_sample_tests trivial: Use recognized extra specs in tests 2020-02-19 08:24:31 +00:00
regressions libvirt: Don't delete disks on shared storage during evacuate 2020-05-26 10:43:16 +01:00
wsgi functional: Add unified '_build_server' helper function 2020-01-15 10:31:24 +00:00
__init__.py Eventlet monkey patching should be as early as possible 2019-03-22 09:27:16 +00:00
api_paste_fixture.py Remove future imports 2020-03-24 15:05:36 +00:00
api_samples_test_base.py Provide a better error when _verify_response hits a TypeError 2019-11-05 11:31:06 -05:00
fixtures.py Remove future imports 2020-03-24 15:05:36 +00:00
integrated_helpers.py Merge "libvirt: Remove MIN_LIBVIRT_MULTIATTACH" 2020-05-20 04:58:36 +00:00
test_aggregates.py func tests: move _run_periodics() into base class 2020-03-24 10:10:53 -04:00
test_availability_zones.py functional: Add unified '_build_server' helper function 2020-01-15 10:31:24 +00:00
test_boot_from_volume.py Remove 'nova.image.api' module 2020-02-18 11:45:39 +00:00
test_cold_migrate.py Use COMPUTE_SAME_HOST_COLD_MIGRATE trait during migrate 2020-01-29 09:44:47 +00:00
test_compute_mgr.py Remove future imports 2020-03-24 15:05:36 +00:00
test_conf_max_attach_disk_devices.py functional: Make '_IntegratedTestBase' subclass 'InstanceHelperMixin' 2019-12-06 15:36:23 +00:00
test_cross_az_attach.py functional: Add unified '_build_server' helper function 2020-01-15 10:31:24 +00:00
test_cross_cell_migrate.py trivial: Use recognized extra specs in tests 2020-02-19 08:24:31 +00:00
test_external_networks.py functional: Add unified '_build_server' helper function 2020-01-15 10:31:24 +00:00
test_flavor_extraspecs.py Follow-up for flavor-extra-spec-validators series 2020-04-08 14:21:13 +01:00
test_images.py functional: Add unified '_build_server' helper function 2020-01-15 10:31:24 +00:00
test_instance_actions.py Expose instance action event details out of the API 2020-03-27 08:20:12 +00:00
test_json_filter.py functional: Add unified '_build_server' helper function 2020-01-15 10:31:24 +00:00
test_legacy_v2_compatible_wrapper.py Allow versioned discovery unauthenticated 2020-04-03 21:24:28 +00:00
test_list_servers_ip_filter.py trivial: Change name of network provided by NeutronFixture 2019-10-05 15:40:28 +01:00
test_login.py update api_samples code to use better variables 2015-12-14 11:23:26 +08:00
test_metadata.py Remove future imports 2020-03-24 15:05:36 +00:00
test_middleware.py Stop using NoAuthMiddleware in tests 2019-10-14 11:43:52 -05:00
test_multiattach.py functional: Add unified '_build_server' helper function 2020-01-15 10:31:24 +00:00
test_nova_manage.py Merge "Support for --force flag for nova-manage placement heal_allocations command" 2020-05-11 18:15:34 +00:00
test_policy.py Follow-ups for host_status:unknown-only policy rule 2020-03-16 17:18:28 +00:00
test_report_client.py Stop using PlacementDirect 2020-03-05 07:36:37 -06:00
test_scheduler.py func tests: move _run_periodics() into base class 2020-03-24 10:10:53 -04:00
test_server_external_events.py functional: Add unified '_build_server' helper function 2020-01-15 10:31:24 +00:00
test_server_faults.py functional: Add unified '_build_server' helper function 2020-01-15 10:31:24 +00:00
test_server_group.py Merge "Update scheduler instance info at confirm resize" 2020-05-16 00:19:46 +00:00
test_server_rescue.py api: Introduce microverion 2.87 allowing boot from volume rescue 2020-04-09 08:39:36 +01:00
test_servers.py Merge "Stabilize functional tests" 2020-04-06 11:57:07 +00:00
test_servers_provider_tree.py functional: Add unified '_build_server' helper function 2020-01-15 10:31:24 +00:00
test_service.py Reset the cell cache for database access in Service 2020-04-08 17:48:18 +00:00