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

NOTE(stephenfin): Conflicts due to
Id4d8ecb8fee46b21590ebcc62a2850030cef6508 ("objects: Store
InstancePCIRequest.numa_policy in DB") not being present on
stable/rocky.

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)
2020-07-09 13:05:51 +00:00
..
functional libvirt: Don't delete disks on shared storage during evacuate 2020-07-09 13:05:51 +00:00
live_migration/hooks Fix os_CODENAME detection and repo refresh during ceph tests 2020-07-09 09:31:20 +01:00
unit libvirt: Don't delete disks on shared storage during evacuate 2020-07-09 13:05:51 +00:00
__init__.py
fixtures.py Fix race in test_volume_swap_server_with_error 2019-03-02 14:38:25 +00:00
json_ref.py Transform instance.exists notification 2018-06-05 12:51:30 +00:00
uuidsentinel.py