<div dir="ltr"><div><div>Hi, <br><br>Recently I am working on LBaaS service. When I set up a pool and it serves, the haproxy process randomly returns 503:<br><br><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt">
<span style="font-size:15px;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline">503 Service Unavailabe</span></p>
<p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:15px;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline">No server is available to handle this request</span></p>
<p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:15px;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline"><br>
</span></p>This could be easily reproduced and I am pretty sure when this happened, member servers are up.<br><br></div>Meanwhile, I ran another haproxy process, started with CentOS init script. And the problem never showed. I replaced /etc/haproxy/haproxy.cfg with .../lbaas/{poo_id}/conf file (change stat socket path and group) and it still OK.<br>
<br></div>So, I checked init script and LBaaS-agent code, found there is a "-D" argument in the init script when creating Haproxy process. I killed haproxy process for the pool, and restart it with one more "-D" argument in pool's namespace, and the problem finally gone.<br>
<div><br></div><div>I don't know much about Haproxy, how could this "-D" argument make such difference (since there "deamon" options in the configuration file) ? <br></div><div><div><br></div></div>
</div>