Bug 1805175

Summary: NFD operator not building on golang-1.12
Product: OpenShift Container Platform Reporter: Carlos Eduardo Arango Gutierrez <carangog>
Component: Node Feature Discovery OperatorAssignee: Zvonko Kosic <zkosic>
Status: CLOSED ERRATA QA Contact: Walid A. <wabouham>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.3.zCC: sejug, talessio
Target Milestone: ---   
Target Release: 4.3.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1813455 1814403 (view as bug list) Environment:
Last Closed: 2020-03-10 23:53:54 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: 1813456, 1814403    

Description Carlos Eduardo Arango Gutierrez 2020-02-20 12:38:16 UTC
Description of problem:


ART build is failing due Go version

https://github.com/openshift/cluster-nfd-operator/blob/master/Dockerfile has Go 1.13 But you cannot control what version of go you build with. That is controlled by ART. OCP 4.3 is building with 1.12 right now.

So we need to patch this against 4.3.z to enable builds on ART

o work around the issue, we are modifying the Dockerfile before the build and setting GO111MODULE=on.

Comment 7 errata-xmlrpc 2020-03-10 23:53:54 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:0676