diff options
author | Rafi Khardalian <rafi@metacloud.com> | 2012-09-16 16:28:58 +0000 |
---|---|---|
committer | Rafi Khardalian <rafi@metacloud.com> | 2012-09-04 12:13:45 +0000 |
commit | b01ec8012a2a2568feb5fa05a56909a6bdf14ef8 (patch) | |
tree | 643d053b51b5cfae51c8293fdd50c1401a0c5a22 /nova/notifications.py | |
parent | 0ffff7c490d54f9b932df4b2dcd62158242dae2a (diff) | |
download | nova-b01ec8012a2a2568feb5fa05a56909a6bdf14ef8.tar.gz nova-b01ec8012a2a2568feb5fa05a56909a6bdf14ef8.tar.xz nova-b01ec8012a2a2568feb5fa05a56909a6bdf14ef8.zip |
Re-attach volumes after instance resize
Fixes bug 1051600.
Update the compute manager to pass block_device_info to three
additional driver entry points and update all virtualization drivers
to accept it as an optional argument.
Within libvirt, migrate_disk_and_power_off() will now iterate and disconnect
any existing connections. finish_migration() simply updates its use
of to_xml(), passing block_device_info, which returns a libvirt XML
fully populated with volumes. Finally, finish_revert_migration() no
longer uses the on-disk XML file, instead generating it via to_xml; as
the former lacks volume configuration.
Change-Id: I7dccd03ef9cc7d2848f07764d4def3787e41e202
Diffstat (limited to 'nova/notifications.py')
0 files changed, 0 insertions, 0 deletions