nova/nova/tests
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
..
functional libvirt: Don't delete disks on shared storage during evacuate 2020-07-16 21:13:42 +00:00
live_migration/hooks Fix os_CODENAME detection and repo refresh during ceph tests 2020-07-09 09:51:28 +01:00
unit libvirt: Don't delete disks on shared storage during evacuate 2020-07-16 21:13:42 +00:00
__init__.py
fixtures.py Make service all-cells min version helper use scatter-gather 2019-02-18 18:05:08 +01:00
json_ref.py Nits from Ic3ab7d60e4ac12b767fe70bef97b327545a86e74 2017-11-28 15:55:45 +01:00
uuidsentinel.py