Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1496461

Summary: issues when creating images with lorax 27.10 on s390x
Product: [Fedora] Fedora Reporter: Dan Horák <dan>
Component: loraxAssignee: Brian Lane <bcl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: anaconda-maint-list, bcl, dan, dcantrell, dmach, mgracik, wwoods
Target Milestone: ---   
Target Release: ---   
Hardware: s390x   
OS: Unspecified   
Whiteboard:
Fixed In Version: lorax-27.11-1 lorax-27.11-1.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-10 19:26:36 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: 467765    
Attachments:
Description Flags
log file none

Description Dan Horák 2017-09-27 13:03:16 UTC
There seem to be 3 issues in recent lorax that show up during creating the installer images for F-27 on s390x.

- ${imggraft} is used in the s390 template instead of ${filegraft}
- mk-s390-cdboot tool is not installed/distributed, but is called in the s390 template
- genisoimage: Error: '/compose/f27/Server/images/product.img' and '/compose/f27/Server/images/product.img' have the same Rock Ridge name 'product.img'.

First 2 should be fixed with https://github.com/rhinstaller/lorax/pull/246


Version-Release number of selected component (if applicable):
lorax-27.10-1.fc27.s390x

Comment 1 Dan Horák 2017-09-27 13:06:05 UTC
Created attachment 1331435 [details]
log file

command used to produce the images:
lorax --product=Fedora --version=27 --release=27 --source=https://kojipkgs.fedoraproject.org/compose/branched/Fedora-27-20170926.n.0/compose/Everything/s390x/os --variant=Server --nomacboot --noupgrade --buildarch=s390x --volid=Fedora-S-dvd-s390x-27 --installpkgs=fedora-productimg-server Server

Comment 2 Dan Horák 2017-09-27 13:44:26 UTC
for the record - non-productized (--installpkgs omitted) run is successful

Comment 3 Brian Lane 2017-09-27 16:54:16 UTC
Could you give https://github.com/rhinstaller/lorax/pull/247 a try? This should fix the 'same name' error

Comment 4 Dan Horák 2017-09-27 17:39:49 UTC
(In reply to Brian Lane from comment #3)
> Could you give https://github.com/rhinstaller/lorax/pull/247 a try? This
> should fix the 'same name' error

yes, with that I get the images correctly created

Comment 5 Fedora Update System 2017-09-27 21:43:17 UTC
lorax-27.11-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-33423fe127

Comment 6 Fedora Update System 2017-09-28 16:29:19 UTC
lorax-27.11-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-33423fe127

Comment 7 Fedora Update System 2017-10-10 19:26:36 UTC
lorax-27.11-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.