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

Can't stop minikube hyper-v VM #2944

Closed
waynesi opened this issue Jun 28, 2018 · 1 comment
Closed

Can't stop minikube hyper-v VM #2944

waynesi opened this issue Jun 28, 2018 · 1 comment

Comments

@waynesi
Copy link

waynesi commented Jun 28, 2018

This is a BUG REPORT:

Please provide the following details:

Environment:

Minikube version (use minikube version): v0.28.0

  • OS (e.g. from /etc/os-release): Windows 10 Pro 1709
  • VM Driver (e.g. cat ~/.minikube/machines/minikube/config.json | grep DriverName): Hyper-V
  • ISO version (e.g. cat ~/.minikube/machines/minikube/config.json | grep -i ISO or minikube ssh cat /etc/VERSION): default
  • Install tools: Portable binary
  • Others:

What happened:

I created the k8s cluster using the command

minikube start --vm-driver="hyperv" --hyperv-virtual-switch="minikube" --kubernetes-version="v1.9.4" --memory=4096

It worked as expected - the VM was created and the cluster was up and running.

Then I tried to shut down the cluster using

minikube stop

The command was hang at 0% for ages and finally end up with the clash report. During the time of waiting, in the Hyper-V manager, I could see the status of the VM was changed to "Shutting down", but the CPU usage was quite low so it didn't look like doing anything. At the end I had to connect to the VM and use shutdown command to turn off the VM.

What you expected to happen:

The cluster should be shutdown as expected.

How to reproduce it (as minimally and precisely as possible):

Simply use the pair of "minikube start ..." and "minikube stop" with parameters as specified above.

Output of minikube logs (if applicable):

Anything else do we need to know:

Rolled back to v0.27.0 and deleted the VM and the %USERDATA%/.kube and .minikube folders to start from scratch. v0.27.0 just worked perfectly as expected.

@shahiddev
Copy link
Contributor

dupe of #2914

@dlorenc dlorenc closed this as completed Jun 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants