Bug 2094902

Summary: Fix installer cross-compiling
Product: OpenShift Container Platform Reporter: Yaakov Selkowitz <yselkowi>
Component: InstallerAssignee: Nobody <nobody>
Installer sub component: openshift-installer QA Contact: Gaoyun Pei <gpei>
Status: CLOSED ERRATA Docs Contact:
Severity: low    
Priority: low    
Version: 4.11   
Target Milestone: ---   
Target Release: 4.11.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-10 11:17:00 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:

Description Yaakov Selkowitz 2022-06-08 15:16:10 UTC
Two hazards exist when cross-compiling openshift/installer:

* go generate always needs to be run natively, even when cross-compiling.  Handling that in build.sh simplifies cross-compiling both manually and in installer-artifacts.

* Currently, the wrong binaries from a previous build are being included in
the installer binary when (cross-)compiling locally for multiple targets
in sequence.

Comment 3 Gaoyun Pei 2022-06-14 12:16:14 UTC
This is about installer build improvement. No regression issue found on registry.ci.openshift.org/ocp/release:4.11.0-0.nightly-2022-06-11-054027, mark this as VERIFIED.

Comment 6 errata-xmlrpc 2022-08-10 11:17:00 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 (Important: OpenShift Container Platform 4.11.0 bug fix and security update), 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/RHSA-2022:5069