Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rook build failure due invalid version dependency on libopenstorage/secrets #50

Open
thotz opened this issue Feb 1, 2021 · 9 comments
Assignees

Comments

@thotz
Copy link

thotz commented Feb 1, 2021

Rook added dependency of go 1.15, so I upgraded the my fedora VM from 32 to 33. Now rook is failing with below error

go get: github.com/libopenstorage/[email protected] updating to
	github.com/libopenstorage/[email protected] requires
	github.com/portworx/[email protected] requires
	github.com/kubernetes-incubator/[email protected]: invalid version: unknown revision 000000000000
@adityadani
Copy link
Collaborator

adityadani commented Feb 9, 2021

The portworx/sched-ops repo is still referring to this incorrect version of kubernetes-incubator/external-storage. This version dependency needs to be fixed in sched-ops.

@adityadani adityadani self-assigned this Feb 9, 2021
@thotz
Copy link
Author

thotz commented Feb 10, 2021

@adityadani I have added replace github.com/kubernetes-incubator/external-storage => github.com/kubernetes-incubator/external-storage v5.5.0+incompatible, in go.mod of rook project to tweak this issue but didn't feel right to do that in rook

@zhucan
Copy link

zhucan commented Apr 20, 2022

Any progress? @adityadani @thotz

@zhucan
Copy link

zhucan commented Apr 21, 2022

module xxxx.ai/smd
replace (
github.com/googleapis/gnostic => github.com/googleapis/gnostic v0.4.1
github.com/kubernetes-incubator/external-storage => github.com/libopenstorage/external-storage v0.20.4-openstorage-rc3
github.com/portworx/sched-ops => github.com/portworx/sched-ops v0.20.4-openstorage-rc3
)

exclude (
github.com/kubernetes-incubator/external-storage v0.20.4-openstorage-rc2
k8s.io/client-go v1.4.0
k8s.io/client-go v1.5.0
k8s.io/client-go v1.5.1
k8s.io/client-go v1.5.2
k8s.io/client-go v10.0.0+incompatible
k8s.io/client-go v11.0.0+incompatible
k8s.io/client-go v11.0.1-0.20190409021438-1a26190bd76a+incompatible
k8s.io/client-go v12.0.0+incompatible
k8s.io/client-go v2.0.0+incompatible
k8s.io/client-go v2.0.0-alpha.1+incompatible
k8s.io/client-go v3.0.0+incompatible
k8s.io/client-go v3.0.0-beta.0+incompatible
k8s.io/client-go v4.0.0+incompatible
k8s.io/client-go v4.0.0-beta.0+incompatible
k8s.io/client-go v5.0.0+incompatible
k8s.io/client-go v5.0.1+incompatible
k8s.io/client-go v6.0.0+incompatible
k8s.io/client-go v7.0.0+incompatible
k8s.io/client-go v8.0.0+incompatible
k8s.io/client-go v9.0.0+incompatible
k8s.io/client-go v9.0.0-invalid+incompatible
)

@zhucan
Copy link

zhucan commented Apr 21, 2022

@adityadani @thotz It's ok.

@tasszz2k
Copy link

tasszz2k commented Dec 1, 2023

does any solution fix this issue?

@zhucan
Copy link

zhucan commented Dec 1, 2023

@tasszz2k update go.mod like this:

module xxxx.ai/smd
replace (
github.com/googleapis/gnostic => github.com/googleapis/gnostic v0.4.1
github.com/kubernetes-incubator/external-storage => github.com/libopenstorage/external-storage v0.20.4-openstorage-rc3
github.com/portworx/sched-ops => github.com/portworx/sched-ops v0.20.4-openstorage-rc3
)

exclude (
github.com/kubernetes-incubator/external-storage v0.20.4-openstorage-rc2
k8s.io/client-go v1.4.0
k8s.io/client-go v1.5.0
k8s.io/client-go v1.5.1
k8s.io/client-go v1.5.2
k8s.io/client-go v10.0.0+incompatible
k8s.io/client-go v11.0.0+incompatible
k8s.io/client-go v11.0.1-0.20190409021438-1a26190bd76a+incompatible
k8s.io/client-go v12.0.0+incompatible
k8s.io/client-go v2.0.0+incompatible
k8s.io/client-go v2.0.0-alpha.1+incompatible
k8s.io/client-go v3.0.0+incompatible
k8s.io/client-go v3.0.0-beta.0+incompatible
k8s.io/client-go v4.0.0+incompatible
k8s.io/client-go v4.0.0-beta.0+incompatible
k8s.io/client-go v5.0.0+incompatible
k8s.io/client-go v5.0.1+incompatible
k8s.io/client-go v6.0.0+incompatible
k8s.io/client-go v7.0.0+incompatible
k8s.io/client-go v8.0.0+incompatible
k8s.io/client-go v9.0.0+incompatible
k8s.io/client-go v9.0.0-invalid+incompatible
)

@tasszz2k
Copy link

tasszz2k commented Dec 1, 2023

I updated go.mod like this, so I got another error:

go: finding module for package sigs.k8s.io/controller-runtime/pkg/envtest/printer
resource-controller/pkg/client imports
        github.com/bitpoke/mysql-operator/pkg/apis/mysql/v1alpha1 tested by
        github.com/bitpoke/mysql-operator/pkg/apis/mysql/v1alpha1.test imports
        sigs.k8s.io/controller-runtime/pkg/envtest/printer: module sigs.k8s.io/controller-runtime@latest found (v0.16.3), but does not contain package sigs.k8s.io/controller-runtime/pkg/envtest/printer

@zhucan

@zhucan
Copy link

zhucan commented Dec 4, 2023

please show me the details information of the go.mod.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants