<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p><font size="-1">Hi All, <br>
</font></p>
<p><font size="-1">we recently moved to openstack Train and
according to the version release notes the SR-IOV direct port
live-migration support was added to this version.</font></p>
<p><font size="-1">so we tried to do some live-migration to vm with
two SR-IOV direct ports attached to bond interface on the vm (no
vSwitch interface or a indirect only direct ports) but seems
that we have an issue with maintaining the network <br>
</font></p>
<p><font size="-1">connectivity during and after the live-migration,
according to [1] i see that in order to maintain network
connectivity during the
migration we have to add one indirect or vswitch port to the
bond and this interface will carry the</font></p>
<p><font size="-1"> traffic during the migration and once the
migration completed the direct port will back to be the primary
slave on the target VM bond.</font></p>
<p><font size="-1"><br>
</font></p>
<p><font size="-1">my question is if we don't add the indirect port
we will lose the connectivity during the migration which makes
sense to me,</font></p>
<p><font size="-1">but why the connectivity does not back after the
migration completed successfully, and why the bond master boot
up with no slaves on the target VM? <br>
</font></p>
<p><font size="-1">according to some documents and blueprints that I
found in google (including [2],[3]) the guest os will receive a
virtual hotplug add even and the</font></p>
<p><font size="-1"> bond master will enslave those devices and
connectivity will back which is not the case here.<br>
so I wondering maybe I need to add some scripts to handle those
events (if so where to add them) or some network flags to the
ifcfg-* files or i need to use a specific guest os?<br>
</font></p>
<p><font size="-1"><br>
</font></p>
<p><font size="-1">[1] : <a moz-do-not-send="true"
href="https://specs.openstack.org/openstack/nova-specs/specs/stein/approved/libvirt-neutron-sriov-livemigration.html">https://specs.openstack.org/openstack/nova-specs/specs/stein/approved/libvirt-neutron-sriov-livemigration.html</a></font></p>
<p><font size="-1">[2] :<a moz-do-not-send="true"
href="https://www.researchgate.net/publication/228722278_Live_migration_with_pass-through_device_for_Linux_VM">
https://www.researchgate.net/publication/228722278_Live_migration_with_pass-through_device_for_Linux_VM</a></font></p>
<p><font size="-1">[3] :<a moz-do-not-send="true"
href="https://openstack.nimeyo.com/72653/openstack-nova-neutron-live-migration-with-direct-passthru">
https://openstack.nimeyo.com/72653/openstack-nova-neutron-live-migration-with-direct-passthru</a></font></p>
<p><br>
</p>
<p><font size="-1"><b>bond master ifcfg file:</b></font></p>
<p><font size="-1">DEVICE=bond1<br>
BONDING_OPTS=mode=active-backup<br>
HOTPLUG=yes<br>
TYPE=Bond<br>
BONDING_MASTER=yes<br>
BOOTPROTO=none<br>
NAME=bond1<br>
ONBOOT=yes</font></p>
<p><font size="-1"><b>slaves ifcfg files:</b></font></p>
<p><font size="-1">TYPE=Ethernet<br>
DEVICE=eth0<br>
HOTPLUG=no<br>
ONBOOT=no<br>
MASTER=bond1<br>
SLAVE=yes<br>
BOOTPROTO=none<br>
NM_CONTROLLED=no<br>
</font></p>
<p><font size="-1"><b>guest OS:</b></font></p>
<p><font size="-1">CentOS Linux release 7.7.1908 (Core)<br>
</font></p>
<p><b><br>
</b></p>
<font size="-1"><b><em>Thanks in advance for any help :)</em>,</b><br>
</font><br>
<p><br>
</p>
<p><br>
</p>
</body>
</html>