aboutsummaryrefslogtreecommitdiffstats
path: root/manifests
diff options
context:
space:
mode:
authorSofer Athlan-Guyot <chem@sathlan.org>2015-12-16 14:07:02 +0100
committerSofer Athlan-Guyot <chem@sathlan.org>2016-01-05 14:46:53 +0100
commitd20756585f797f83e5bf3975f84c500e8f40b3cb (patch)
tree3a0f18a8bf75eb6145368de91dbd62944a3e533e /manifests
parentd7e457b8af855b2ecc08d94776532660ef56b736 (diff)
Haproxy has non-working Horizon session persistence.
Haproxy is using session persistence[1] for horizon. It is not correctly configured though. The cookie is not properly set. This add the necessary code. [1]: http://blog.haproxy.com/2012/03/29/load-balancing-affinity-persistence-sticky-sessions-what-you-need-to-know/ Change-Id: Ic9d79475cf84c25fb8146ecbc5f0a45862c106f0 Closes-Bug: 1526786
Diffstat (limited to 'manifests')
-rw-r--r--manifests/loadbalancer.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/loadbalancer.pp b/manifests/loadbalancer.pp
index 6306f61..3fe5ee9 100644
--- a/manifests/loadbalancer.pp
+++ b/manifests/loadbalancer.pp
@@ -961,7 +961,7 @@ class tripleo::loadbalancer (
ports => '80',
ipaddresses => hiera('horizon_node_ips', $controller_hosts_real),
server_names => $controller_hosts_names_real,
- options => ['check', 'inter 2000', 'rise 2', 'fall 5'],
+ options => ["cookie ${::hostname}", 'check', 'inter 2000', 'rise 2', 'fall 5'],
}
}