nova/nova/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 [Trivial]Remove unused helper get_allocated_disk_size 2019-08-28 13:36:52 +08:00
hyperv Merge "Avoid error state for recovered instances after failed migrations" 2019-10-09 22:49:21 +00:00
image libvirt: virtuozzo instance resize support 2016-06-28 22:13:49 +03:00
ironic trivial: Use sane indent 2019-09-18 00:21:10 +01:00
libvirt libvirt: Ignore volume exceptions during post_live_migration 2019-10-24 09:30:12 +01:00
powervm Validate CPU config options against running instances 2019-09-18 00:19:33 +01:00
vmwareapi Merge "VMware: Update flavor-related metadata on resize" 2019-10-15 14:53:59 +00:00
xenapi Validate CPU config options against running instances 2019-09-18 00:19:33 +01:00
zvm Validate CPU config options against running instances 2019-09-18 00:19:33 +01:00
__init__.py Declare nova.virt namespace 2016-04-28 15:01:44 +00:00
arch.py Added ability to configure default architecture for ImagePropertiesFilter 2018-05-14 16:55:13 -04:00
block_device.py Merge "Create volume attachment during boot from volume in compute" 2019-10-04 23:39:03 +00:00
configdrive.py Skip existing VMs when hosts apply force_config_drive 2019-05-22 21:02:16 +00:00
driver.py Add cache_image() driver method and libvirt implementation 2019-10-10 08:58:57 -07:00
event.py Port binding based on events during live migration 2018-07-19 09:09:55 -04:00
fake.py Add cache_images() to conductor 2019-10-14 11:35:11 -07:00
firewall.py Merge "Remove translation of log messages" 2017-06-20 21:16:49 +00:00
hardware.py hardware: Differentiate between shared and dedicated CPUs 2019-09-18 00:21:10 +01:00
imagecache.py Rename ImageCacheManager._list_base_images to _scan_base_images 2016-05-26 14:45:42 +01:00
images.py Improve libvirt image and snapshot handling 2019-03-05 12:18:34 -06:00
interfaces.template
netutils.py ec2: Move ec2utils functions to their callers 2019-09-27 15:27:08 +01:00
osinfo.py Stop sending bad values from libosinfo to libvirt 2019-07-04 15:30:51 +01:00
storage_users.py Remove translation of log messages 2017-06-13 11:20:28 +07:00
virtapi.py Add VirtAPI.update_compute_provider_status 2019-07-02 11:45:40 -04:00