Bug 1885585 - CSV cannot be generated because of missing dependencies
Summary: CSV cannot be generated because of missing dependencies
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Container Storage
Classification: Red Hat Storage
Component: ocs-operator
Version: 4.5
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: OCS Release Candidate
: OCS 4.5.1
Assignee: Jose A. Rivera
QA Contact: Raz Tamir
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-06 12:48 UTC by Boris Ranto
Modified: 2021-06-01 08:51 UTC (History)
7 users (show)

Fixed In Version: 4.5.1-115.ci
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-21 09:26:23 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift ocs-operator pull 808 0 None closed Bug 1885585: Update noobaa and dependencies 2020-10-20 15:03:17 UTC
Red Hat Product Errata RHBA-2020:4302 0 None None None 2020-10-21 09:26:29 UTC

Description Boris Ranto 2020-10-06 12:48:52 UTC
Description of problem (please be detailed as possible and provide log
snippests):
We have had a couple of failed builds for OCS 4.5 recently:
https://storage-jenkins-csb-ceph.cloud.paas.psi.redhat.com/job/ocs-bundle-operator-container/114/consoleFull
It looks like some of the deps are no longer available.


Version of all relevant components (if applicable):
OCS 4.5

Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?


Is there any workaround available to the best of your knowledge?


Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?


Can this issue reproducible?
Always

Can this issue reproduce from the UI?


If this is a regression, please provide more details to justify this:


Steps to Reproduce:
1. Try to generate release CSV (make sure you don't have the dependencies cached by changing GOPATH and/or running git clean -fxd)
2. make gen-release-csv
3.


Actual results:
The command fails because of missing deps

Expected results:
The command works as expected

Additional info:
$ make gen-release-csv
Ensuring operator-sdk
hack/ensure-operator-sdk.sh
Using operator-sdk cached at build/_output/tools/operator-sdk-v0.17.0-x86_64-linux-gnu
Generating unified CSV from sourced component-level operators
hack/generate-unified-csv.sh
go: github.com/noobaa/noobaa-operator/v2.1 requires
	github.com/operator-framework/operator-lifecycle-manager.0-20190605231540-b8a4faf68e36 requires
	github.com/operator-framework/operator-registry.1 requires
	bitbucket.org/ww/goautoneg.0-20120707110453-75cd24fc2f2c: reading https://proxy.golang.org/bitbucket.org/ww/goautoneg/@v/v0.0.0-20120707110453-75cd24fc2f2c.mod: 410 Gone
make: *** [Makefile:94: gen-release-csv] Error 1

Comment 3 Boris Ranto 2020-10-06 14:07:37 UTC
We reference an old noobaa-operator dependency in release-4.5 branch of ocs-operator.

This was updated in OCS 4.6 by this commit:

https://github.com/openshift/ocs-operator/commit/78fd01ad7cb812f25c0d8786afa126c8ae72a5b3

so we probably want to back-port it to release-4.5 branch to fix this.

Comment 12 errata-xmlrpc 2020-10-21 09:26:23 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 (OCS 4.5.1 Container Image bug fix 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/RHBA-2020:4302


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