nova/nova/virt
Lee Yarwood ff36b6d97f 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
(cherry picked from commit ac68cffd43)
2019-10-25 11:32:52 +01:00
..
disk [Trivial]Remove unused helper get_allocated_disk_size 2019-08-28 13:36:52 +08:00
hyperv Validate CPU config options against running instances 2019-09-18 00:19:33 +01: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-25 11:32:52 +01:00
powervm Validate CPU config options against running instances 2019-09-18 00:19:33 +01:00
vmwareapi Validate CPU config options against running instances 2019-09-18 00:19:33 +01: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 Centralize volume create code during boot from volume 2019-09-16 11:04:47 -04:00
configdrive.py Skip existing VMs when hosts apply force_config_drive 2019-05-22 21:02:16 +00:00
driver.py Validate CPU config options against running instances 2019-09-18 00:19:33 +01:00
event.py Port binding based on events during live migration 2018-07-19 09:09:55 -04:00
fake.py Validate CPU config options against running instances 2019-09-18 00:19:33 +01: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 libvirt: add vf_trusted field for network metadata 2018-05-30 15:11:59 -04: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