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/497457 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=8e6d5d404cf 49e5b68b43c62e7 f6d7db2771a1f4
Committed: https:/
Submitter: Zuul
Branch: master
commit 8e6d5d404cf49e5 b68b43c62e7f6d7 db2771a1f4
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: Icb039ae2d465e3 822ab07ae4f9bc4 05c1362afba
Closes-Bug: #1414559 4795762aa32575b a72d3a46fe8
Signed-off-by: Sahid Orentino Ferdjaoui <email address hidden>
Change-Id: I407034374fe17c