From ff6f4864e6f999faff75e8c720f789a3876c938c Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Fri, 28 Aug 2015 12:29:11 -0400 Subject: 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 --- manifests/loadbalancer.pp | 1 + 1 file changed, 1 insertion(+) 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': -- cgit 1.2.3-korg