Open thotz opened 3 years ago
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 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
Any progress? @adityadani @thotz
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 )
@adityadani @thotz It's ok.
does any solution fix this issue?
@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
)
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
please show me the details information of the go.mod.
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