Comment 10 for bug 1414065

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to nova (stable/juno)

Reviewed: https://review.openstack.org/162112
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=6833176b56ecbef9565bccb06a372acba8487691
Submitter: Jenkins
Branch: stable/juno

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)