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

Unable to load cached images: loading cached images: stat error while executing "minikube start --driver=docker" command #17134

Closed
deviprasaddas opened this issue Aug 25, 2023 · 3 comments
Labels
triage/needs-information Indicates an issue needs more information in order to work on it.

Comments

@deviprasaddas
Copy link

What Happened?

$ minikube start --driver=docker

πŸ˜„ minikube v1.31.2 on Ubuntu 22.04 (vbox/amd64)

✨ Using the docker driver based on existing profile

πŸ‘ Starting control plane node minikube in cluster minikube

🚜 Pulling base image ...

πŸƒ Updating the running docker "minikube" container ...

🐳 Preparing Kubernetes v1.27.4 on Docker 24.0.4 ...

❌ Unable to load cached images: loading cached images: stat /home/devi/.minikube/cache/images/amd64/registry.k8s.io/kube-apiserver_v1.27.4: no such file or directory

❌ Exiting due to K8S_INSTALL_FAILED: Failed to update cluster: updating control plane: downloading binaries: downloading kubeadm: download failed: https://dl.k8s.io/release/v1.27.4/bin/linux/amd64/kubeadm?checksum=file:https://dl.k8s.io/release/v1.27.4/bin/linux/amd64/kubeadm.sha256: getter: &{Ctx:context.Background Src:https://dl.k8s.io/release/v1.27.4/bin/linux/amd64/kubeadm?checksum=file:https://dl.k8s.io/release/v1.27.4/bin/linux/amd64/kubeadm.sha256 Dst:/home/devi/.minikube/cache/linux/amd64/v1.27.4/kubeadm.download Pwd: Mode:2 Umask:---------- Detectors:[0x3f9c8a8 0x3f9c8a8 0x3f9c8a8 0x3f9c8a8 0x3f9c8a8 0x3f9c8a8 0x3f9c8a8] Decompressors:map[bz2:0xc0000549a8 gz:0xc000054a00 tar:0xc0000549b0 tar.bz2:0xc0000549c0 tar.gz:0xc0000549d0 tar.xz:0xc0000549e0 tar.zst:0xc0000549f0 tbz2:0xc0000549c0 tgz:0xc0000549d0 txz:0xc0000549e0 tzst:0xc0000549f0 xz:0xc000054a08 zip:0xc000054a10 zst:0xc000054a20] Getters:map[file:0xc000c5de00 http:0xc000c39130 https:0xc000c39180] Dir:false ProgressListener:0x3f579a0 Insecure:false DisableSymlinks:false Options:[0x12d0880]}: invalid checksum: Error downloading checksum file: Get "https://cdn.dl.k8s.io/release/v1.27.4/bin/linux/amd64/kubeadm.sha256": tls: failed to verify certificate: x509: certificate signed by unknown authority

Attach the log file

log.txt file could not get generated below is the error message for reference:

$ minikube logs --file=log.txt

E0825 09:09:03.821418 13245 logs.go:195] command /bin/bash -c "sudo /var/lib/minikube/binaries/v1.27.4/kubectl describe nodes --kubeconfig=/var/lib/minikube/kubeconfig" failed with error: /bin/bash -c "sudo /var/lib/minikube/binaries/v1.27.4/kubectl describe nodes --kubeconfig=/var/lib/minikube/kubeconfig": Process exited with status 1

stdout:

stderr:

sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper

sudo: a password is required

output: "\n** stderr ** \nsudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper\nsudo: a password is required\n\n** /stderr **"

❗ unable to fetch logs for: describe nodes

Operating System

Ubuntu

Driver

Docker

@rmsilva1973
Copy link
Contributor

If you run "wget https://cdn.dl.k8s.io/release/v1.27.4/bin/linux/amd64/kubeadm.sha256" from your Ubuntu prompt what happens? Are you able to download the kubeadm.sha256 file?

@rmsilva1973
Copy link
Contributor

/triage needs-information

@k8s-ci-robot k8s-ci-robot added the triage/needs-information Indicates an issue needs more information in order to work on it. label Aug 31, 2023
@spowelljr
Copy link
Member

Hi @deviprasaddas, we haven't heard back from you, do you still have this issue?
There isn't enough information in this issue to make it actionable, and a long enough duration has passed, so this issue is likely difficult to replicate.

I will close this issue for now but feel free to reopen when you feel ready to provide more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage/needs-information Indicates an issue needs more information in order to work on it.
Projects
None yet
Development

No branches or pull requests

4 participants