Bug 1986474 - vsphere-syncer build is failing
Summary: vsphere-syncer build is failing
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Storage
Version: 4.9
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.9.0
Assignee: Fabio Bertinatto
QA Contact: Wei Duan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-27 16:26 UTC by Fabio Bertinatto
Modified: 2021-10-18 17:42 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-18 17:42:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift vmware-vsphere-csi-driver pull 17 0 None open Bug 1986474: Fix vsphere-syncer build 2021-07-27 16:27:28 UTC
Red Hat Product Errata RHSA-2021:3759 0 None None None 2021-10-18 17:42:37 UTC

Description Fabio Bertinatto 2021-07-27 16:26:28 UTC
Error:

imagebuilder build has begun; waiting for it to finish
['imagebuilder', '-t', 'ocp-build/buildvm.openshift.eng.bos.redhat.com/vmware-vsphere-syncer:rhaos-4.9-rhel-8-containers-candidate-27050-20210727143646-x86_64', '/tmp/tmpbfj5esqp/vmware-vsphere-syncer']
--> FROM sha256:4a7d9cfcb3dabcb0fc4f9c92d22685f4260165d94f02563a41d2f91e8983fd70 as builder
--> RUN mv -f /etc/yum.repos.d/ubi.repo /tmp || :
--> ADD tls-ca-bundle.pem /tmp/tls-ca-bundle.pem
--> ADD atomic-reactor-repos/* /etc/yum.repos.d/
--> ENV __doozer=update BUILD_RELEASE=202107271357.p0.git.987308b.assembly.stream BUILD_VERSION=v4.9.0 OS_GIT_MAJOR=4 OS_GIT_MINOR=9 OS_GIT_PATCH=0 OS_GIT_TREE_STATE=clean OS_GIT_VERSION=4.9.0-202107271357.p0.git.987308b.assembly.stream SOURCE_GIT_TREE_STATE=clean
--> ENV __doozer=merge KUBE_GIT_COMMIT=987308b08c9a1131240542a21a0a6dc840c65a0c KUBE_GIT_MAJOR=1 KUBE_GIT_MINOR=21+ KUBE_GIT_TREE_STATE=clean KUBE_GIT_VERSION=v1.21.1+987308b OS_GIT_COMMIT=987308b OS_GIT_VERSION=4.9.0-202107271357.p0.git.987308b.assembly.stream-987308b SOURCE_DATE_EPOCH=1627063128 SOURCE_GIT_COMMIT=987308b08c9a1131240542a21a0a6dc840c65a0c SOURCE_GIT_TAG=v2.1.0-rc.1-490-g987308b0 SOURCE_GIT_URL=https://github.com/openshift/vmware-vsphere-csi-driver
--> WORKDIR /go/src/github.com/kubernetes-sigs/vsphere-csi-driver
--> COPY . .
--> RUN make build # TODO: build only driver
which: no controller-gen in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin)
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -mod=vendor -ldflags '-extldflags "-static" -w -s -X "sigs.k8s.io/vsphere-csi-driver/pkg/csi/service.Version=1.16"' -o /go/src/github.com/kubernetes-sigs/vsphere-csi-driver/.build/bin/vsphere-csi.linux_amd64 cmd/vsphere-csi/main.go
go: creating new go.mod: module tmp
go get: sigs.k8s.io/controller-tools/cmd/controller-gen.5: Get "https://proxy.golang.org/sigs.k8s.io/controller-tools/cmd/controller-gen/@v/v0.2.5.info": dial tcp 173.194.219.141:443: connect: connection refused
make: *** [Makefile:128: controller-gen] Error 1
running 'make build # TODO: build only driver' failed with exit code 2
2021-07-27 14:38:35,380 - atomic_reactor.plugin - ERROR - Build step plugin imagebuilder failed: image build failed (rc=1): running 'make build # TODO: build only driver' failed with exit code 2

Comment 2 Wei Duan 2021-08-02 08:17:55 UTC
When installing a 4.9.0-0.nightly-2021-08-01-132055 cluster with vSphere CSI Driver, I see the vsphere-syncer image used:

             name=openshift/ose-vsphere-csi-driver-syncer
             release=202107292001.p0.git.4ece3d1.assembly.stream
             summary=Provides the latest release of Red Hat Universal Base Image 8.
             url=https://access.redhat.com/containers/#/registry.access.redhat.com/openshift/ose-vsphere-csi-driver-syncer/images/v4.9.0-202107292001.p0.git.4ece3d1.assembly.stream


@Fabio, could you help confirm if I can change the status to "Verified"? Thanks.

Comment 3 Fabio Bertinatto 2021-08-06 11:30:49 UTC
Hi @Wei,
Thanks for checking this bug, I think you can mark it as Verified.
The last commit was merged on July 27 [1], so I believe this is correct.Also, I haven't received other emails stating that the build was failing.

[1] https://github.com/openshift/vmware-vsphere-csi-driver/commit/4ece3d1b07cc0e25abe028c7190ae9ad70cb87ee

Comment 6 errata-xmlrpc 2021-10-18 17:42:20 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 (Moderate: OpenShift Container Platform 4.9.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-2021:3759


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