Bug 1972783

Summary: Rebase swtpm for rhel-av-8.5.0
Product: Red Hat Enterprise Linux Advanced Virtualization Reporter: Jaroslav Suchanek <jsuchane>
Component: swtpmAssignee: Marc-Andre Lureau <marcandre.lureau>
Status: CLOSED ERRATA QA Contact: Yanqiu Zhang <yanqzhan>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.5CC: abologna, ddepaula, ehadley, lmen, marcandre.lureau, virt-maint, xuzhang, yanqzhan
Target Milestone: rcKeywords: FutureFeature, Triaged
Target Release: 8.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: swtpm-0.6.0-1.20210607gitea627b3.module+el8.5.0+11638+3d8f9850.x86_64 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
: 1972785 2005433 (view as bug list) Environment:
Last Closed: 2021-11-16 07:54:24 UTC Type: Feature Request
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2005433    

Description Jaroslav Suchanek 2021-06-16 15:41:02 UTC
Please rebase swtpm to latest upstream version, currently 0.6.0.

It is specifically desired due to python dependency removal,
https://github.com/stefanberger/swtpm/issues/437

This has significant benefit for OpenShift Virtualization product. It shrinks the installation image as this is the only components which pulls in all python set.

Comment 1 Marc-Andre Lureau 2021-06-29 19:02:00 UTC
scratch build ok:
https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=37787259

please qa ack

Comment 2 Marc-Andre Lureau 2021-06-30 06:27:54 UTC
http://pkgs.devel.redhat.com/cgit/rpms/swtpm/commit/?h=stream-av-LP-rhel-8.5.0-advanced-virt&id=0db5e2a428a39f7ac4ec7eef32dc7ec4afa78bb4

Danilo, do you take it over from there to include in the module? Or can you tell me what I should do next.

thanks

Comment 3 Yanqiu Zhang 2021-07-01 06:58:56 UTC
Basic test for vtpm pass:
swtpm-0.6.0-1.20210607gitea627b3.module+el8.5.0+11638+3d8f9850.x86_64
libtpms-0.7.4-4.20201106git2452a24dab.module+el8.4.0+10596+32ba7df3.x86_64
libvirt-7.4.0-1.module+el8.5.0+11218+83343022.x86_64
qemu-kvm-6.0.0-21.module+el8.5.0+11555+e0ab0d09.x86_64
kernel-4.18.0-318.el8.x86_64
openssl-1.1.1k-1.el8.x86_64

 (1/1) type_specific.io-github-autotest-libvirt.virtual_devices.tpm_device.normal_test.tpm-crb_model.emulator.encrypted.basic: PASS (64.36 s)

Comment 7 Danilo de Paula 2021-07-15 13:20:41 UTC
BZ added to the errata/

Comment 8 Yanqiu Zhang 2021-07-16 01:27:35 UTC
Vtpm regression test pass:
https://libvirt-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/libvirt-RHEL-8.5-runtest-x86_64-function-tpm_emulator/20/testReport/
Pkgs:
swtpm-0.6.0-1.20210607gitea627b3.module+el8.5.0+11638+3d8f9850
libtpms-0.7.4-5.20201106git2452a24dab.module+el8.5.0+11638+3d8f9850
libvirt-7.5.0-1.module+el8.5.0+11664+59f87560.x86_64
qemu-kvm-6.0.0-21.module+el8.5.0+11555+e0ab0d09.x86_64
kernel-4.18.0-320.el8.x86_64

Comment 12 John Ferlan 2021-09-17 16:24:54 UTC
Housekeeping: cleared needinfo's and exception/blocker since a new bug was created

Comment 14 errata-xmlrpc 2021-11-16 07:54:24 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (virt:av bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:4684