nova/nova/tests/unit/virt
Lee Yarwood ac68cffd43 libvirt: Ignore volume exceptions during post_live_migration
Previously errors while disconnecting volumes from the source host
during post_live_migration within LibvirtDriver would result in the
overall failure of the migration. This would also mean that while the
instance would be running on the destination it would still be listed as
running on the source within the db.

This change simply ignores any exceptions raised while attempting to
disconnect volumes on the source. These errors can be safely ignored as
they will have no impact on the running instance on the destination.

In the future Nova could wire up the force and ignore_errors kwargs when
calling down into the associated os-brick connectors to help avoid this.

Closes-Bug: #1843639
Change-Id: Ieff5243854321ec40f642845e87a0faecaca8721
2019-10-24 09:30:12 +01:00
..
disk lxc: make use of filter python3 compatible 2019-08-13 22:29:57 +00:00
hyperv Avoid error state for recovered instances after failed migrations 2019-08-26 11:36:56 +03:00
image
ironic Merge "Fix rebuild of baremetal instance when vm_state is ERROR" 2019-09-07 23:08:19 +00:00
libvirt libvirt: Ignore volume exceptions during post_live_migration 2019-10-24 09:30:12 +01:00
powervm Tests: autospecs all the mock.patch usages 2019-08-19 09:43:10 -05:00
vmwareapi Merge "VMware: Update flavor-related metadata on resize" 2019-10-15 14:53:59 +00:00
xenapi Merge "Move iptables rule fetching and setting to privsep." 2019-08-20 00:46:06 +00:00
zvm Share snapshot image membership with instance owner 2019-02-08 18:06:27 -05:00
__init__.py
fakelibosinfo.py Stop sending bad values from libosinfo to libvirt 2019-07-04 15:30:51 +01:00
test_block_device.py Merge "Create volume attachment during boot from volume in compute" 2019-10-04 23:39:03 +00:00
test_configdrive.py Skip existing VMs when hosts apply force_config_drive 2019-05-22 21:02:16 +00:00
test_driver.py Remove usage of parameter enforce_type 2017-04-17 20:23:19 +08:00
test_events.py
test_fake.py
test_firewall.py remove get_nw_info_for_instance from compute.utils 2017-06-13 13:30:06 +02:00
test_hardware.py Add support for translating CPU policy extra specs, image meta 2019-09-18 00:21:10 +01:00
test_imagecache.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
test_images.py qemu: Make disk image conversion dramatically faster 2019-03-18 14:53:39 -05:00
test_netutils.py Remove unnecessary code 2017-07-28 06:01:21 +00:00
test_osinfo.py Stop sending bad values from libosinfo to libvirt 2019-07-04 15:30:51 +01:00
test_virt.py We no longer need rootwrap. 2019-02-27 05:06:31 +00:00
test_virt_drivers.py LM: Use Claims to update numa-related XML on the source 2019-09-12 17:34:34 -04:00