HAproxy's redis check missing OK response on AUTH request
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Medium
|
Radoslaw Smigielski |
Bug Description
HAproxy config section for redis looks like this:
listen redis
bind 10.17.1.12:6379 transparent
balance first
option tcp-check
option tcplog
tcp-check send AUTH\ password\r\n
tcp-check send PING\r\n
tcp-check expect string +PONG
tcp-check send info\ replication\r\n
tcp-check expect string role:master
tcp-check send QUIT\r\n
tcp-check expect string +OK
....
And that works when auth was suncesful. But in fact there is one response missing in the tcp-check section, just after "tcp-check send AUTH", redis server sends back "+OK", which is missing above.
Here is how it looks like:
[root@overcloud
AUTH password
+OK <----- missing response in tcp-check
Changed in tripleo: | |
assignee: | nobody → Radoslaw Smigielski (radoslaw-smigielski) |
description: | updated |
Changed in tripleo: | |
status: | New → In Progress |
The tcp-check pattern is quite common for other services we have behind HAProxy. Do you think we should double-check the remaining services are not affected by the same issue?..