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
This commit is contained in:
parent
41965140c3
commit
43cf12cf73
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user