<div dir="ltr"><div class="gmail_default"><div class="gmail_default"><font face="arial, helvetica, sans-serif">This may be completely unrelated to your case, however we have noticed a similar situation with L2 agents on our network nodes... intermittent "flapping" of agent status. In our case, this was due to the fact that it was taking longer for some agents to report their status back to quantum-server than the server was expecting, therefore the server marked them as inactive. This was especially true for OVS agents on network nodes hosting many routers.</font></div>
<div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">Our solution (for now) was to increase agent_down_time in quantum-server's quantum.conf, giving the agent more time to respond before considering it inactive. We're currently using a value of 10s, and no longer see any flapping.</font></div>
<div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">On a related note, we were also occasionally getting "WARNING [quantum.openstack.common.loopingcall] task run outlasted interval by xxx sec" in various quantum agent event logs. This was related to report_interval, which is the frequency in which the agent reports its status. If an agent takes longer to poll/report its status than report_interval, warnings are thrown.</font></div>
<div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">To solve this (again, for now), we increased the report_interval to 8s on our network node's quantum.conf. The only thing to keep in mind is to make sure agent's report_interval is less than server's agent_down_time.</font></div>
<div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">I've seen couple bugs reported in launchpad that may be related to my particular case (at least with respect to OVS agent)... I'm not sure of their status. We're going to keep our settings as-is for awhile and keep an eye on it.</font></div>
<div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">Thanks,</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">Brian</font></div>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 23, 2013 at 9:23 AM, Samuel Winchenbach <span dir="ltr"><<a href="mailto:swinchen@gmail.com" target="_blank">swinchen@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:'courier new',monospace">Hi all,</div><div class="gmail_default" style="font-family:'courier new',monospace">
<br></div><div class="gmail_default" style="font-family:'courier new',monospace">
Have any of you experienced agents (in my case the L3 agent) being listed as "xxx" even though the daemon is still running?</div><div class="gmail_default" style="font-family:'courier new',monospace"><br>
</div><div class="gmail_default" style="font-family:'courier new',monospace">Here is a small snippet of my l3-agent.log around the time the agent becomes listed as "xxx" <a href="http://pastie.org/pastes/8262693/text" style="font-family:arial" target="_blank">http://pastie.org/pastes/8262693/text</a></div>
<div class="gmail_default" style="font-family:'courier new',monospace"><br></div><div class="gmail_default" style="font-family:'courier new',monospace">You can clearly see a change at 06:10:45.</div><div class="gmail_default" style="font-family:'courier new',monospace">
<br></div><div class="gmail_default" style="font-family:'courier new',monospace"><br></div><div class="gmail_default" style="font-family:'courier new',monospace">Any idea what could be causing this or other places to look for errors? I have been through most of the other logs and I don't see anything out of place.</div>
<div class="gmail_default" style="font-family:'courier new',monospace"><br></div><div class="gmail_default" style="font-family:'courier new',monospace"><br></div><div class="gmail_default" style="font-family:'courier new',monospace">
Thanks,</div><div class="gmail_default" style="font-family:'courier new',monospace">Sam</div></div>
<br>_______________________________________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div><font face="arial, helvetica, sans-serif">Brian Clark</font></div><div><font face="arial, helvetica, sans-serif">Co-Founder & Director of Technology</font></div>
<div><font face="arial, helvetica, sans-serif">Cloudapt LLC</font></div><div><font face="arial, helvetica, sans-serif">6330 East 75th Street, Suite 170</font></div><div><font face="arial, helvetica, sans-serif">Indianapolis, IN 46250</font></div>
</div>
</div>