summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJavier Pena <jpena@redhat.com>2015-10-09 12:01:57 +0200
committerJavier Pena <jpena@redhat.com>2015-10-09 12:05:19 +0200
commit4945e2f4d321b31a0dec3ce0a53cf88fcbc41591 (patch)
tree3e3be58e55c5ec1d6315242d5f49dc1039546d2c
parenta003b3d97ebe8bd470717c419434851d60669bf7 (diff)
Set tunnel timeout for nova_novncproxy
When using websockets in HAProxy, like nova_novncproxy does, we need to set "timeout tunnel" to avoid disconnections after a short period without traffic. Change-Id: I1b66cd9a1d20cbbe35a2ada5782a76a01b14bcd1 Closes-BZ: 1267043
-rw-r--r--manifests/loadbalancer.pp1
1 files changed, 1 insertions, 0 deletions
diff --git a/manifests/loadbalancer.pp b/manifests/loadbalancer.pp
index ed2a629..3119003 100644
--- a/manifests/loadbalancer.pp
+++ b/manifests/loadbalancer.pp
@@ -814,6 +814,7 @@ class tripleo::loadbalancer (
bind => $nova_novnc_bind_opts,
options => {
'balance' => 'source',
+ 'timeout' => [ 'tunnel 1h' ],
},
collect_exported => false,
}