Unable to load cached images: loading cached images: stat error while executing "minikube start --driver=docker" command #17134
Labels
triage/needs-information
Indicates an issue needs more information in order to work on it.
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
The text was updated successfully, but these errors were encountered: