Bug 1805175 - NFD operator not building on golang-1.12
Summary: NFD operator not building on golang-1.12
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Node Feature Discovery Operator
Version: 4.3.z
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 4.3.z
Assignee: Zvonko Kosic
QA Contact: Walid A.
URL:
Whiteboard:
Depends On:
Blocks: 1813456 1814403
TreeView+ depends on / blocked
 
Reported: 2020-02-20 12:38 UTC by Carlos Eduardo Arango Gutierrez
Modified: 2020-04-28 13:57 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1813455 1814403 (view as bug list)
Environment:
Last Closed: 2020-03-10 23:53:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-nfd-operator pull 66 0 None closed [release-4.3] Bug 1805175: add GO111MODULE=on 2020-04-24 19:23:42 UTC
Red Hat Product Errata RHBA-2020:0676 0 None None None 2020-03-10 23:54:11 UTC

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


Note You need to log in before you can comment on or make changes to this bug.