nova/nova
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
..
accelerator Delete ARQs for an instance when the instance is deleted. 2020-03-24 22:44:18 -07:00
api Merge "replace the "hide_hypervisor_id" to "hw:hide_hypervisor_id"" 2020-05-26 04:08:54 +00:00
cmd [Trivial]Add missing white spaces between words in log messages 2020-05-21 15:18:06 +08:00
compute Merge "compute: Allow snapshots to be created from PAUSED volume backed instances" 2020-05-18 19:03:54 +00:00
conductor Support live migration with vpmem 2020-04-07 13:13:13 +00:00
conf Merge "rbd_utils: increase _destroy_volume timeout" 2020-05-22 23:16:21 +00:00
console Merge "Allow TLS ciphers/protocols to be configurable for console proxies" 2020-02-24 17:27:02 +00:00
db Bump hacking min version to 3.1.0 2020-05-19 08:09:43 +08:00
hacking trivial: Remove remaining '_LI' instances 2020-05-18 17:00:57 +01:00
image Remove future imports 2020-03-24 15:05:36 +00:00
keymgr
locale Imported Translations from Zanata 2020-04-26 07:51:21 +00:00
network Merge "nova-net: Remove unused parameters" 2020-03-26 21:46:16 +00:00
notifications Remove 'nova.image.api' module 2020-02-18 11:45:39 +00:00
objects Merge "objects: Add migrate-on-load behavior for legacy NUMA objects" 2020-05-08 15:59:49 +00:00
pci support pci numa affinity policies in flavor and image 2019-12-11 14:39:12 +00:00
policies [Trivial]Add missing white spaces between words in log messages 2020-05-21 15:18:06 +08:00
privsep images: Make JSON the default output format of calls to qemu-img info 2020-04-16 16:38:24 +01:00
scheduler Enable and use COMPUTE_ACCELERATORS trait. 2020-03-27 22:42:37 -07:00
servicegroup trivial: Remove remaining '_LI' instances 2020-05-18 17:00:57 +01:00
tests libvirt: Don't delete disks on shared storage during evacuate 2020-05-26 10:43:16 +01:00
virt libvirt: Don't delete disks on shared storage during evacuate 2020-05-26 10:43:16 +01:00
volume trivial: Remove remaining '_LW' instances 2020-05-18 17:00:41 +01:00
__init__.py
availability_zones.py trivial: Fetch 'Service' objects once when building AZs 2020-02-05 21:26:23 +00:00
baserpc.py
block_device.py
cache_utils.py trivial: Remove unused 'cache_utils' APIs 2020-02-05 17:20:28 +00:00
config.py remove support of oslo.messaging 9.8.0 warning message 2020-05-07 19:54:23 +01:00
context.py Reset the cell cache for database access in Service 2020-04-08 17:48:18 +00:00
crypto.py Remove future imports 2020-03-24 15:05:36 +00:00
debugger.py trivial: Remove remaining '_LW' instances 2020-05-18 17:00:41 +01:00
exception.py trivial: Remove remaining '_LE' instances 2020-05-18 16:52:20 +01:00
exception_wrapper.py
filters.py trivial: Remove remaining '_LI' instances 2020-05-18 17:00:57 +01:00
hooks.py trivial: Remove remaining '_LW' instances 2020-05-18 17:00:41 +01:00
i18n.py trivial: Remove remaining '_LI' instances 2020-05-18 17:00:57 +01:00
loadables.py trivial: Remove dead code 2019-12-12 10:55:02 +00:00
manager.py
middleware.py Rename 'nova.common.config' module to 'nova.middleware' 2019-08-16 00:53:03 +01:00
monkey_patch.py Monkey patch original current_thread _active 2020-02-12 16:34:56 -05:00
policy.py trivial: Remove remaining '_LW' instances 2020-05-18 17:00:41 +01:00
profiler.py
quota.py Make quotas respect instance_list_per_project_cells 2020-05-15 17:21:29 -04:00
rpc.py
safe_utils.py
service.py trivial: Remove remaining '_LI' instances 2020-05-18 17:00:57 +01:00
service_auth.py
test.py func tests: move _run_periodics() into base class 2020-03-24 10:10:53 -04:00
utils.py trivial: Remove remaining '_LW' instances 2020-05-18 17:00:41 +01:00
version.py trivial: Remove remaining '_LE' instances 2020-05-18 16:52:20 +01:00
weights.py
wsgi.py trivial: Remove remaining '_LI' instances 2020-05-18 17:00:57 +01:00