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
This commit is contained in:
parent
d7e457b8af
commit
d20756585f
|
@ -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'],
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue