<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>hi <span style="line-height: 19.0399990081787px;">Shraddha Pandhe,</span></div><div><span style="line-height: 19.0399990081787px;">  I think your </span>analysis is right, I also encountered the same problem£¬ I have filed a bug[1] and commit a patch [2] for this bug.</div><div><br></div><div>thanks,</div><div>  hanzhang shi</div><br><div>[1] <a href="https://launchpad.net/bugs/1469615" _src="https://launchpad.net/bugs/1469615">https://launchpad.net/bugs/1469615</a> </div><div>[2] https://review.openstack.org/#/c/196927/</div><br><div style="position:relative;zoom:1"></div><div id="divNeteaseMailCard"></div><br>ÔÚ 2015-07-01 08:25:48£¬"Shraddha Pandhe" <spandhe.openstack@gmail.com> Ð´µÀ£º<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><div dir="ltr"><div id="SPZII8SR5H5" class="" style="padding:1px 5px;margin-bottom:3px;color:rgb(0,0,0);font-family:'Lucida Grande'"><span class="" style="word-wrap:break-word">Hi folks..</span></div><div id="SPZII8SR5H5" class="" style="padding:1px 5px;margin-bottom:3px;color:rgb(0,0,0);font-family:'Lucida Grande'"><span class="" style="word-wrap:break-word"><br></span></div><div id="SPZII8SR5H5" class="" style="padding:1px 5px;margin-bottom:3px;color:rgb(0,0,0);font-family:'Lucida Grande'"><span class="" style="word-wrap:break-word">I have a question about neutron dhcp agent restart scenario. It seems like, when the agent restarts, it recovers the known network IDs in cache, but we don't recover the known ports [1].</span></div><div id="SPZII8SR5H5" class="" style="padding:1px 5px;margin-bottom:3px;color:rgb(0,0,0);font-family:'Lucida Grande'"><span class="" style="word-wrap:break-word"><br></span></div><div id="SPZII8SR5H5" class="" style="padding:1px 5px;margin-bottom:3px;color:rgb(0,0,0);font-family:'Lucida Grande'"><span class="" style="word-wrap:break-word">So if a port that was present before agent restarted, is deleted after agent restart, the agent wont have it in its cache. S</span>o port here [2] will be None. So the port will actually never get deleted. </div><div id="SPZII8SR5H5" class="" style="padding:1px 5px;margin-bottom:3px;color:rgb(0,0,0);font-family:'Lucida Grande'"><br></div><div id="SPZII8SR5H5" class="" style="padding:1px 5px;margin-bottom:3px;color:rgb(0,0,0);font-family:'Lucida Grande'">Same problem will happen if a port is updated. Has anyone seen these issues? Am I missing something?</div><div id="W5DLGPTR5H5" class="" style="padding:1px 5px;margin-bottom:3px;color:rgb(0,0,0);font-family:'Lucida Grande'"><br></div><div id="W5DLGPTR5H5" class="" style="padding:1px 5px;margin-bottom:3px;color:rgb(0,0,0);font-family:'Lucida Grande'">[1] <a href="https://github.com/openstack/neutron/blob/master/neutron/agent/dhcp/agent.py#L82-L87">https://github.com/openstack/neutron/blob/master/neutron/agent/dhcp/agent.py#L82-L87</a></div><div id="W5DLGPTR5H5" class="" style="padding:1px 5px;margin-bottom:3px;color:rgb(0,0,0);font-family:'Lucida Grande'">[2] <a href="https://github.com/openstack/neutron/blob/master/neutron/agent/dhcp/agent.py#L349" style="font-family:arial,sans-serif">https://github.com/openstack/neutron/blob/master/neutron/agent/dhcp/agent.py#L349</a></div><div id="W5DLGPTR5H5" class="" style="padding:1px 5px;margin-bottom:3px;color:rgb(0,0,0);font-family:'Lucida Grande'"><br></div></div>
</blockquote></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>