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 1712822 - template command error in s390.tmpl
Summary: template command error in s390.tmpl
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: lorax
Version: 8.0
Hardware: s390x
OS: Linux
medium
medium
Target Milestone: rc
: 8.1
Assignee: Brian Lane
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks: 1689193 1713102 1714107
TreeView+ depends on / blocked
 
Reported: 2019-05-22 10:08 UTC by Jan Stodola
Modified: 2020-11-14 14:25 UTC (History)
3 users (show)

Fixed In Version: lorax-28.14.23-7.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1712491
: 1713102 1714107 (view as bug list)
Environment:
Last Closed: 2019-06-18 17:19:59 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-2019:1520 0 None None None 2019-06-18 17:20:03 UTC

Description Jan Stodola 2019-05-22 10:08:31 UTC
+++ This bug was initially created as a clone of Bug #1712491 +++

Description of problem:
livemedia-creator is failing when creating iso on s390x:

2019-05-21 10:47:13,840: Building boot.iso
2019-05-21 10:47:13,857: running s390.tmpl
2019-05-21 10:47:13,857: `/var/tmp/lorax.imgutils.E_DiM_/images/install.img` and `/var/tmp/tmpqjUc8q/images/install.img` are the same file
2019-05-21 10:47:13,859: template command error in s390.tmpl:
2019-05-21 10:47:13,859:   replace @EXTRA@ generic.prm
2019-05-21 10:47:13,885:   IOError: no files matched
2019-05-21 10:47:18,898: no files matched 

Version-Release number of selected component (if applicable):
lorax-19.7.24-1.el7

How reproducible:
always on s390x

Steps to Reproduce:
1. # REPO_URL=<repo_URL>
2. # OPTIONAL_URL=<optional_URL>
3. # sed -r -e "/^url/ s|http://[^ ]+|$REPO_URL|" -e "/^repo.*--name=optional/ s|http://[^ ]+|$OPTIONAL_URL|" /usr/share/doc/lorax-*/rhel7-livemedia.ks > ks.cfg
4. # sed 's/^%packages$/%packages --ignoremissing/' -i ks.cfg
5. # livemedia-creator --no-virt --make-iso --ks ks.cfg

Actual results:
template command error in s390.tmpl

Expected results:
livemedia-creator finishes successfully

Comment 1 Jan Stodola 2019-05-22 10:18:33 UTC
Let's fix this problem in RHEL-8 as well, although the bug is not so visible in RHEL-8 - templates from the lorax-templates-rhel package are used by default and this problem doesn't occur there.
To reproduce it on RHEL-8, lorax-templates-rhel needs to be uninstalled first:

# rpm -e --nodeps lorax-templates-rhel
# livemedia-creator --no-virt --make-iso --ks ks.cfg

Reproduced with lorax-28.14.23-5.el8_0 from 0-day errata.

PR: https://github.com/weldr/lorax/pull/728

Comment 3 Brian Lane 2019-05-23 22:23:47 UTC
https://github.com/weldr/lorax/pull/728

Comment 8 errata-xmlrpc 2019-06-18 17:19:59 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, 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-2019:1520


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