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

[krew] Installation of release v0.4.4 fails with DNS lookup issue #860

Open
dfgrosso opened this issue Sep 2, 2024 · 2 comments
Open

[krew] Installation of release v0.4.4 fails with DNS lookup issue #860

dfgrosso opened this issue Sep 2, 2024 · 2 comments
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

Comments

@dfgrosso
Copy link

dfgrosso commented Sep 2, 2024

I'm getting the error below while running the command .\krew install krew on a Windows command prompt:

Updated the local copy of plugin index. Installing plugin: krew W0902 12:18:56.272683 17532 install.go:164] failed to install plugin "krew": install failed: failed to unpack into staging dir: failed to unpack the plugin archive: failed to obtain plugin archive: failed to download "https://github.com/kubernetes-sigs/krew/releases/download/v0.4.4/krew-windows_amd64.tar.gz": Get "https://objects.githubusercontent.com/github-production-release-asset-2e65be/140747457/d88da622-a593-45e6-892f-acd66b83a6fc?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20240902%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240902T111856Z&X-Amz-Expires=300&X-Amz-Signature=ce723e2c02002d5b5198663b7ea1eb46ed6eb1d2c1f622590e7ec80797d25791&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=140747457&response-content-disposition=attachment%3B%20filename%3Dkrew-windows_amd64.tar.gz&response-content-type=application%2Foctet-stream": dial tcp: lookup objects.githubusercontent.com on 192.168.1.254:53: no such host failed to install some plugins: [krew]: install failed: failed to unpack into staging dir: failed to unpack the plugin archive: failed to obtain plugin archive: failed to download "https://github.com/kubernetes-sigs/krew/releases/download/v0.4.4/krew-windows_amd64.tar.gz": Get "https://objects.githubusercontent.com/github-production-release-asset-2e65be/140747457/d88da622-a593-45e6-892f-acd66b83a6fc?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20240902%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240902T111856Z&X-Amz-Expires=300&X-Amz-Signature=ce723e2c02002d5b5198663b7ea1eb46ed6eb1d2c1f622590e7ec80797d25791&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=140747457&response-content-disposition=attachment%3B%20filename%3Dkrew-windows_amd64.tar.gz&response-content-type=application%2Foctet-stream": dial tcp: lookup objects.githubusercontent.com on 192.168.1.254:53: no such host

I can install the previous version successfully.

@dfgrosso
Copy link
Author

dfgrosso commented Sep 2, 2024

Nevermind. It seems like my ISP's connection had a manually set DNS server (8.8.8.8) and the install script (git client maybe) is assuming the DNS server is available at the default gw IP. Setting the DNS server for DHCP in my WAN connection solved the issue.

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
None yet
Development

No branches or pull requests

3 participants