summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Henkel <mhenkel@juniper.net>2017-03-22 15:08:36 +0100
committerMichael Henkel <mhenkel@juniper.net>2017-03-22 15:10:25 +0100
commit08b9633c50c757419ce80657ab59b5b3c0d261cc (patch)
tree82fc245088e5c86d1c7b5eb66de52726d10d1ef2
parent02f5102eeb2600068c7561b156bf00a8eeed5bd0 (diff)
Adding listen_options for Contrail Webui https in haproxy
Without balance source and hash-type consistent traffic to Contrail Webui https is not correctly load-balanced Change-Id: I05a5aeea7db801c1403ef3c4dd4f94480fd8692e
-rw-r--r--manifests/haproxy.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/haproxy.pp b/manifests/haproxy.pp
index 92edd71..122604b 100644
--- a/manifests/haproxy.pp
+++ b/manifests/haproxy.pp
@@ -1641,6 +1641,10 @@ class tripleo::haproxy (
ip_addresses => hiera('contrail_config_node_ips'),
server_names => hiera('contrail_config_node_ips'),
public_ssl_port => $ports[contrail_webui_https_port],
+ listen_options => {
+ 'balance' => 'source',
+ 'hash-type' => 'consistent',
+ }
}
}
}