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 1713102 - template command error in s390.tmpl
Summary: template command error in s390.tmpl
Keywords:
Status: CLOSED DUPLICATE of bug 1714107
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: lorax
Version: 8.1
Hardware: s390x
OS: Linux
medium
medium
Target Milestone: rc
: 8.1
Assignee: Brian Lane
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On: 1712822 1714107
Blocks: 1689193
TreeView+ depends on / blocked
 
Reported: 2019-05-22 21:17 UTC by Brian Lane
Modified: 2019-05-29 17:39 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1712822
Environment:
Last Closed: 2019-05-29 17:39:45 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Brian Lane 2019-05-22 21:17:45 UTC
+++ This bug was initially created as a clone of Bug #1712822 +++

+++ 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

--- Additional comment from Jan Stodola on 2019-05-22 03:18:33 PDT ---

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 1 Brian Lane 2019-05-23 22:39:58 UTC
https://github.com/weldr/lorax/pull/728

Comment 2 Brian Lane 2019-05-29 17:39:45 UTC

*** This bug has been marked as a duplicate of bug 1714107 ***


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