nova/nova/tests/functional/libvirt
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
..
__init__.py tests: introduce a NUMAServersTest class 2015-04-16 11:43:53 -04:00
base.py libvirt: Don't delete disks on shared storage during evacuate 2020-05-26 10:43:16 +01:00
integrated_helpers.py Extract new base class for provider usage functional tests 2019-08-21 15:06:20 +01:00
test_evacuate.py libvirt: Don't delete disks on shared storage during evacuate 2020-05-26 10:43:16 +01:00
test_numa_live_migration.py Follow-up for NUMA live migration functional tests 2020-05-05 15:09:45 -04:00
test_numa_servers.py Increase code reuse in test_numa_servers 2020-03-20 10:33:35 -04:00
test_pci_sriov_servers.py functional: Add unified '_build_server' helper function 2020-01-15 10:31:24 +00:00
test_report_cpu_traits.py libvirt: Use domain capabilities to get supported device models 2020-03-24 17:28:09 +00:00
test_reshape.py Functional test with pGPUs 2020-04-09 17:54:31 +02:00
test_rt_servers.py functional: Add '_create_server' helper 2020-01-20 14:32:43 +00:00
test_shared_resource_provider.py functional: Add '_create_server' helper 2020-01-20 14:32:43 +00:00
test_vgpu.py Wait for all servers to be active when testing vGPUs 2020-05-07 14:45:27 +02:00
test_vpmem.py functional: Add '_create_server' helper 2020-01-20 14:32:43 +00:00