golang / dep

Go dependency management tool experiment (deprecated)
https://golang.github.io/dep/
BSD 3-Clause "New" or "Revised" License
12.85k stars 1.05k forks source link

Unable to read metadata of "k8s.io/apimachinery" #2208

Closed ahrtr closed 4 years ago

ahrtr commented 5 years ago

What version of dep are you using (dep version)?

$ dep version dep: version : v0.5.4 build date : 2019-07-01 git hash : 1f7c19e go version : go1.12.6 go compiler : gc platform : linux/amd64 features : ImportDuringSolve=false

What dep command did you run?

I upgraded the version of one of the vendor projects, then executed the following command,

$dep ensure -update github.com/dmacvicar/terraform-provider-libvirt

What did you expect to see?

I expected to see the Gopkg.lock and the vendor directory should be updated successfully.

What did you see instead?

$ dep ensure -update github.com/dmacvicar/terraform-provider-libvirt
Solving failure: No versions of github.com/kubernetes-sigs/aws-iam-authenticator met constraints:
    0.4.0-alpha: unable to deduce repository and source type for "k8s.io/apimachinery": unable to read metadata: unable to fetch raw metadata: failed HTTP request to URL "http://k8s.io/apimachinery?go-get=1": Get http://k8s.io/apimachinery?go-get=1: dial tcp 35.201.71.162:80: i/o timeout
    v0.4.0: Could not introduce github.com/kubernetes-sigs/aws-iam-authenticator@v0.4.0, as it is not allowed by constraint 0.4.0-alpha from project github.com/terraform-providers/terraform-provider-aws.
    v0.3.0: Could not introduce github.com/kubernetes-sigs/aws-iam-authenticator@v0.3.0, as it is not allowed by constraint 0.4.0-alpha from project github.com/terraform-providers/terraform-provider-aws.
    v0.1.0: Could not introduce github.com/kubernetes-sigs/aws-iam-authenticator@v0.1.0, as it is not allowed by constraint 0.4.0-alpha from project github.com/terraform-providers/terraform-provider-aws.
    0.4.0-alpha.3: Could not introduce github.com/kubernetes-sigs/aws-iam-authenticator@0.4.0-alpha.3, as it is not allowed by constraint 0.4.0-alpha from project github.com/terraform-providers/terraform-provider-aws.
    0.4.0-alpha.1: Could not introduce github.com/kubernetes-sigs/aws-iam-authenticator@0.4.0-alpha.1, as it is not allowed by constraint 0.4.0-alpha from project github.com/terraform-providers/terraform-provider-aws.
    v0.2.0-pre: Could not introduce github.com/kubernetes-sigs/aws-iam-authenticator@v0.2.0-pre, as it is not allowed by constraint 0.4.0-alpha from project github.com/terraform-providers/terraform-provider-aws.
    master: Could not introduce github.com/kubernetes-sigs/aws-iam-authenticator@master, as it is not allowed by constraint 0.4.0-alpha from project github.com/terraform-providers/terraform-provider-aws.
    remove-deprecated: Could not introduce github.com/kubernetes-sigs/aws-iam-authenticator@remove-deprecated, as it is not allowed by constraint 0.4.0-alpha from project github.com/terraform-providers/terraform-provider-aws.
ahrtr commented 4 years ago

It turned out to be a network issue, so close this issue.