summaryrefslogtreecommitdiffstats
path: root/manifests
diff options
context:
space:
mode:
authorEmilien Macchi <emilien@redhat.com>2015-08-28 12:29:11 -0400
committerEmilien Macchi <emilien@redhat.com>2015-09-13 19:08:01 +0000
commitff6f4864e6f999faff75e8c720f789a3876c938c (patch)
treebd019c0355671e816803949c07f00ea5d5960057 /manifests
parent55b77339542a30b3137a5b9ce23ca960eb911e9a (diff)
loadbalancer: use http mode for Horizon haproxy config
The haproxy configuration for horizon does not have 'mode http' set. This proxy needs to be in http mode since it is using a cookie for persistence. The default section has 'mode tcp', which is fine, but horizon proxy needs to override this setting to get http mode. Without this, you will likely see an error like this: [WARNING] 238/115010 (13878) : config : cookie will be ignored for proxy 'horizon' (needs 'mode http').' Closes BZ-1257687 Change-Id: I397986ea022f47a33a5210696752509f4a2731a5
Diffstat (limited to 'manifests')
-rw-r--r--manifests/loadbalancer.pp1
1 files changed, 1 insertions, 0 deletions
diff --git a/manifests/loadbalancer.pp b/manifests/loadbalancer.pp
index e30d76e..1ee7573 100644
--- a/manifests/loadbalancer.pp
+++ b/manifests/loadbalancer.pp
@@ -899,6 +899,7 @@ class tripleo::loadbalancer (
options => {
'cookie' => 'SERVERID insert indirect nocache',
},
+ mode => 'http',
collect_exported => false,
}
haproxy::balancermember { 'horizon':