nova/nova/tests/functional/libvirt
Matthew Booth a54f51b0d2 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.

Conflicts:
	nova/virt/libvirt/driver.py

NOTE(lyarwood): Conflicts due to
I51673e58fc8d5f051df911630f6d7a928d123a5b ("Revert resize: wait for
events according to hybrid plug") not being present in stable/queens.

Co-Authored-By: Lee Yarwood <lyarwood@redhat.com>
Closes-Bug: #1550919
Change-Id: I764481966c96a67d993da6e902dc9fc3ad29ee36
(cherry picked from commit 497360b0ea)
(cherry picked from commit 8b48ca672d)
(cherry picked from commit 1a320f2a0e)
(cherry picked from commit a7d8aa6997)
(cherry picked from commit ae7602c120)
2020-07-16 21:13:42 +00:00
..
__init__.py tests: introduce a NUMAServersTest class 2015-04-16 11:43:53 -04:00
test_evacuate.py libvirt: Don't delete disks on shared storage during evacuate 2020-07-16 21:13:42 +00:00
test_numa_servers.py Merge "Bump minimum required libvirt/qemu versions for Pike" 2017-02-24 02:50:33 +00:00
test_pci_sriov_servers.py libvirt: Don't delete disks on shared storage during evacuate 2020-07-16 21:13:42 +00:00
test_rt_servers.py Bump minimum required libvirt/qemu versions for Pike 2017-02-11 20:30:25 -05:00