nova/nova/virt
melanie witt 5b008c6540 Save updated libvirt domain XML after swapping volume
When a user calls the volume-update API, we swap_volume in the libvirt
driver from the old volume attachment to the new volume attachment.
Currently, we're saving the domain XML with the old configuration prior
to updating the volume and upon a soft-reboot request, it results in an
error:

  Instance soft reboot failed: Cannot access storage file <old path>

and falls back to a hard reboot, which is like pulling the power cord,
possibly resulting in file system inconsistencies.

This changes to saving the new, updated domain XML after the volume
swap.

Closes-Bug: #1713857

Change-Id: I166cde5ad8b00699e4ec02609f0d7b69236d855d
2017-11-28 21:29:33 +00:00
..
disk Move blkid calls to privsep. 2017-10-26 07:16:09 +11:00
hyperv Merge "hyperv: report disk_available_least field" 2017-10-24 06:19:45 +00:00
image libvirt: virtuozzo instance resize support 2016-06-28 22:13:49 +03:00
ironic Regenerate and pass configdrive when rebuild Ironic nodes 2017-11-21 17:37:03 -05:00
libvirt Save updated libvirt domain XML after swapping volume 2017-11-28 21:29:33 +00:00
powervm Send Allocations to spawn 2017-10-18 06:43:57 -05:00
vmwareapi Merge "VMware: ensure that provider networks work for type 'portgroup'" 2017-11-23 00:07:24 +00:00
xenapi Get auth from context for glance endpoint 2017-11-21 10:26:42 -06:00
__init__.py Declare nova.virt namespace 2016-04-28 15:01:44 +00:00
block_device.py Add attachment_get to refresh_connection_info 2017-10-18 23:10:38 -04:00
configdrive.py Cleanup mount / umount and associated rmdir calls 2017-10-18 17:52:58 +11:00
driver.py Merge "Keep updating allocations for Ironic" 2017-10-19 04:58:28 +00:00
event.py Add 'suspended' lifecycle event 2015-04-03 03:59:20 +03:00
fake.py Transform instance-live_migration_pre notification 2017-11-22 16:59:13 +01:00
firewall.py Merge "Remove translation of log messages" 2017-06-20 21:16:49 +00:00
hardware.py Merge "Trim the fat from InstanceInfo" 2017-09-06 15:34:04 +00:00
imagecache.py Rename ImageCacheManager._list_base_images to _scan_base_images 2016-05-26 14:45:42 +01:00
images.py Support qemu >= 2.10 2017-09-27 16:45:37 -04:00
interfaces.template Fixes interfaces template identification issue 2014-12-07 17:52:34 +02:00
netutils.py provide interface-scoped nameserver information 2017-07-19 21:08:59 -04:00
osinfo.py Remove translation of log messages 2017-06-13 11:20:28 +07: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