Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2028089

Summary: mkksiso doesn't work with s390x and aarch64 RHEL isos
Product: Red Hat Enterprise Linux 8 Reporter: Zdenek Veleba <zveleba>
Component: loraxAssignee: Brian Lane <bcl>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.6CC: jstodola, pzatko
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: lorax-28.14.64-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2028104 (view as bug list) Environment:
Last Closed: 2022-05-10 13:37:47 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: 2028104    

Description Zdenek Veleba 2021-12-01 13:09:18 UTC
Description of problem:
mkksiso requires directory /isolinux to be present on the image,
but this isn't the case for aarch64 and s390x RHEL isos.

Version-Release number of selected component (if applicable):
lorax-28.14.63-1.el8

How reproducible:
Always

Steps to Reproduce:
1. Get RHEL iso for s390x and aarch64
2. Prepare some kickstart
3. Run mkksiso ks.cfg /var/tmp/images/cdimage.iso /var/tmp/images/cdimage_ks.iso

Actual results:
INFO:Running... mount -o loop /var/tmp/images/cdimage.iso /tmp/lorax.imgutils.gmeg3iy2
INFO:mount: /tmp/lorax.imgutils.gmeg3iy2: WARNING: device write-protected, mounted read-only.
INFO:Running... umount /tmp/lorax.imgutils.gmeg3iy2
Traceback (most recent call last):
  File "/usr/sbin/mkksiso", line 618, in <module>
    main()
  File "/usr/sbin/mkksiso", line 612, in main
    args.add_paths, args.cmdline, args.volid)
  File "/usr/sbin/mkksiso", line 395, in __init__
    self.iso = IsoMountpoint(self.input_iso)
  File "/usr/lib/python3.6/site-packages/pylorax/mount.py", line 79, in __init__
    " to search under: {0}".format(kernel_list))
Exception: Missing kernel and initrd file in iso, failed to search under: [('/isolinux/vmlinuz', '/isolinux/initrd.img'), ('/ppc/ppc64/vmlinuz', '/ppc/ppc64/initrd.img')]

Expected results:
Iso with ks is created

Comment 1 Brian Lane 2021-12-07 23:08:24 UTC
https://github.com/weldr/lorax/pull/1198

Comment 9 errata-xmlrpc 2022-05-10 13:37:47 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 (lorax 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-2022:1785