nova/nova
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
..
CA
api Merge "[placement] Fix GET PUT /allocations nits" 2017-11-28 19:01:43 +00:00
cells Cleanup build_request_spec 2017-11-10 12:03:39 +11:00
cmd Remove 'nova-manage quota refresh' command 2017-11-24 02:34:47 +08:00
common
compute Merge "Enable cold migration with target host(1/2)" 2017-11-28 21:00:28 +00:00
conductor Enable cold migration with target host(1/2) 2017-11-24 14:50:39 +09:00
conf Merge "Allow shuffling hosts with the same best weight" 2017-11-22 14:14:13 +00:00
console console: introduce basic framework for security proxying 2017-09-28 16:39:22 +01:00
consoleauth Merge "Remove translation of log messages" 2017-08-10 11:39:03 +00:00
db Merge "Add migration_get_by_uuid in db api." 2017-11-24 18:25:11 +00:00
hacking Amend uuid4 hacking rule 2017-09-04 17:34:46 +00:00
image Get auth from context for glance endpoint 2017-11-21 10:26:42 -06:00
ipv6
keymgr Remove deprecated keymgr code 2017-09-11 15:48:30 -04:00
locale Imported Translations from Zanata 2017-08-10 11:34:33 +00:00
network Don't overwrite binding-profile 2017-11-22 04:30:51 +00:00
notifications Merge "Versioned notifications for service create and delete" 2017-11-27 19:41:04 +00:00
objects Merge "Versioned notifications for service create and delete" 2017-11-27 19:41:04 +00:00
pci [Trivial] docstrings, typos, minor refactoring 2017-08-28 08:33:58 -05:00
policies Add microversion to allow setting flavor description 2017-11-15 22:10:39 +00:00
privsep Move last_bytes into the path module 2017-11-06 10:30:21 +02:00
scheduler Refined fix for validating image on rebuild 2017-11-27 15:52:45 -05:00
servicegroup iso8601.is8601.Utc No Longer Exists 2017-08-29 19:26:55 -04:00
tests Save updated libvirt domain XML after swapping volume 2017-11-28 21:29:33 +00:00
virt Save updated libvirt domain XML after swapping volume 2017-11-28 21:29:33 +00:00
vnc
volume Add attachment_get call to volume/cinder_api 2017-09-22 19:41:27 -04:00
__init__.py
availability_zones.py Avoid lazy-load error when getting instance AZ 2017-05-25 15:46:22 -04:00
baserpc.py
block_device.py
cache_utils.py remove log translation tags from nova.cells 2017-04-10 14:48:07 +00:00
config.py
context.py Get auth from context for glance endpoint 2017-11-21 10:26:42 -06:00
crypto.py
debugger.py
exception.py Enable cold migration with target host(1/2) 2017-11-24 14:50:39 +09:00
exception_wrapper.py rename binary to source in versioned notifications 2017-07-25 17:36:04 +02:00
filters.py
hooks.py
i18n.py
loadables.py
manager.py
policy.py Add policy granularity to the Flavors API 2017-07-19 15:56:47 -04:00
profiler.py
quota.py Remove useless periodic task that expires quota reservations 2017-09-23 14:39:43 +08:00
rpc.py Remove dead code of api.fault notification sending 2017-10-09 17:29:40 +02:00
safe_utils.py Allow wrapping of closures 2017-07-20 10:07:52 +01:00
service.py Enhance doc for nova services 2017-08-31 08:30:48 +08:00
service_auth.py
test.py Move restart_compute_service to a common place 2017-10-16 19:13:50 +02:00
utils.py Get auth from context for glance endpoint 2017-11-21 10:26:42 -06:00
version.py
weights.py
wsgi.py