From abb969502f75517844bd44c25e0484c7495284d2 Mon Sep 17 00:00:00 2001 From: Michal Wyszkowski Date: Mon, 22 Apr 2024 13:03:38 +0200 Subject: [PATCH] Nova: fix swtpm and swtpm-tools missing from deb installs Closes-Bug: 2062572 Change-Id: I456a5b8f66aa88a82fb54938e8df7195d127d9cd --- docker/nova/nova-compute/Dockerfile.j2 | 2 ++ docker/nova/nova-libvirt/Dockerfile.j2 | 1 + releasenotes/notes/bug-2062572-c55c71e1045a863f.yaml | 5 +++++ 3 files changed, 8 insertions(+) create mode 100644 releasenotes/notes/bug-2062572-c55c71e1045a863f.yaml diff --git a/docker/nova/nova-compute/Dockerfile.j2 b/docker/nova/nova-compute/Dockerfile.j2 index bd8208f5a7..0b99d3b133 100644 --- a/docker/nova/nova-compute/Dockerfile.j2 +++ b/docker/nova/nova-compute/Dockerfile.j2 @@ -72,6 +72,8 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build 'qemu-utils', 'rsync', 'sasl2-bin', + 'swtpm', + 'swtpm-tools', 'sysfsutils', 'targetcli-fb', 'xfsprogs' diff --git a/docker/nova/nova-libvirt/Dockerfile.j2 b/docker/nova/nova-libvirt/Dockerfile.j2 index b56e01d0c3..e29948741a 100644 --- a/docker/nova/nova-libvirt/Dockerfile.j2 +++ b/docker/nova/nova-libvirt/Dockerfile.j2 @@ -56,6 +56,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build 'qemu-utils', 'sasl2-bin', 'swtpm', + 'swtpm-tools', 'trousers' ] %} diff --git a/releasenotes/notes/bug-2062572-c55c71e1045a863f.yaml b/releasenotes/notes/bug-2062572-c55c71e1045a863f.yaml new file mode 100644 index 0000000000..81ba6b793b --- /dev/null +++ b/releasenotes/notes/bug-2062572-c55c71e1045a863f.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Fixes a bug where swtpm and swtpm-tools deb packages are missing in 'nova-compute' and 'nova-libvirt' containers which keeps 'nova-compute' container from starting when operator enables TPM support in Nova. + `LP#2062572 `__