<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">hi Vikas Choudhary, when ovs-agent service recover(ovs-agent process restart), the dhcp port will not re-binding successfully?<br><br><br><br><div style="position:relative;zoom:1"></div><div id="divNeteaseMailCard"></div><br>At 2015-08-22 14:26:08, "Vikas Choudhary" <choudharyvikas16@gmail.com> wrote:<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><div dir="ltr"><span style="font-size:12.8000001907349px">Hi Everybody,</span><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">I want to discuss on <a href="https://bugs.launchpad.net/neutron/+bug/1348589" target="_blank">https://bugs.launchpad.net/neutron/+bug/1348589</a>.This is there for more than a year and no discussion i could find on this.</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><u>Scenario:</u></div><div style="font-size:12.8000001907349px">ovs-agent is down and then a network and subnet under this newly created network are created using cli. No error visible to user, but following irregularities are found.</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><u>Discrepancies:</u></div><div style="font-size:12.8000001907349px">1. neutron port-show <dhcp-port> shows:</div><div style="font-size:12.8000001907349px"> binding:vif_type | binding_failed</div><div style="font-size:12.8000001907349px">2. Running "ovs-ofctl dump-flows br-tun", no of-flow got added</div><div style="font-size:12.8000001907349px">3. Running "ovs-vsctl show br-int", no tag for dhcp-port. </div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">neutron db will have all the attributes required to retry vif binding.My query is when should we trigger this rebinding.Two approaches i could think of are:<br>1> At neutron server restart, for all ports with vif_type as "binding_failed" plugins/ml2/drivers/mech_agent.bind_port can be invoked as a sync up activity.</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">2> In neutron port update api, <a href="http://developer.openstack.org/api-ref-networking-v2-ext.html" target="_blank">http://developer.openstack.org/api-ref-networking-v2-ext.html</a> , could be enhanced to receive vif binding related options also and then eventually plugins/ml2/drivers/mech_agent.bind_port can be invoked.Corresponding changes will be made to 'port update cli' also.</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Please suggest.</div></div>
</blockquote></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"><div id="netease_mail_footer"><div style="border-top:#CCC 1px solid;padding:10px 5px;font-size:12px;color:#777;line-height:22px"><a log=1 logid="footer_beauty_20150816" href="http://r.mail.163.com/r.jsp?url=http%3A%2F%2F1.163.com%2Fhd%2Foneact%2Fhdframe.do%3Fid%3D21%26from%3Dfooter_beauty&sign=817593681&_r_ignore_statId=7_13_79_48&_r_ignore_uid=nt@163.com" target="_blank" style="color:#3366FF;text-decoration:none">夏日畅销榜大牌美妆只要1元</a></div></div>
</span></span>