Bug 2034884
| Summary: | ART cannot build the image because it tries to download controller-gen | ||||||
|---|---|---|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Quentin Barrand <quba> | ||||
| Component: | Special Resource Operator | Assignee: | Quentin Barrand <quba> | ||||
| Status: | CLOSED ERRATA | QA Contact: | liqcui | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 4.10 | CC: | aos-bugs | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 4.10.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2022-03-12 04:39:45 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: | |||||||
| Attachments: |
|
||||||
@dpaolell triggered a build against https://github.com/openshift/special-resource-operator/pull/87, which was successful: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=42050126 Verified Results:
[ocpadmin@ec2-18-217-45-133 special-resource-operator]$ head tools.go
//go:build tools
// +build tools
package main
import (
_ "sigs.k8s.io/controller-tools/cmd/controller-gen"
)
// This file imports packages that are used when running go generate, or used
[ocpadmin@ec2-18-217-45-133 special-resource-operator]$ make manager
cp .patches/options.patch.go vendor/github.com/google/go-containerregistry/pkg/crane/.
cp .patches/action.patch.go vendor/helm.sh/helm/v3/pkg/action/.
cp .patches/install.patch.go vendor/helm.sh/helm/v3/pkg/action/.
go run sigs.k8s.io/controller-tools/cmd/controller-gen object:headerFile="hack/boilerplate.go.txt" paths="./..."
go build -o manager main.go
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 (Moderate: OpenShift Container Platform 4.10.3 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:0056 |
Created attachment 1847338 [details] Email from ART build system Description of problem: ART automated builds are failing because `make manager` tries to download controller-gen. Email is attached to this BZ.