[Openstack-operators] Newton LBaaS v2 settings

Grant Morley grant at absolutedevops.io
Fri Dec 15 10:44:37 UTC 2017


Hi,

That is fantastic, just what I am looking for!

Thanks for the help.

Kind Regards,


On 15/12/17 10:43, Volodymyr Litovka wrote:
> Hi Grant,
>
> in case of Octavia, when you create healthmonitor with parameters of 
> monitoring:
>
> $ openstack loadbalancer healthmonitor create
> usage: openstack loadbalancer healthmonitor create [-h]
>                                                    [-f 
> {json,shell,table,value,yaml}]
>                                                    [-c COLUMN]
> [--max-width <integer>]
> [--fit-width]
> [--print-empty]
> [--noindent]
> [--prefix PREFIX]
> [--name <name>] --delay
> <delay>
> [--expected-codes <codes>]
> [--http_method {GET,POST,DELETE,PUT,HEAD,OPTIONS,PATCH,CONNECT,TRACE}]
> --timeout <timeout>
> --max-retries <max_retries>
> [--url-path <url_path>]
>                                                    --type
> {PING,HTTP,TCP,HTTPS,TLS-HELLO}
> [--max-retries-down <max_retries_down>]
> [--enable | --disable]
> <pool>
>
> Octavia pushes these parameters to haproxy config on Amphorae agent 
> (/var/lib/octavia/<pool id>/haproxy.cfg) like this:
>
> backend f30f2586-a387-40f4-a7b7-9718aebf49d4
>     mode tcp
>     balance roundrobin
>     timeout check 1s
>     server 26ae7b5c-4ec4-4bb3-ba21-6c8bccd9cdf8 10.1.4.11:80 weight 1 
> check inter 5s fall 3 rise 3
>     server 611a645e-9b47-40cd-a26a-b0b2a6348959 10.1.4.14:80 weight 1 
> check inter 5s fall 3 rise 3
>
> so, if you guess it's a problem with backend servers, you can play 
> with HealthMonitor parameters in order to set appropriate timeouts for 
> backend servers in this pool.
>
> On 12/15/17 12:11 PM, Grant Morley wrote:
>>
>> Hi All,
>>
>> I wonder if anyone would be able to help with some settings I might 
>> be obviously missing for LBaaS. We have a client that uses the 
>> service but they are coming across issues with their app randomly not 
>> working.  Basically if their app takes longer than 20 seconds to 
>> process a request it looks like LBaaS times out the connection.
>>
>> I have had a look and I can't seem to find any default settings for 
>> either "server" or "tunnel" and wondered if there was a way I could 
>> increase or see any default timeout settings through the neutron cli?
>>
>> I can only see timeout settings for the "Health Monitor"
>>
>> Any help will be much appreciated.
>>
>> Regards,
>>
>> -- 
>> Grant Morley
>> Senior Cloud Engineer
>> Absolute DevOps Ltd
>> Units H, J & K, Gateway 1000, Whittle Way, Stevenage, Herts, SG1 2FP
>> www.absolutedevops.io <http://www.absolutedevops.io/> 
>> grant at absolutedevops.io <mailto:grant at absolutedevops.io> 0845 874 0580
>>
>>
>> _______________________________________________
>> OpenStack-operators mailing list
>> OpenStack-operators at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>
> -- 
> Volodymyr Litovka
>    "Vision without Execution is Hallucination." -- Thomas Edison

-- 
Grant Morley
Senior Cloud Engineer
Absolute DevOps Ltd
Units H, J & K, Gateway 1000, Whittle Way, Stevenage, Herts, SG1 2FP
www.absolutedevops.io <http://www.absolutedevops.io/> 
grant at absolutedevops.io <mailto:grant at absolutedevops.io> 0845 874 0580
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20171215/f47bc9e8/attachment.html>


More information about the OpenStack-operators mailing list