diff options
| author | Michael Still <mikal@stillhq.com> | 2026-04-03 07:05:13 +1100 |
|---|---|---|
| committer | Michael Still <mikal@stillhq.com> | 2026-04-03 07:05:13 +1100 |
| commit | 71c3f6d284a1400074ee3ea84648da1e33b044d4 (patch) | |
| tree | fd994bf6366fc410beb7c690bd65dc2e7988a86c /ansible/group_vars | |
| parent | ac1c40288cdb86ce2a5a8f974edd059551fd4bc1 (diff) | |
| download | kolla-ansible-71c3f6d284a1400074ee3ea84648da1e33b044d4.tar.gz kolla-ansible-71c3f6d284a1400074ee3ea84648da1e33b044d4.zip | |
Add additional SPICE configuration options
Recent changes to OpenStack Compute have added a number of new
configuration options for SPICE VDI consoles. Additionally, it is
not always desirable to enable the HTML5 transcoding proxy for
SPICE consoles in Horizon. This patch adds configuration to
globals.yml for most of these new options. Specifically:
* nova_spice_html5: whether to enable the HTML5 transcoding proxy
or not. Defaults to the previous behaviour of enabling the proxy.
Notably, nova_spice_require_secure is not exposed here as it implies
that qemu is configured to support TLS, and that TLS certificates
have been configured in the nova_libvirt container. These changes
are large, and are included in a separate patch for clarity.
Additionally, OpenStack Compute added these configuration options
in 2023.1, and they are exposed as well:
* nova_spice_image_compression: "auto_glz"
* nova_spice_jpeg_compression: "auto"
* nova_spice_zlib_compression: "auto"
* nova_spice_playback_compression: true
* nova_spice_streaming_mode: "filter"
All configuration options and their various values are documented
by OpenStack Compute in their documentation.
Partial-Bug: #2131793 (spice-direct consoles)
Change-Id: I07f6890f1c7c4e543667d3cbd7b3e82bd9ec83e3
Signed-off-by: Michael Still <mikal@stillhq.com>
Diffstat (limited to 'ansible/group_vars')
| -rw-r--r-- | ansible/group_vars/all/nova.yml | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/ansible/group_vars/all/nova.yml b/ansible/group_vars/all/nova.yml index f1996cd73..4b116200a 100644 --- a/ansible/group_vars/all/nova.yml +++ b/ansible/group_vars/all/nova.yml @@ -58,12 +58,19 @@ nova_novncproxy_fqdn: "{{ kolla_external_fqdn }}" nova_novncproxy_port: "6080" nova_novncproxy_listen_port: "{{ nova_novncproxy_port }}" nova_novncproxy_public_port: "{{ haproxy_single_external_frontend_public_port if haproxy_single_external_frontend | bool else nova_novncproxy_port }}" -nova_spicehtml5proxy_fqdn: "{{ kolla_external_fqdn }}" -nova_spicehtml5proxy_port: "6082" -nova_spicehtml5proxy_listen_port: "{{ nova_spicehtml5proxy_port }}" -nova_spicehtml5proxy_public_port: "{{ haproxy_single_external_frontend_public_port if haproxy_single_external_frontend | bool else nova_spicehtml5proxy_port }}" nova_serialproxy_fqdn: "{{ kolla_external_fqdn }}" nova_serialproxy_port: "6083" nova_serialproxy_listen_port: "{{ nova_serialproxy_port }}" nova_serialproxy_public_port: "{{ haproxy_single_external_frontend_public_port if haproxy_single_external_frontend | bool else nova_serialproxy_port }}" nova_serialproxy_protocol: "{{ 'wss' if kolla_enable_tls_external | bool else 'ws' }}" + +nova_spicehtml5proxy_fqdn: "{{ kolla_external_fqdn }}" +nova_spicehtml5proxy_port: "6082" +nova_spicehtml5proxy_listen_port: "{{ nova_spicehtml5proxy_port }}" +nova_spicehtml5proxy_public_port: "{{ haproxy_single_external_frontend_public_port if haproxy_single_external_frontend | bool else nova_spicehtml5proxy_port }}" +nova_spice_html5: true +nova_spice_image_compression: "auto_glz" +nova_spice_jpeg_compression: "auto" +nova_spice_zlib_compression: "auto" +nova_spice_playback_compression: true +nova_spice_streaming_mode: "filter" |
