Bug 1712491

Summary: template command error in s390.tmpl
Product: Red Hat Enterprise Linux 7 Reporter: Jan Stodola <jstodola>
Component: loraxAssignee: Brian Lane <bcl>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.7CC: pjanda, tbowling
Target Milestone: rc   
Target Release: ---   
Hardware: s390x   
OS: Linux   
Whiteboard:
Fixed In Version: lorax-19.7.25-1.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1712822 (view as bug list) Environment:
Last Closed: 2019-08-06 13:00:19 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: 1670353    

Description Jan Stodola 2019-05-21 15:39:12 UTC
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 2 Jan Stodola 2019-05-21 16:28:41 UTC
PR: https://github.com/weldr/lorax/pull/724

Comment 5 Petr Janda 2019-06-11 15:29:18 UTC
reproduced on RHEL-7.7-20190530.1 lorax-19.7.24-1.el7.s390x
verified on RHEL-7.7-20190606.1 lorax-19.7.25-1.el7

Comment 7 errata-xmlrpc 2019-08-06 13:00:19 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:2161