commit 2dc976321104b8eb52eea76a5e2c621d15b06c86
Author: Christopher Lefelhocz <email address hidden>
Date: Wed Oct 23 22:47:42 2013 +0000
xenapi: kernel and ramdisk missing after live-migrate
After a live migration is performed with xenserver, the kernel
and ramdisk images are not moved to destination. This means:
* need to manually add them to the destination host
* need to manually clean them on source host
Adding the images is fairly straightforward by calling
create_kernel_and_ramdisk at post_live_migration_at_destination.
Removing images requires us to cache image ids as they are
taken from VM record which is deleted by the time the post
operation comes along. We use the migrate_data to cache the
image data for removal.
The unit tests are adjusted to handle new calls for existing
tests.
Reviewed: https:/ /review. openstack. org/53473 github. com/openstack/ nova/commit/ 2dc976321104b8e b52eea76a5e2c62 1d15b06c86
Committed: http://
Submitter: Jenkins
Branch: master
commit 2dc976321104b8e b52eea76a5e2c62 1d15b06c86
Author: Christopher Lefelhocz <email address hidden>
Date: Wed Oct 23 22:47:42 2013 +0000
xenapi: kernel and ramdisk missing after live-migrate
After a live migration is performed with xenserver, the kernel
and ramdisk images are not moved to destination. This means:
* need to manually add them to the destination host
* need to manually clean them on source host
Adding the images is fairly straightforward by calling kernel_ and_ramdisk at post_live_ migration_ at_destination.
create_
Removing images requires us to cache image ids as they are
taken from VM record which is deleted by the time the post
operation comes along. We use the migrate_data to cache the
image data for removal.
The unit tests are adjusted to handle new calls for existing
tests.
Fixes bug 1224561
Change-Id: I741398db9ddb67 64408878a11cf4c 80544bbc901