From 04c5cfb59f2295bd730712bbe12b515498ac2cda Mon Sep 17 00:00:00 2001 From: Martin Schuppert Date: Mon, 25 Mar 2019 08:58:59 +0100 Subject: [PATCH] Install trousers to get user tss for nova_libvirt The user tss is wanted by libvirt and comes with the trousers package. Prior RHEL8 it comes via the gnutls -> trousers dependencies, but there is no such a dependency in RHEL8, so make sure we have trousers installed. Change-Id: I9f11ba53d5c6f0a435a62bb462164566c4519d9f Closes-Bug: #1821309 --- docker/nova/nova-libvirt/Dockerfile.j2 | 4 +++- .../add_trousers_to_nova_libvirt-4d159df1079b5c8e.yaml | 6 ++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/add_trousers_to_nova_libvirt-4d159df1079b5c8e.yaml diff --git a/docker/nova/nova-libvirt/Dockerfile.j2 b/docker/nova/nova-libvirt/Dockerfile.j2 index de12976715..b21f45c850 100644 --- a/docker/nova/nova-libvirt/Dockerfile.j2 +++ b/docker/nova/nova-libvirt/Dockerfile.j2 @@ -19,6 +19,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build 'libvirt-daemon-driver-lxc', 'libvirt-daemon-driver-nwfilter', 'openvswitch', + 'trousers' ] %} {% if base_distro in ['centos', 'oraclelinux'] %} {% set nova_libvirt_packages = nova_libvirt_packages + [ @@ -41,7 +42,8 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build 'pm-utils', 'qemu-block-extra', 'qemu-kvm', - 'qemu-system' + 'qemu-system', + 'trousers' ] %} {% if base_arch == "aarch64" %} diff --git a/releasenotes/notes/add_trousers_to_nova_libvirt-4d159df1079b5c8e.yaml b/releasenotes/notes/add_trousers_to_nova_libvirt-4d159df1079b5c8e.yaml new file mode 100644 index 0000000000..eae591fc0c --- /dev/null +++ b/releasenotes/notes/add_trousers_to_nova_libvirt-4d159df1079b5c8e.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + The user tss is wanted by libvirt and comes with the trousers package. + Prior RHEL8 it comes via the gnutls -> trousers dependencies, but there is + no such a dependency in RHEL8, so make sure we have trousers installed.