Bug 1966463 - Rebuild the s390-netboot.img for downstream instead of shipping the upstream image
Summary: Rebuild the s390-netboot.img for downstream instead of shipping the upstream ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux Advanced Virtualization
Classification: Red Hat
Component: qemu-kvm
Version: 8.5
Hardware: s390x
OS: Linux
medium
medium
Target Milestone: rc
: 8.5
Assignee: Thomas Huth
QA Contact: smitterl
URL:
Whiteboard:
Depends On:
Blocks: 1957194
TreeView+ depends on / blocked
 
Reported: 2021-06-01 08:42 UTC by Thomas Huth
Modified: 2021-11-16 08:38 UTC (History)
3 users (show)

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:
Clone Of:
Environment:
Last Closed: 2021-11-16 07:53:43 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2021:4684 0 None None None 2021-11-16 07:54:43 UTC

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


Note You need to log in before you can comment on or make changes to this bug.