From 91e37843fefaf46f6358093c28c966c46e6f8d2f Mon Sep 17 00:00:00 2001 From: Michael Still Date: Thu, 2 Apr 2026 07:16:07 +1100 Subject: Re-enable SPICE support on Ubuntu Noble. The move to Ubuntu Noble for Kolla 2025.1 onwards accidentally broke SPICE consoles for Nova (both Horizon and spice-direct). This is because Debian and Ubuntu now package the SPICE support in a separate package. Without this package, an attempt to start an instance in Nova requiring SPICE will result in messages like this in the nova-libvirt logs: libvirt.libvirtError: unsupported configuration: spice graphics are not supported with this QEMU And the instance will enter an error state. The fix is to install the `qemu-system-modules-spice` package as well in the nova-libvirt image. Closes-Bug: #2138186 Change-Id: Ib4ced4a04353b9c11c6f0abb7cfa91001b239e53 Signed-off-by: Michael Still --- docker/nova/nova-libvirt/Dockerfile.j2 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docker') diff --git a/docker/nova/nova-libvirt/Dockerfile.j2 b/docker/nova/nova-libvirt/Dockerfile.j2 index d65d31584..0f22b60f3 100644 --- a/docker/nova/nova-libvirt/Dockerfile.j2 +++ b/docker/nova/nova-libvirt/Dockerfile.j2 @@ -77,6 +77,12 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build 'usermode' ] %} {% endif %} + + {% if base_distro in ['ubuntu'] %} + {% set nova_libvirt_packages = nova_libvirt_packages + [ + 'qemu-system-modules-spice' + ] %} + {% endif %} {% endif %} {{ macros.install_packages(nova_libvirt_packages | customizable("packages")) }} -- cgit v1.2.3