Change haproxy health check from TCP to HTTP
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
High
|
Aleksandr Didenko | ||
5.1.x |
Fix Committed
|
High
|
Sergii Golovatiuk |
Bug Description
Currently haproxy is configured to use TCP health check for services. Recently we faced an issue when Keystone endpoint hanged and didn't process HTTP connections. At the same time it was not moved out of the round-robin pull since the Python process was still able to establish TCP connections. It's proposed to change health check to be HTTP and use HTTP HEAD request to the root URI.
VERSION:
feature_groups:
- mirantis
production: "docker"
release: "5.1.1"
api: "1.0"
build_number: "35"
build_id: "2014-11-
astute_sha: "702af3db6f5bca
fuellib_sha: "e5b3de834a400d
ostf_sha: "64cb59c681658a
nailgun_sha: "bbc9dfe78a0c33
fuelmain_sha: "e5e534ade6f376
Haproxy config:
root@node-13:~# cat /etc/haproxy/
listen keystone-1
bind 172.16.44.221:5000
bind 192.168.0.2:5000
balance roundrobin
option httplog
server node-8 192.168.0.10:5000 check
server node-13 192.168.0.15:5000 check
server node-15 192.168.0.17:5000 check
Changed in fuel: | |
milestone: | none → 6.0 |
assignee: | nobody → Fuel Library Team (fuel-library) |
Changed in fuel: | |
importance: | Undecided → Medium |
tags: | added: low-hanging-fruit scale |
Changed in fuel: | |
status: | New → Triaged |
importance: | Medium → Low |
importance: | Low → High |
milestone: | 6.1 → 6.0 |
Changed in fuel: | |
assignee: | Fuel Library Team (fuel-library) → Aleksandr Didenko (adidenko) |
It hits code freeze in 6.0. Moving to 6.1