<div class="socmaildefaultfont" dir="ltr" style="font-family:Arial, Helvetica, sans-serif;font-size:10pt" ><div dir="ltr" >Hi, all</div>
<div dir="ltr" > </div>
<div dir="ltr" >I met some nova live-migration problems with the U version.</div>
<div dir="ltr" > </div>
<div dir="ltr" ><div>My env is one controller + two compute nodes. Here are the steps:</div>
<div> </div>
<div>1. Create a VM at comp;<br>2. Live-migrate the VM from comp to comp2;<br>3. Live-migration success;<br>4. Live-migrate the VM from the comp2 to comp<br>5. Live migration fail</div>
<div>I find that there are duplicate records in the neutron's "ml2_port_bindings" table:</div>
<div>MariaDB [neutron]> select * from ml2_port_bindings where port_id="71c3a3c7-d853-4b26-9975-50b99c449371";<br>+--------------------------------------+-------+----------+-----------+---------------------------+---------------------------------------------------------------------------------------------------------------------------+----------+<br>| port_id | host | vif_type | vnic_type | profile | vif_details<br>                                 | status |<br>+--------------------------------------+-------+----------+-----------+---------------------------+---------------------------------------------------------------------------------------------------------------------------+----------+<br>| 71c3a3c7-d853-4b26-9975-50b99c449371 | comp | unbound | normal | {"migrating_to": "comp2"} |<br>                                 | INACTIVE |<br>| 71c3a3c7-d853-4b26-9975-50b99c449371 | comp2 | ovs | normal | {} | {"connectivity": "l2", "port_filter": true, "ovs_hybrid_plug": false, "datapath_type": "system", "bridge_name": "br-int"} | ACTIVE |<br>+--------------------------------------+-------+----------+-----------+---------------------------+---------------------------------------------------------------------------------------------------------------------------+----------+</div>
<div> </div>
<div>Here is a duplicate record generated.</div>
<div> </div>
<div>Why does nova or neutron generate an INACTIVE record in neutron's DB?</div>
<div> </div>
<div>I have filed a bug at <a href="https://bugs.launchpad.net/nova/+bug/1900843" >https://bugs.launchpad.net/nova/+bug/1900843</a>.</div>
<div> </div>
<div>Please feel free to give me some advice.</div>
<div> </div>
<div> </div>
<div> </div>
<div>Thanks</div>
<div>Zhi Chang</div></div></div><BR>