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 2028104 - mkksiso doesn't work with s390x and aarch64 RHEL isos
Summary: mkksiso doesn't work with s390x and aarch64 RHEL isos
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: lorax
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Brian Lane
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On: 2028089
Blocks: 2027125
TreeView+ depends on / blocked
 
Reported: 2021-12-01 13:34 UTC by Zdenek Veleba
Modified: 2022-05-17 12:50 UTC (History)
4 users (show)

Fixed In Version: lorax-34.9.10-1.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2028089
Environment:
Last Closed: 2022-05-17 12:34:04 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-104459 0 None None None 2021-12-01 13:37:24 UTC
Red Hat Issue Tracker RTT-4083 0 None None None 2021-12-09 14:44:35 UTC
Red Hat Issue Tracker RTT-4084 0 None None None 2021-12-09 14:44:40 UTC
Red Hat Product Errata RHBA-2022:2345 0 None None None 2022-05-17 12:34:17 UTC

Description Zdenek Veleba 2021-12-01 13:34:18 UTC
Same issue in lorax-34.9.9-1.el9

+++ This bug was initially created as a clone of Bug #2028089 +++

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:26:59 UTC
I'd like to just pull in all the recent changes to mkksiso that I'm also making upstream and in RHEL8. No reason to leave any of the other stuff out.

https://github.com/weldr/lorax/pull/1199

Comment 8 errata-xmlrpc 2022-05-17 12:34:04 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 (new packages: lorax), 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:2345


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