kubernetes / minikube

Run Kubernetes locally
https://minikube.sigs.k8s.io/
Apache License 2.0
29.24k stars 4.87k forks source link

minikube stop: Exiting due to GUEST_STOP_TIMEOUT: Unable to stop VM: Temporary Error: stop: stopping minikube: exit status 1 #19638

Open mferretti opened 2 weeks ago

mferretti commented 2 weeks ago

What Happened?

Hi, I am working on a XUbuntu 22.04 on VirtualBox 7.1, I am not sure this is relevant. I tried to stop my minikube instance (minikube stop) and got the error in title.

The cluster was created with the following:

minikube start -p minikube --cpus 4 --memory 8192 --nodes 1
minikube addons enable metrics-server -p minikube
minikube addons enable ingress -p minikube
minikube addons enable dashboard -p minikube

please note that the commands above are the result of a script I put together to create clusters with different resources and addons

Looking at /tmp/minikube_stop_a21e2bbd16ab6f30f3419e1649020d69f1027854_0.log it appears that config.json disappeared somehow:

marco@ubuntu:~$ ll .minikube/config/
total 8
drwxr-xr-x  2 marco marco 4096 Sep 10 13:04 ./
drwxr-xr-x 10 marco marco 4096 Sep 12 15:16 ../

here's my config:

marco@ubuntu:~$ uname -a
Linux ubuntu 6.8.0-40-generic #40~22.04.3-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 30 17:30:19 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

marco@ubuntu:~$ getconf _NPROCESSORS_ONLN
8
marco@ubuntu:~$ free
               total        used        free      shared  buff/cache   available
Mem:        32866656     7953684    14979316      210224     9933656    24239052
Swap:        2097148           0     2097148

marco@ubuntu:~$ minikube version 
minikube version: v1.34.0
commit: 210b148df93a80eb872ecbeb7e35281b3c582c61

marco@ubuntu:~$ k version 
Client Version: v1.30.3
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
The connection to the server 192.168.49.2:8443 was refused - did you specify the right host or port?

marco@ubuntu:~$ docker version 
Client: Docker Engine - Community
 Version:           27.2.1
 API version:       1.47
 Go version:        go1.22.7
 Git commit:        9e34c9b
 Built:             Fri Sep  6 12:08:10 2024
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          27.2.1
  API version:      1.47 (minimum version 1.24)
  Go version:       go1.22.7
  Git commit:       8b539b8
  Built:            Fri Sep  6 12:08:10 2024
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.7.22
  GitCommit:        7f7fdf5fed64eb6a7caf99b3e12efcf9d60e311c
 runc:
  Version:          1.1.14
  GitCommit:        v1.1.14-0-g2c9f560
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

I think this may relate to 14040

please let me know if you need any more/other info

Attach the log file

logs.txt

minikube_stop_a21e2bbd16ab6f30f3419e1649020d69f1027854_0.log

Operating System

Ubuntu

Driver

Docker