redis promotion is problematic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Medium
|
Michele Baldessari |
Bug Description
Started from https:/
"""
The problem here is that on redis node demotion, another redis node promotion to master takes place and redis client kill followed by reconnection happens before haproxy gave up on "dead" (demoted) redis node. That means that redis clients keep connecting to slave node and not the new master since haproxy keeps redirecting it to the demoted node and eventually redis clients gave up before haproxy start to redirect redis clients to new promoted redis master node.
"""
To recap the problem is the following:
- Connection made to redis via haproxy, where haproxy directs to one redis node.
- That chosen redis node fails, new redis node it promoted.
- HAProxy will send *new* connections to redis to the newly promoted redis server, but you still have a session active (ie. that has not hit timeout), so haproxy will attempt to use that connection.
Changed in tripleo: | |
status: | Triaged → In Progress |
Changed in tripleo: | |
assignee: | Michele Baldessari (michele) → Alex Schultz (alex-schultz) |
Changed in tripleo: | |
assignee: | Alex Schultz (alex-schultz) → Michele Baldessari (michele) |
https:/ /review. openstack. org/529107