From 923da0c12751b107c578671e979caaa35d70cdab Mon Sep 17 00:00:00 2001 From: Jean-Philippe Evrard Date: Tue, 8 Sep 2015 18:00:09 +0200 Subject: [PATCH] Fix of haproxy ssl misconfiguration with nova_console If you are using haproxy_ssl: True, you don't have the ssl directive in haproxy/conf.d/nova_console for the bind section. This fixes this issue. Closes-Bug: #1493429 Change-Id: Idbde44b191082a65ae2f716acd030ef84c237238 --- playbooks/vars/configs/haproxy_config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/playbooks/vars/configs/haproxy_config.yml b/playbooks/vars/configs/haproxy_config.yml index 1c86fe5b03..f02f595d4c 100644 --- a/playbooks/vars/configs/haproxy_config.yml +++ b/playbooks/vars/configs/haproxy_config.yml @@ -122,6 +122,7 @@ haproxy_service_configs: - service: haproxy_service_name: nova_console haproxy_backend_nodes: "{{ groups['nova_console'] }}" + haproxy_ssl: "{% if haproxy_ssl | bool and nova_spice_html5proxy_base_proto == 'https' %}true{% else %}false{% endif %}" haproxy_port: 6082 haproxy_balance_type: tcp haproxy_timeout_client: 60m