From 76bb370450d4e67c1275eac686491d22da8061a3 Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Sun, 11 Feb 2024 17:17:24 +0100 Subject: [PATCH] Fix formatting issue for SPICE HAProxy httpcheck Due to the issue in formatting healthcheck address was merged with meth which resulted in invalid haproxy configuration, when SPICE is being used as a console. Closes-Bug: #2052891 Change-Id: I38b2ff6887382164e4b28852274ec6dfee4d7d78 --- inventory/group_vars/nova_all/haproxy_service.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inventory/group_vars/nova_all/haproxy_service.yml b/inventory/group_vars/nova_all/haproxy_service.yml index b5d4f4b84f..02551d71a5 100644 --- a/inventory/group_vars/nova_all/haproxy_service.yml +++ b/inventory/group_vars/nova_all/haproxy_service.yml @@ -66,7 +66,7 @@ haproxy_nova_spice_console_service: haproxy_timeout_client: 60m haproxy_timeout_server: 60m haproxy_balance_alg: source - haproxy_backend_httpcheck_options: "{{ haproxy_nova_console_http_mode | ternary(['send ' ~ haproxy_nova_healthcheck_hdr ~ 'meth HEAD uri /spice_auto.html', 'expect status 200'], []) }}" + haproxy_backend_httpcheck_options: "{{ haproxy_nova_console_http_mode | ternary(['send ' ~ haproxy_nova_healthcheck_hdr ~ ' meth HEAD uri /spice_auto.html', 'expect status 200'], []) }}" haproxy_backend_ssl: "{{ nova_backend_ssl | default(openstack_service_backend_ssl) }}" haproxy_backend_ca: "{{ nova_haproxy_backend_ca | default(openstack_haproxy_backend_ca) }}" haproxy_accept_both_protocols: "{{ nova_accept_both_protocols | default(openstack_service_accept_both_protocols) }}"