nova/nova/virt
Lee Yarwood a07c612ea6 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)
(cherry picked from commit ff36b6d97f)
(cherry picked from commit 022ea28194)
2019-11-01 13:09:48 +00:00
..
disk lxc: make use of filter python3 compatible 2019-09-17 18:48:21 +00:00
hyperv Share snapshot image membership with instance owner 2019-04-30 21:13:46 +09:00
image libvirt: virtuozzo instance resize support 2016-06-28 22:13:49 +03:00
ironic Fix rebuild of baremetal instance when vm_state is ERROR 2019-09-08 11:01:03 -04:00
libvirt libvirt: Ignore volume exceptions during post_live_migration 2019-11-01 13:09:48 +00:00
powervm Share snapshot image membership with instance owner 2019-04-30 21:13:46 +09:00
vmwareapi Share snapshot image membership with instance owner 2019-04-30 21:13:46 +09:00
xenapi xenapi/agent: Change openssl error handling 2019-04-30 08:40:53 -04:00
zvm Share snapshot image membership with instance owner 2019-04-30 21:13:46 +09: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 Override the 'get' method in DriverBlockDevice class 2019-03-26 12:13:56 +09:00
configdrive.py Convert configdrive to use processutils. 2018-05-02 21:42:05 +10:00
driver.py ironic: check fresh data when sync_power_state doesn't line up 2019-03-04 14:24:30 +00:00
event.py Port binding based on events during live migration 2018-07-19 09:09:55 -04:00
fake.py Add functional regression recreate test for bug 1839560 2019-08-15 12:09:04 -04:00
firewall.py Merge "Remove translation of log messages" 2017-06-20 21:16:49 +00:00
hardware.py Fix overcommit for NUMA-based instances 2019-01-25 12:57:49 +00:00
imagecache.py Rename ImageCacheManager._list_base_images to _scan_base_images 2016-05-26 14:45:42 +01:00
images.py Implement certificate_utils 2018-06-12 14:44:32 -04: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-10-11 09:32:54 +01:00
storage_users.py Remove translation of log messages 2017-06-13 11:20:28 +07:00
virtapi.py Remove unused provider firewall rules functionality in nova 2016-02-01 15:50:04 +01:00