nova/nova/virt/libvirt
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
..
storage Merge "rbd: use MAX_AVAIL stat for reporting bytes available" 2019-08-29 13:49:46 +00:00
volume libvirt: use native AIO mode for StorPool Cinder volumes. 2019-08-27 15:21:51 +03:00
__init__.py Remove vi modelines 2014-02-03 14:19:44 +00:00
blockinfo.py Add reminder to update corresponding glance docs 2019-09-13 10:59:42 +01:00
config.py libvirt: Support VM creation with vpmems and vpmems cleanup 2019-09-13 08:50:35 +00:00
designer.py Apply SEV-specific guest config when SEV is required 2019-09-10 13:59:02 +01:00
driver.py libvirt: Ignore volume exceptions during post_live_migration 2019-10-25 11:32:52 +01:00
firewall.py Add missing ws seperator between words 2018-11-26 23:42:18 +00:00
guest.py Avoid logging traceback when detach device not found 2019-07-19 00:04:37 +00:00
host.py Merge "Get pci_devices from _list_devices" 2019-09-23 19:24:41 +00:00
imagebackend.py Get rid of args to RBDDriver.__init__() 2019-07-29 08:02:19 +00:00
imagecache.py config: remove deprecated checksum options 2019-08-15 11:47:51 -04:00
instancejobtracker.py Remove translation of log messages 2017-06-13 11:20:28 +07:00
migration.py Merge "[Trivial]Remove unused helper should_switch_to_postcopy" 2019-09-23 19:31:43 +00:00
utils.py Merge "Add reminder to update corresponding glance docs" 2019-09-23 19:58:54 +00:00
vif.py Revert "vif: Resolve a TODO and update another" 2019-10-23 15:28:14 +00:00