Open TBlindaruk opened 3 weeks ago
You can try to remove all traces of the existing Minikube configuration and start fresh using minikube delete --all
After deletion try to start minikube. Also try to restart docker as well
Try these command minikube start --driver=docker
/kind support
What Happened?
Ubuntu under renchar desctopdesktop. Failed to start
tetiana@DESKTOP-CKUQ2UJ:~/Projects/Ucu-DWH-Cources/1.DevOps/homework/3/kuber$ minikube start π minikube v1.34.0 on Ubuntu 22.04 (amd64) β¨ Using the docker driver based on existing profile π Starting "minikube" primary control-plane node in "minikube" cluster π Pulling base image v0.0.45 ... π Restarting existing docker container for "minikube" ... π€¦ StartHost failed, but will try again: driver start: start: docker start minikube: exit status 1
β Exiting due to GUEST_SSH_CERT_NOT_FOUND: Failed to start host: provision: Error getting config for native Go SSH: open /home/tetiana/.minikube/machines/minikube/id_rsa: no such file or directory π‘ Suggestion: minikube is missing files relating to your guest environment. This can be fixed by running 'minikube delete' πΏ Related issue: https://github.com/kubernetes/minikube/issues/9130
tetiana@DESKTOP-CKUQ2UJ:~/Projects/Ucu-DWH-Cources/1.DevOps/homework/3/kuber$ tetiana@DESKTOP-CKUQ2UJ:~/Projects/Ucu-DWH-Cources/1.DevOps/homework/3/kuber$ tetiana@DESKTOP-CKUQ2UJ:~/Projects/Ucu-DWH-Cources/1.DevOps/homework/3/kuber$ kubectl get po E1103 23:27:53.511305 48396 memcache.go:265] "Unhandled Error" err="couldn't get current server API group list: Get \"http://localhost:8080/api?timeout=32s\": dial tcp 127.0.0.1:8080: connect: connection refused" E1103 23:27:53.512864 48396 memcache.go:265] "Unhandled Error" err="couldn't get current server API group list: Get \"http://localhost:8080/api?timeout=32s\": dial tcp 127.0.0.1:8080: connect: connection refused" E1103 23:27:53.514262 48396 memcache.go:265] "Unhandled Error" err="couldn't get current server API group list: Get \"http://localhost:8080/api?timeout=32s\": dial tcp 127.0.0.1:8080: connect: connection refused" E1103 23:27:53.515722 48396 memcache.go:265] "Unhandled Error" err="couldn't get current server API group list: Get \"http://localhost:8080/api?timeout=32s\": dial tcp 127.0.0.1:8080: connect: connection refused" E1103 23:27:53.517128 48396 memcache.go:265] "Unhandled Error" err="couldn't get current server API group list: Get \"http://localhost:8080/api?timeout=32s\": dial tcp 127.0.0.1:8080: connect: connection refused" The connection to the server localhost:8080 was refused - did you specify the right host or port? tetiana@DESKTOP-CKUQ2UJ:~/Projects/Ucu-DWH-Cources/1.DevOps/homework/3/kuber$ tetiana@DESKTOP-CKUQ2UJ:~/Projects/Ucu-DWH-Cources/1.DevOps/homework/3/kuber$ minikube start π minikube v1.34.0 on Ubuntu 22.04 (amd64) β¨ Using the docker driver based on existing profile π Starting "minikube" primary control-plane node in "minikube" cluster π Pulling base image v0.0.45 ... π Updating the running docker "minikube" container ... π€¦ StartHost failed, but will try again: provision: Error getting config for native Go SSH: open /home/tetiana/.minikube/machines/minikube/id_rsa: no such file or directory π Updating the running docker "minikube" container ... πΏ Failed to start docker container. Running "minikube delete" may fix it: provision: Error getting config for native Go SSH: open /home/tetiana/.minikube/machines/minikube/id_rsa: no such file or directory
β Exiting due to GUEST_SSH_CERT_NOT_FOUND: Failed to start host: provision: Error getting config for native Go SSH: open /home/tetiana/.minikube/machines/minikube/id_rsa: no such file or directory π‘ Suggestion: minikube is missing files relating to your guest environment. This can be fixed by running 'minikube delete' πΏ Related issue: https://github.com/kubernetes/minikube/issues/9130
tetiana@DESKTOP-CKUQ2UJ:~/Projects/Ucu-DWH-Cources/1.DevOps/homework/3/kuber$ minikube delete --all π₯ Deleting "minikube" in docker ... π₯ Removing /home/tetiana/.minikube/machines/minikube ... π Removed all traces of the "minikube" cluster. π₯ Successfully deleted all profiles tetiana@DESKTOP-CKUQ2UJ:~/Projects/Ucu-DWH-Cources/1.DevOps/homework/3/kuber$ minikube start π minikube v1.34.0 on Ubuntu 22.04 (amd64) β¨ Automatically selected the docker driver π Using Docker driver with root privileges π Starting "minikube" primary control-plane node in "minikube" cluster π Pulling base image v0.0.45 ... π₯ Creating docker container (CPUs=2, Memory=2200MB) ... β Stopping node "minikube" ... π Powering off "minikube" via SSH ... π₯ Deleting "minikube" in docker ... π€¦ StartHost failed, but will try again: creating host: create: creating: create kic node: create container: docker run -d -t --privileged --security-opt seccomp=unconfined --tmpfs /tmp --tmpfs /run -v /lib/modules:/lib/modules :ro --hostname minikube --name minikube --label created_by.minikube.sigs.k8s.io=true --label name.minikube.sigs.k8s.io=minikube --label role.minikube.sigs.k8s.io= --label mode.minikube.sigs.k8s.io=minikube --network minikube --i p 192.168.49.2 --volume minikube:/var --security-opt apparmor=unconfined --memory=2200mb --cpus=2 -e container=docker --expose 8443 --publish=127.0.0.1::8443 --publish=127.0.0.1::22 --publish=127.0.0.1::2376 --publish=127.0.0.1::5000 --publish=127.0.0.1::32443 gcr.io/k8s-minikube/kicbase:v0.0.45@sha256:81df288595202a317b1a4dc2506ca2e4ed5f22373c19a441b88cfbf4b9867c85: exit status 125 stdout: 2aca2d62a308426ac4c2ae21901d98c777927ad49a20eb372ff09da1f992f4e5
stderr: docker: request returned Bad Gateway for API route and version http://%2Fvar%2Frun%2Fdocker.sock/v1.45/containers/2aca2d62a308426ac4c2ae21901d98c777927ad49a20eb372ff09da1f992f4e5/start, check if the server supports the requested API version.
π₯ Creating docker container (CPUs=2, Memory=2200MB) ... πΏ Failed to start docker container. Running "minikube delete" may fix it: creating host: create: creating: create kic node: create container: docker run -d -t --privileged --security-opt seccomp=unconfined --tmpfs /tmp --tmpfs /run -v /lib/modules:/lib/modules:ro --hostname minikube --name minikube --label created_by.minikube.sigs.k8s.io=true --label name.minikube.sigs.k8s.io=minikube --label role.minikube.sigs.k8s.io= --label mode.minikube.sigs.k8s. io=minikube --network minikube --ip 192.168.58.2 --volume minikube:/var --security-opt apparmor=unconfined --memory=2200mb --cpus=2 -e container=docker --expose 8443 --publish=127.0.0.1::8443 --publish=127.0.0.1::22 --publish=127.0.0.1::2376 --publish=127.0.0.1::5000 --publish=127.0.0.1::32443 gcr.io/k8s-minikube/kicbase:v0.0.45@sha256:81df288595202a317b1a4dc2506ca2e4ed5f22373c19a441b88cfbf4b9867c85: exit status 125 stdout: bb96776e9842764200d7085304f4ffc7499f828ade7ca30cc4db4891e6a15fe9
stderr: docker: request returned Bad Gateway for API route and version http://%2Fvar%2Frun%2Fdocker.sock/v1.45/containers/bb96776e9842764200d7085304f4ffc7499f828ade7ca30cc4db4891e6a15fe9/start, check if the server supports the requested API version.
β Exiting due to GUEST_PROVISION: error provisioning guest: Failed to start host: creating host: create: creating: create kic node: create container: docker run -d -t --privileged --security-opt seccomp=unconfined --tmpfs /tmpp --tmpfs /run -v /lib/modules:/lib/modules:ro --hostname minikube --name minikube --label created_by.minikube.sigs.k8s.io=true --label name.minikube.sigs.k8s.io=minikube --label role.minikube.sigs.k8s.io= --label mode.minikube.s igs.k8s.io=minikube --network minikube --ip 192.168.58.2 --volume minikube:/var --security-opt apparmor=unconfined --memory=2200mb --cpus=2 -e container=docker --expose 8443 --publish=127.0.0.1::8443 --publish=127.0.0.1::22 --publish=127.0.0.1::2376 --publish=127.0.0.1::5000 --publish=127.0.0.1::32443 gcr.io/k8s-minikube/kicbase:v0.0.45@sha256:81df288595202a317b1a4dc2506ca2e4ed5f22373c19a441b88cfbf4b9867c85: exit status 125 stdout: bb96776e9842764200d7085304f4ffc7499f828ade7ca30cc4db4891e6a15fe9
stderr: docker: request returned Bad Gateway for API route and version http://%2Fvar%2Frun%2Fdocker.sock/v1.45/containers/bb96776e9842764200d7085304f4ffc7499f828ade7ca30cc4db4891e6a15fe9/start, check if the server supports the requested API version.
Attach the log file
logs.txt
Operating System
Ubuntu
Driver
Docker