Haproxy timeouts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Invalid
|
Undecided
|
Unassigned | ||
Stein |
New
|
Undecided
|
Unassigned |
Bug Description
Hello!
We have a problem with default timeouts 50s at haproxy. When we create LoadBalancer neutron-lbaas-agent create an a process, for exmaple:
nobody 24826 0.0 0.0 62000 10808 ? Ss Jun17 0:50 | \_ haproxy -f /var/lib/
When we go to container neutron-lbaas-agent and check file haproxy.conf:
$ cat /var/lib/
# Configuration for 6e10e798-
global
daemon
user nobody
group haproxy
log /dev/log local0 debug alert
log /dev/log local1 notice alert
maxconn 12000
stats socket /var/lib/
defaults
log global
retries 3
option redispatch
timeout connect 5000
timeout client 50000
timeout server 50000
frontend ....
I don't understand which service or daemon generate this config, because changing configuration at /etc/kolla/
I found temp solution: manually change timeouts (connect, client and server) and restart process.
But how I can automate this process?
I think, kolla-ansible has template for this, but I don't know where I can configure this, could everybody help me with it?
Changed in kolla-ansible: | |
status: | New → Invalid |
Hello.
I find solution, just clone kolla repo: /github. com/openstack/ kolla lbaas_agent: /github. com/openstack/ kolla/blob/ stable/ stein/docker/ neutron/ neutron- lbaas-agent/ Dockerfile. j2
https:/
Cheout for needed branch, for example stein and change Dockerfile for neutron_
https:/
I added command before USER neutron: python3/ dist-packages/ neutron_ lbaas/drivers/ haproxy/ templates/ haproxy_ base.j2
RUN sed -i "s|5000|50000|g" /usr/lib/
Then generated own image with kolla-build by manual: /docs.openstack .org/kolla/ latest/ admin/image- building. html
https:/
And use for neutron lbaas agent own image.