Bug 1673744

Summary: Support PowerPC and s390x image creation with Composer
Product: Red Hat Enterprise Linux 8 Reporter: Brian Smith <briasmit>
Component: loraxAssignee: Brian Lane <bcl>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact: Eliane Ramos Pereira <elpereir>
Priority: unspecified    
Version: 8.0CC: atodorov, bcl, briasmit, elpereir, jstodola, kwalker, stefw
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: lorax-28.14.24-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-28 15:37:31 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: 1676516, 1676545, 1676653, 1677417, 1678777, 1678937, 1694180, 1746399, 1746424, 1751998, 1752002, 1763922, 1767551    
Bug Blocks:    

Description Brian Smith 2019-02-07 23:03:49 UTC
Description of problem:  It doesn't seem possible to create PowerPC and s390x images with composer currently.


Version-Release number of selected component (if applicable):  RHEL 8 Beta, snapshot 3


Expected results:
Ability to create PowerPC and s390x images with Composer


Additional info:
Customer request

Comment 1 Brian Lane 2019-02-08 00:19:02 UTC
Can you be more specific? Have you run lorax-composer on these arches? What errors did you encounter?

Please attach logs from /var/log/lorax-composer/ and from anaconda, either in /tmp/*log if there was a crash or from /var/lib/lorax/composer/UUID/logs/anaconda/*log

Note that to create images for other arches you must be running lorax-composer on that arch, there is no cross-arch build support.

Comment 8 Brian Lane 2019-02-14 01:07:19 UTC
Updated the PR here -
https://github.com/weldr/lorax/pull/603

All image types except for live-iso are working for me on ppc64le with these patches. I'll look at s390 and aarch64 tomorrow.

Comment 9 Brian Lane 2019-02-14 21:29:37 UTC
aarch64 also works with just the reqpart PR added. s390 also needs an anaconda patch to fix tar (it is prompting for ssh login when doing --dirinstall). I filed bug #1677417 for anaconda

Comment 10 Brian Lane 2019-02-19 17:30:07 UTC
PR has been updated also support live-iso creation on multiple arches. It is currently against master and needs to be backported to rhel8-branch

Comment 11 Brian Lane 2019-02-20 23:57:52 UTC
PR for rhel8-branch - https://github.com/weldr/lorax/pull/616

Comment 12 Alexander Todorov 2019-02-21 13:07:10 UTC
(In reply to Brian Lane from comment #11)
> PR for rhel8-branch - https://github.com/weldr/lorax/pull/616

I still get a traceback for live-iso, see PR comments for more details.

Comment 19 Brian Lane 2019-05-13 19:15:51 UTC
*** Bug 1676653 has been marked as a duplicate of this bug. ***

Comment 20 Brian Lane 2019-05-13 19:16:06 UTC
*** Bug 1676516 has been marked as a duplicate of this bug. ***

Comment 39 errata-xmlrpc 2020-04-28 15:37:31 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-2020:1597