From 43cf12cf7364addbf590286d1b009340f27835e5 Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Fri, 19 May 2023 19:29:05 +0200 Subject: [PATCH] Configure spice console on haproxy only when it is used At the moment we add spice console configuration unless console is jsut disabled. At the same time default behaviour is to use novnc. This results in spice backend being always DOWN for haproxy. Change-Id: I11b664a4e41dabad8ccf0cfa30b5498a9b1dd5af --- 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 332c43a00c..67569cc348 100644 --- a/inventory/group_vars/nova_all/haproxy_service.yml +++ b/inventory/group_vars/nova_all/haproxy_service.yml @@ -62,7 +62,7 @@ haproxy_nova_spice_console_service: haproxy_backend_httpcheck_options: "{{ haproxy_nova_console_http_mode | ternary(['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_service_enabled: "{{ groups['nova_console'] is defined and groups['nova_console'] | length > 0 and nova_console_type != 'disabled' }}" + haproxy_service_enabled: "{{ groups['nova_console'] is defined and groups['nova_console'] | length > 0 and nova_console_type == 'spice' }}" haproxy_nova_serial_console_service: haproxy_service_name: nova_serial_console