summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Wyszkowski <michal.wyszkowski99@gmail.com>2024-04-22 13:03:38 +0200
committerMaksim Malchuk <maksim.malchuk@gmail.com>2024-04-30 19:21:17 +0000
commit99ccc25e8a4d1e51f3d7f14258e9bb6f6bab688f (patch)
treeaa346d1cf83afc7aafa431f39d882912643f2374
parent42cc971bf27dd65b63cf5ab766b714e6fca7dd13 (diff)
downloadkolla-99ccc25e8a4d1e51f3d7f14258e9bb6f6bab688f.tar.gz
kolla-99ccc25e8a4d1e51f3d7f14258e9bb6f6bab688f.zip
Nova: fix swtpm and swtpm-tools missing from deb installs
Closes-Bug: 2062572 Change-Id: I456a5b8f66aa88a82fb54938e8df7195d127d9cd (cherry picked from commit abb969502f75517844bd44c25e0484c7495284d2)
-rw-r--r--docker/nova/nova-compute/Dockerfile.j22
-rw-r--r--docker/nova/nova-libvirt/Dockerfile.j21
-rw-r--r--releasenotes/notes/bug-2062572-c55c71e1045a863f.yaml5
3 files changed, 8 insertions, 0 deletions
diff --git a/docker/nova/nova-compute/Dockerfile.j2 b/docker/nova/nova-compute/Dockerfile.j2
index d013e00b5..d1df0318e 100644
--- a/docker/nova/nova-compute/Dockerfile.j2
+++ b/docker/nova/nova-compute/Dockerfile.j2
@@ -71,6 +71,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 6bf1ee471..d8e05ee9b 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 000000000..81ba6b793
--- /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 <https://launchpad.net/bugs/2062572>`__