libvirt: slow live-migration to ensure network is ready
In Neutron, commit b7c303ee0a16a05c1fdb476dc7f4c7ca623a3f58 introduced
events sent during a live migration when the VIFs are plugged on
destination node.
The Linux bridge agent mechanism driver is detecting new networks on
the destination host only when the TAP devices are created, and these
tap devices are only created when libvirt starts the migration. As a
result, we must actually start the migration and then slow it as we
wait for the neutron events.
Reviewed: https:/ /review. openstack. org/557930 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=841b0fbea63 73ea2ae123f851f b90555faff12e2
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit 841b0fbea6373ea 2ae123f851fb905 55faff12e2
Author: Sahid Orentino Ferdjaoui <email address hidden>
Date: Thu Aug 24 09:13:09 2017 -0400
libvirt: slow live-migration to ensure network is ready
In Neutron, commit b7c303ee0a16a05 c1fdb476dc7f4c7 ca623a3f58 introduced
events sent during a live migration when the VIFs are plugged on
destination node.
The Linux bridge agent mechanism driver is detecting new networks on
the destination host only when the TAP devices are created, and these
tap devices are only created when libvirt starts the migration. As a
result, we must actually start the migration and then slow it as we
wait for the neutron events.
This change ensures we wait for these events.
Depends-On: https:/ /review. openstack. org/506182/
Closes-Bug: #1414559 4795762aa32575b a72d3a46fe8 b68b43c62e7f6d7 db2771a1f4)
Signed-off-by: Sahid Orentino Ferdjaoui <email address hidden>
Change-Id: I407034374fe17c
(cherry picked from commit 8e6d5d404cf49e5