Set tunnel timeout for nova_novncproxy
authorJavier Pena <jpena@redhat.com>
Fri, 9 Oct 2015 10:01:57 +0000 (12:01 +0200)
committerJavier Pena <jpena@redhat.com>
Fri, 9 Oct 2015 10:05:19 +0000 (12:05 +0200)
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

manifests/loadbalancer.pp

index ed2a629..3119003 100644 (file)
@@ -814,6 +814,7 @@ class tripleo::loadbalancer (
       bind             => $nova_novnc_bind_opts,
       options          => {
         'balance' => 'source',
+        'timeout' => [ 'tunnel 1h' ],
       },
       collect_exported => false,
     }