From 89b4a78b7eb672fe212526863a4ae423ec4735d4 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Evrard Date: Thu, 5 Oct 2017 08:23:33 +0000 Subject: [PATCH] Force the installation of qemu packages When doing upgrades after adding a new apt channel (like UCA), the apt module will upgrade the directly listed packages, and its recommended packages, not the child dependencies. You could arrive to a state where qemu-system-x86 was installed but not upgraded, while qemu-system and qemu-block-extra:amd64 would be upgraded. This could lead to compute issues. Change-Id: Ifa474634ebde4cabfded273739eaac5278b63901 Closes-Bug: #1716908 --- vars/ubuntu-16.04.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/vars/ubuntu-16.04.yml b/vars/ubuntu-16.04.yml index 12a69fc2..1f20847c 100644 --- a/vars/ubuntu-16.04.yml +++ b/vars/ubuntu-16.04.yml @@ -42,6 +42,8 @@ nova_novnc_distro_packages: nova_compute_barbican_distro_packages: - cryptsetup +# the qemu-system-.*, qemu-block-extra, qemu-utils, qemu-user packages are explictly listed +# for consistent upgrades (they will all be to the same version) nova_compute_kvm_distro_packages: - bridge-utils - genisoimage @@ -58,6 +60,16 @@ nova_compute_kvm_distro_packages: - dosfstools - dosfstools-dbg - multipath-tools + - qemu-system + - qemu-system-arm + - qemu-system-mips + - qemu-system-ppc + - qemu-system-sparc + - qemu-system-x86 + - qemu-system-misc + - qemu-block-extra + - qemu-utils + - qemu-user nova_compute_lxd_distro_packages: - bridge-utils