<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Hello,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>We have an Openstack Icehouse cluster setup with two management nodes (Nova, Neutron, Horizon etc. ) as well as qpidd (version 0.18) for the message queue. Everything sits behind an HAproxy setup which round robins the request to the both nodes. <o:p></o:p></p><p class=MsoNormal>It works fine until a certain amount of time (couple of days),  all the agents from the compute nodes (Nova, Neutron) shows as down in the Horizon web interface. A “openstack-services restart” on both management nodes fixes it normally and the agents are shown as up.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>In the Nova logs on the compute nodes I see a lot of messages like the ones below, its seems like the connection to the message queue is lost.:<o:p></o:p></p><p class=MsoNormal>ERROR nova.openstack.common.periodic_task [-] Error during ComputeManager.update_available_resource: Timed out waiting for a reply to message ID b28ae4098c31453c83d963c2a9d6c1ee<o:p></o:p></p><p class=MsoNormal>[…]<o:p></o:p></p><p class=MsoNormal>TRACE nova.openstack.common.periodic_task     reply, ending = self._poll_connection(msg_id, timeout)<o:p></o:p></p><p class=MsoNormal>TRACE nova.openstack.common.periodic_task   File "/usr/lib/python2.6/site-packages/oslo/messaging/_drivers/amqpdriver.py", line 217, in _poll_connection<o:p></o:p></p><p class=MsoNormal>TRACE nova.openstack.common.periodic_task     % msg_id)<o:p></o:p></p><p class=MsoNormal>TRACE nova.openstack.common.periodic_task MessagingTimeout: Timed out waiting for a reply to message ID b28ae4098c31453c83d963c2a9d6c1ee<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Here the Haproxy port for qpidd:<o:p></o:p></p><p class=MsoNormal>listen qpid_message_broker<o:p></o:p></p><p class=MsoNormal>  bind 10.xxx.xxx.xxx:5672<o:p></o:p></p><p class=MsoNormal>  timeout server 1h<o:p></o:p></p><p class=MsoNormal>  timeout client 1h<o:p></o:p></p><p class=MsoNormal>  timeout connect 240s<o:p></o:p></p><p class=MsoNormal>  server xx-xxxxx-x001 10.xxx.xxx.xx1:5672 check inter 10s rise 9999999 fall 5<o:p></o:p></p><p class=MsoNormal>  server xx-xxxxx-x002 10.xxx.xxx.xx2:5672 check backup<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Any ideas or experiences you had with setting up HAproxy for qpidd? Any help appreciated!<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Cheers,<o:p></o:p></p><p class=MsoNormal>Chris<o:p></o:p></p></div></body></html>