Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1966463

Summary: Rebuild the s390-netboot.img for downstream instead of shipping the upstream image
Product: Red Hat Enterprise Linux Advanced Virtualization Reporter: Thomas Huth <thuth>
Component: qemu-kvmAssignee: Thomas Huth <thuth>
qemu-kvm sub component: General QA Contact: smitterl
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: medium CC: cohuck, smitterl, virt-maint
Version: 8.5Keywords: Triaged
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.5   
Hardware: s390x   
OS: Linux   
Whiteboard:
Fixed In Version: qemu-kvm-6.0.0-19.module+el8.5.0+11385+6e7d542e Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-16 07:53:43 UTC Type: Bug
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: 1957194    

Description Thomas Huth 2021-06-01 08:42:29 UTC
Description of problem:
In RHEL-AV, we're currently shipping the s390-netboot.img binary from the upstream tarball instead of using the version that we rebuild in downstream. That way we could miss some fixes of patches that we backported.

Version-Release number of selected component (if applicable):
qemu-kvm-6.0.0-17

How reproducible:
100%

Steps to Reproduce:
1. ls -l /usr/share/qemu-kvm/s390-*.img

Actual results:
-rw-r--r--. 1 root root 42608 Jun  1 03:36 /usr/share/qemu-kvm/s390-ccw.img
-rw-r--r--. 1 root root 67232 Apr 29 13:18 /usr/share/qemu-kvm/s390-netboot.img
==> The timestamp of s390-netboot.img indicates that the binary has been taken from the last upstream QEMU release.

Expected results:
Something like:
-rw-r--r--. 1 root root 42608 Jun  1 03:36 /usr/share/qemu-kvm/s390-ccw.img
-rw-r--r--. 1 root root 67232 Jun  1 03:40 /usr/share/qemu-kvm/s390-netboot.img
==> The timestampe of s390-netboot.img should be from the same date as s390-ccw.img

Additional info:
We've already fixed this once in normal RHEL, in the commit 4ba5ea8e0c0 ("redhat: Install the s390-netboot.img that we've built"), so we just need to pick that patch to RHEL-AV now, too

Comment 4 smitterl 2021-06-15 15:17:22 UTC
Pre-verified with:
qemu-kvm-6.0.0-19.module+el8.5.0+11385+6e7d542e.s390x

1. Check timestamp
# ls -l /usr/share/qemu-kvm/s390-*.img
-rw-r--r--. 1 root root 42608 Jun 11 14:01 /usr/share/qemu-kvm/s390-ccw.img
-rw-r--r--. 1 root root 67232 Jun 11 14:01 /usr/share/qemu-kvm/s390-netboot.img

2. Install from network succeeds
(virt-install ... --location http://download.eng.bos.redhat.com/rhel-8/nightly/RHEL-8/RHEL-8.5.0-20210607.n.0/compose/BaseOS/s390x/os/)

Comment 7 smitterl 2021-06-23 07:36:30 UTC
Verified timestamp with qemu-kvm-6.0.0-20.module+el8.5.0+11499+199527ef.s390x

Comment 9 errata-xmlrpc 2021-11-16 07:53:43 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