diff options
author | Jason Guiditta <jguiditt@redhat.com> | 2016-02-25 10:27:26 -0500 |
---|---|---|
committer | Jason Guiditta <jguiditt@redhat.com> | 2016-02-25 10:27:26 -0500 |
commit | 6e4870915281c80176ea08584f337099e60e2b2d (patch) | |
tree | af5b2bd4b4c812d493ed39184ca7ea869a1ffa9f /manifests | |
parent | 5f915a88e7c4eec6e6a0341808f0fbc4a4b1a161 (diff) |
loadbalancer: fix Redis timeout HAproxy config
Current HAproxy config is broken for Redis timeout parameters. This is what we
have today by default in HAproxy logs:
[WARNING] 238/115010 (13878) : config : missing timeouts for proxy 'redis'.
| While not properly invalid, you will certainly encounter various problems
| with such a configuration. To fix this, please ensure that all following
| timeouts are set to a non-zero value: 'client', 'connect', 'server'.
This patch removes the explicit setting of client and server timeouts to 0,
which is the cause of the above warning. Instead, Redis will simply inherit the
haproxy defaults, which should be a more reasonable setting, and result in no
warnings.
Change-Id: Ibe7941bec02f5facf21732910c9ad96f547ff8e5
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/loadbalancer.pp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/manifests/loadbalancer.pp b/manifests/loadbalancer.pp index 387f022..21d44e0 100644 --- a/manifests/loadbalancer.pp +++ b/manifests/loadbalancer.pp @@ -1233,7 +1233,6 @@ class tripleo::loadbalancer ( haproxy::listen { 'redis': bind => $redis_bind_opts, options => { - 'timeout' => [ 'client 0', 'server 0' ], 'balance' => 'first', 'option' => ['tcp-check',], 'tcp-check' => ['send info\ replication\r\n','expect string role:master'], |