Merge "Make tunnel timeout for nova_serialconsole_proxy configurable"

This commit is contained in:
Zuul 2018-10-31 21:08:09 +00:00 committed by Gerrit Code Review
commit 952ca2dcc5
2 changed files with 15 additions and 0 deletions

View File

@ -183,11 +183,15 @@ nova_services:
mode: "http"
external: false
port: "{{ nova_serialproxy_port }}"
backend_http_extra:
- "timeout tunnel {{ haproxy_nova_serialconsole_proxy_tunnel_timeout }}"
nova_serialconsole_proxy_external:
enabled: "{{ enable_nova|bool and enable_nova_serialconsole_proxy|bool }}"
mode: "http"
external: true
port: "{{ nova_serialproxy_port }}"
backend_http_extra:
- "timeout tunnel {{ haproxy_nova_serialconsole_proxy_tunnel_timeout }}"
nova-conductor:
container_name: "nova_conductor"
group: "nova-conductor"
@ -342,6 +346,11 @@ nova_conductor_dimensions: "{{ default_container_dimensions }}"
nova_compute_dimensions: "{{ default_container_dimensions }}"
nova_compute_ironic_dimensions: "{{ default_container_dimensions }}"
####################
# HAProxy
####################
haproxy_nova_serialconsole_proxy_tunnel_timeout: "10m"
####################
# OpenStack
####################

View File

@ -0,0 +1,6 @@
---
features:
- |
Added an option, haproxy_nova_serialconsole_proxy_tunnel_timeout,
to configure the nova_serialconsole_proxy tunnel timeout. This default
is to keep the websocket connection alive for 10 minutes.