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
This commit is contained in:
Jean-Philippe Evrard 2015-09-08 18:00:09 +02:00 committed by Jesse Pretorius
parent 4da86250b7
commit 923da0c127

View File

@ -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