From b5883609f24b166c872f95b6264d001a37f7d5af Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Wed, 9 Dec 2020 09:54:55 +0000 Subject: [PATCH 1/2] Add libgcrypt to RedHat dependencies CentOS 8.3 has a bug in which updating qemu-kvm does not update libgcrypt. This leads to failues when using libvirt/qemu. It seems to happen on CentOS 8.2 images, since the 8.3 packages became available See https://bugzilla.redhat.com/show_bug.cgi?id=1840485. Fixes: #42 --- vars/RedHat.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vars/RedHat.yml b/vars/RedHat.yml index 6b31c8c..860ce32 100644 --- a/vars/RedHat.yml +++ b/vars/RedHat.yml @@ -1,6 +1,10 @@ --- # List of libvirt package dependencies. libvirt_host_libvirt_packages_default: + # NOTE(mgoddard): CentOS 8.3 has a bug in which updating qemu-kvm does not + # update libgcrypt. This leads to failues when using libvirt/qemu. See + # https://bugzilla.redhat.com/show_bug.cgi?id=1840485. + - libgcrypt - libvirt - libvirt-daemon-kvm - "{{ 'python3-libvirt' if libvirt_host_python3 | bool else 'libvirt-python' }}" From 23702858f6ce438940533c36c7820c442e986978 Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Wed, 9 Dec 2020 11:01:40 +0000 Subject: [PATCH 2/2] Add libgcrypt-devel to RedHat dependencies --- vars/RedHat.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/vars/RedHat.yml b/vars/RedHat.yml index 860ce32..dec8dcb 100644 --- a/vars/RedHat.yml +++ b/vars/RedHat.yml @@ -5,6 +5,7 @@ libvirt_host_libvirt_packages_default: # update libgcrypt. This leads to failues when using libvirt/qemu. See # https://bugzilla.redhat.com/show_bug.cgi?id=1840485. - libgcrypt + - libgcrypt-devel - libvirt - libvirt-daemon-kvm - "{{ 'python3-libvirt' if libvirt_host_python3 | bool else 'libvirt-python' }}"