commit 6833176b56ecbef9565bccb06a372acba8487691
Author: Daniel P. Berrange <email address hidden>
Date: Wed Jan 28 17:46:55 2015 +0000
libvirt: remove pointless loop after live migration finishes
The libvirt 'migrateToURI' API(s) all block the caller until the
live migration operation has completed. As such, the timer call
used to check if live migration has completed is entirely pointless.
It appears this is code left over from the very first impl of live
migration in Nova, when Nova would simply shell out to the 'virsh'
command instead of using the libvirt APIs. Even back then though
it looks like it was redundant, since the command being spawned
would also block until live migration was finished.
Conflicts:
nova/virt/libvirt/driver.py
Related-bug: #1414065
Change-Id: Ib3906ef8564a986f7c0e980774e4ed76b3f93a38
(cherry-pick from commit 584a44f0157e84ce0100da6ee4f7b94bbb4088e3)
Reviewed: https:/ /review. openstack. org/162112 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=6833176b56e cbef9565bccb06a 372acba8487691
Committed: https:/
Submitter: Jenkins
Branch: stable/juno
commit 6833176b56ecbef 9565bccb06a372a cba8487691
Author: Daniel P. Berrange <email address hidden>
Date: Wed Jan 28 17:46:55 2015 +0000
libvirt: remove pointless loop after live migration finishes
The libvirt 'migrateToURI' API(s) all block the caller until the
live migration operation has completed. As such, the timer call
used to check if live migration has completed is entirely pointless.
It appears this is code left over from the very first impl of live
migration in Nova, when Nova would simply shell out to the 'virsh'
command instead of using the libvirt APIs. Even back then though
it looks like it was redundant, since the command being spawned
would also block until live migration was finished.
Conflicts: virt/libvirt/ driver. py
nova/
Related-bug: #1414065 6f7c0e980774e4e d76b3f93a38 e0100da6ee4f7b9 4bbb4088e3)
Change-Id: Ib3906ef8564a98
(cherry-pick from commit 584a44f0157e84c