nfs
nfs copied to clipboard
Build Failure with go.mod
Is this a bug report or feature request?
- Bug Report
Deviation from expected behavior:
make -j4
produces an error message on go mod command
=== ensuring modules are tidied
go: github.com/rook/[email protected] requires
github.com/libopenstorage/[email protected] requires
github.com/hashicorp/[email protected] requires
github.com/hashicorp/[email protected] requires
github.com/hashicorp/vault/[email protected]: invalid version: unknown revision c478d00be0d6
go: downloading github.com/csi-addons/volume-replication-operator v0.1.1-0.20210525040814-ab575a2879fb
go: downloading github.com/k8snetworkplumbingwg/network-attachment-definition-client v1.1.0
go: downloading github.com/spf13/cobra v1.1.1
go: downloading github.com/tevino/abool v1.2.0
go: downloading k8s.io/api v0.22.0
go: downloading k8s.io/apiextensions-apiserver v0.21.1
go: downloading k8s.io/apimachinery v0.22.0
go: downloading k8s.io/client-go v0.22.0
go: downloading sigs.k8s.io/controller-runtime v0.9.0
go: downloading github.com/rook/rook v1.7.2
go: downloading k8s.io/component-helpers v0.21.1
go: downloading k8s.io/utils v0.0.0-20210707171843-4b05e18ac7d9
go: downloading sigs.k8s.io/sig-storage-lib-external-provisioner/v6 v6.1.0
go: downloading github.com/google/uuid v1.1.2
go: downloading github.com/banzaicloud/k8s-objectmatcher v1.1.0
go: downloading github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring v0.50.0
go: downloading github.com/prometheus-operator/prometheus-operator/pkg/client v0.50.0
go: downloading k8s.io/cloud-provider v0.21.1
go: github.com/rook/[email protected] requires
github.com/libopenstorage/[email protected] requires
github.com/hashicorp/[email protected] requires
github.com/hashicorp/[email protected] requires
github.com/hashicorp/vault/[email protected]: invalid version: unknown revision c478d00be0d6
make: *** [go.mod.check] Error 1
I managed to bypass by adding a replace as
github.com/hashicorp/vault/sdk => github.com/hashicorp/vault/sdk master
But I would assume it's not a proper fix.
Expected behavior: build successful How to reproduce it (minimal and precise):
run make -j4
with current code from master branch
File(s) to submit:
- Cluster CR (custom resource), typically called
cluster.yaml
, if necessary - Operator's logs, if necessary
- Crashing pod(s) logs, if necessary
To get logs, use kubectl -n <namespace> logs <pod name>
When pasting logs, always surround them with backticks or use the insert code
button from the Github UI.
Read Github documentation if you need help.
Environment:
- OS (e.g. from /etc/os-release): MacOS, golang ver 1.17
- Kernel (e.g.
uname -a
): - Cloud provider or hardware configuration:
- Rook version (use
rook version
inside of a Rook Pod): - Storage backend version (e.g. for ceph do
ceph -v
): - Kubernetes version (use
kubectl version
): - Kubernetes cluster type (e.g. Tectonic, GKE, OpenShift):