loadbalancer: use http mode for Horizon haproxy config
authorEmilien Macchi <emilien@redhat.com>
Fri, 28 Aug 2015 16:29:11 +0000 (12:29 -0400)
committerEmilien Macchi <emilien@redhat.com>
Sun, 13 Sep 2015 19:08:01 +0000 (19:08 +0000)
commitff6f4864e6f999faff75e8c720f789a3876c938c
treebd019c0355671e816803949c07f00ea5d5960057
parent55b77339542a30b3137a5b9ce23ca960eb911e9a
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