nova/nova/tests
Matthew Booth 1a320f2a0e 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/unit/virt/libvirt/test_driver.py

NOTE(lyarwood): Conflicts due to I08cd4787ab4c9539574237e26ba5bf6d4246b32e
and I5a9e5532c46a5f7064441ae644125d21efe5fda1 not being present in
stable/train.

Co-Authored-By: Lee Yarwood <lyarwood@redhat.com>
Closes-Bug: #1550919
Change-Id: I764481966c96a67d993da6e902dc9fc3ad29ee36
(cherry picked from commit 497360b0ea)
(cherry picked from commit 8b48ca672d)
2020-06-10 00:43:31 +00:00
..
functional libvirt: Don't delete disks on shared storage during evacuate 2020-06-10 00:43:31 +00:00
unit libvirt: Don't delete disks on shared storage during evacuate 2020-06-10 00:43:31 +00:00
__init__.py
fixtures.py Use admin neutron client to see if instance has qos ports 2019-11-13 13:40:59 +01:00
json_ref.py Transform instance.exists notification 2018-06-05 12:51:30 +00:00