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

linux 下安装minikube start时报错downloading kubeadm: download failed #15929

Closed
lisongzhan opened this issue Feb 26, 2023 · 5 comments
Closed
Labels
l/zh-CN Issues in or relating to Chinese lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.

Comments

@lisongzhan
Copy link

lisongzhan commented Feb 26, 2023

重现问题所需的命令
minikube start --registry-mirror=https://registry.docker-cn.com/ --kubernetes-version=1.18.8
失败的命令的完整输出

[minikube@hecs-104288 ~]$ minikube start --registry-mirror=https://registry.docker-cn.com --kubernetes-version=1.18.8
😄 Centos 8.5.2111 (amd64) 上的 minikube v1.18.1
🆕 Kubernetes 1.20.2 is now available. If you would like to upgrade, specify: --kubernetes-version=v1.20.2
✨ 根据现有的配置文件使用 docker 驱动程序
👍 Starting control plane node minikube in cluster minikube
🏃 Updating the running docker "minikube" container ...
🐳 正在 Docker 20.10.3 中准备 Kubernetes v1.18.8…

❌ Exiting due to K8S_INSTALL_FAILED: updating control plane: downloading binaries: downloading kubeadm: download failed: https://kubernetes.oss-cn-hangzhou.aliyuncs.com/kubernetes-release/release/v1.18.8/bin/linux/amd64/kubeadm?checksum=file:https://kubernetes.oss-cn-hangzhou.aliyuncs.com/kubernetes-release/release/v1.18.8/bin/linux/amd64/kubeadm.sha256: getter: &{Ctx:context.Background Src:https://kubernetes.oss-cn-hangzhou.aliyuncs.com/kubernetes-release/release/v1.18.8/bin/linux/amd64/kubeadm?checksum=file:https://kubernetes.oss-cn-hangzhou.aliyuncs.com/kubernetes-release/release/v1.18.8/bin/linux/amd64/kubeadm.sha256 Dst:/home/minikube/.minikube/cache/linux/v1.18.8/kubeadm.download Pwd: Mode:2 Umask:---------- Detectors:[0x2db2d58 0x2db2d58 0x2db2d58 0x2db2d58 0x2db2d58 0x2db2d58 0x2db2d58] Decompressors:map[bz2:0x2db2d58 gz:0x2db2d58 tar.bz2:0x2db2d58 tar.gz:0x2db2d58 tar.xz:0x2db2d58 tbz2:0x2db2d58 tgz:0x2db2d58 txz:0x2db2d58 xz:0x2db2d58 zip:0x2db2d58] Getters:map[file:0xc000cf0a10 http:0xc000c1c760 https:0xc000c1c780] Dir:false ProgressListener:0x2d78370 Options:[0xfdf780]}: invalid checksum: Error downloading checksum file: bad response code: 404

minikube logs命令的输出


W0226 23:16:45.713261 1727026 out.go:191] ❌ Exiting due to K8S_INSTALL_FAILED: updating control plane: downloading binaries: downloading kubeadm: download failed: https://kubernetes.oss-cn-hangzhou.aliyuncs.com/kubernetes-release/release/v1.18.8/bin/linux/amd64/kubeadm?checksum=file:https://kubernetes.oss-cn-hangzhou.aliyuncs.com/kubernetes-release/release/v1.18.8/bin/linux/amd64/kubeadm.sha256: getter: &{Ctx:context.Background Src:https://kubernetes.oss-cn-hangzhou.aliyuncs.com/kubernetes-release/release/v1.18.8/bin/linux/amd64/kubeadm?checksum=file:https://kubernetes.oss-cn-hangzhou.aliyuncs.com/kubernetes-release/release/v1.18.8/bin/linux/amd64/kubeadm.sha256 Dst:/home/minikube/.minikube/cache/linux/v1.18.8/kubeadm.download Pwd: Mode:2 Umask:---------- Detectors:[0x2db2d58 0x2db2d58 0x2db2d58 0x2db2d58 0x2db2d58 0x2db2d58 0x2db2d58] Decompressors:map[bz2:0x2db2d58 gz:0x2db2d58 tar.bz2:0x2db2d58 tar.gz:0x2db2d58 tar.xz:0x2db2d58 tbz2:0x2db2d58 tgz:0x2db2d58 txz:0x2db2d58 xz:0x2db2d58 zip:0x2db2d58] Getters:map[file:0xc000cf0a10 http:0xc000c1c760 https:0xc000c1c780] Dir:false ProgressListener:0x2d78370 Options:[0xfdf780]}: invalid checksum: Error downloading checksum file: bad response code: 404
W0226 23:16:45.713305 1727026 out.go:191]
W0226 23:16:45.713339 1727026 out.go:191] 😿 If the above advice does not help, please let us know:
W0226 23:16:45.713365 1727026 out.go:191] 👉 https://github.com/kubernetes/minikube/issues/new/choose

使用的操作系统版本
Linux version 4.18.0-348.7.1.el8_5.x86_64 ([email protected]) (gcc version 8.5.0 20210514 (Red Hat 8.5.0-4) (GCC)) #1 SMP Wed Dec 22 13:25:12 UTC 2021

@lisongzhan lisongzhan added the l/zh-CN Issues in or relating to Chinese label Feb 26, 2023
@lisongzhan lisongzhan changed the title linux 下安装minikube start时报错 linux 下安装minikube start时报错downloading kubeadm: download failed Feb 26, 2023
@seanjoe
Copy link

seanjoe commented Mar 23, 2023

一样的错误,楼主解决了么

@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 Jun 21, 2023
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough active 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 rotten
  • Close this issue with /close
  • Offer to help out with Issue Triage

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

/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Jul 21, 2023
@k8s-triage-robot
Copy link

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

This bot triages 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:

  • Reopen this issue with /reopen
  • Mark this issue as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

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

/close not-planned

@k8s-ci-robot k8s-ci-robot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 20, 2024
@k8s-ci-robot
Copy link
Contributor

@k8s-triage-robot: Closing this issue, marking it as "Not Planned".

In response to this:

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

This bot triages 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:

  • Reopen this issue with /reopen
  • Mark this issue as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

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

/close not-planned

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
l/zh-CN Issues in or relating to Chinese lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Projects
None yet
Development

No branches or pull requests

4 participants