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

Build Failure with go.mod #39

Open
hehesky opened this issue Jan 24, 2022 · 0 comments
Open

Build Failure with go.mod #39

hehesky opened this issue Jan 24, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@hehesky
Copy link

hehesky commented Jan 24, 2022

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):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant