<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">This looks similar to this bug: <a href="https://bugs.launchpad.net/tripleo/+bug/1815811">https://bugs.launchpad.net/tripleo/+bug/1815811</a>. The default octavia server uses wsgiref.simple_server which doesn't appear to deal with haproxy interaction very well. We are fixing TripleO to run octavia api under apache instead which appears to fix the problem.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Cheers,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Brent<br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 2, 2019 at 5:44 AM Ignazio Cassano <<a href="mailto:ignaziocassano@gmail.com">ignaziocassano@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hello All,</div><div>I installed octavia queens with centos and it works but in /var/log/messages I got a lot of errors like the following:</div><div><br></div><div><br></div><div>Apr  2 09:53:15 tst2-osctrl01 octavia-api: self.RequestHandlerClass(request, client_address, self)<br>Apr  2 09:53:15 tst2-osctrl01 octavia-api: File "/usr/lib64/python2.7/SocketServer.py", line 651, in __init__<br>Apr  2 09:53:15 tst2-osctrl01 octavia-api: self.finish()<br>Apr  2 09:53:15 tst2-osctrl01 octavia-api: File "/usr/lib64/python2.7/SocketServer.py", line 710, in finish<br>Apr  2 09:53:15 tst2-osctrl01 octavia-api: self.wfile.close()<br>Apr  2 09:53:15 tst2-osctrl01 octavia-api: File "/usr/lib64/python2.7/socket.py", line 279, in close<br>Apr  2 09:53:15 tst2-osctrl01 octavia-api: self.flush()<br>Apr  2 09:53:15 tst2-osctrl01 octavia-api: File "/usr/lib64/python2.7/socket.py", line 303, in flush<br>Apr  2 09:53:15 tst2-osctrl01 octavia-api: self._sock.sendall(view[write_offset:write_offset+buffer_size])<br>Apr  2 09:53:15 tst2-osctrl01 octavia-api: error: [Errno 32] Broken pipe</div><div><br></div><div><br></div><div>octavia-api is under haproxy:</div><div><br></div><div> listen octavia_cluster<br>  bind <a href="http://10.102.184.190:9876" target="_blank">10.102.184.190:9876</a><br>  balance  source<br>option  tcpka<br>  option  httpchk<br>option  tcplog<br>  server tst2-osctrl01 <a href="http://10.102.184.191:9876" target="_blank">10.102.184.191:9876</a> check fall 5 inter 2000 rise 2<br>  server tst2-osctrl02 <a href="http://10.102.184.192:9876" target="_blank">10.102.184.192:9876</a> check fall 5 inter 2000 rise 2<br>  server tst2-osctrl03 <a href="http://10.102.184.193:9876" target="_blank">10.102.184.193:9876</a> check fall 5 inter 2000 rise 2</div><div><br></div><div>Any help, please ?</div><div><br></div><div><br></div><div>Another question is related to openstack command:</div><div>Must I use neutron lbbas command or openstack loadbalancer command for octavia ?</div><div><br></div><div>Loadbalancers created with neutron command cannot be shown with openstack loadbalancer command .</div><div><br></div><div>Many thanks</div><div>Ignazio<br></div></div></div></div>
</blockquote></div>