minikube stop hangs when local file system is mounted #12649
Labels
area/mount
co/hyperv
HyperV related issues
kind/bug
Categorizes issue or PR as related to a bug.
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Milestone
OS: Microsoft Windows [Version 10.0.19042.1052]
Minikube version: 1.23.2
Steps to reproduce the issue:
Run
minikube logs --file=logs.txt
and drag and drop the log file into this issueCannot pull logs, Guest not found
Full output of failed command if not
minikube start
:PS C:\WINDOWS\system32> minikube start --apiserver-names minikube.mshome.net --mount * minikube v1.23.2 on Microsoft Windows 10 Pro 10.0.19042 Build 19042 * Using the hyperv driver based on existing profile
! This VM is having trouble accessing https://k8s.gcr.io
PS C:\WINDOWS\system32> minikube stop
PS C:\WINDOWS\system32> minikube delete
E1004 12:09:18.122191 18320 main.go:126] libmachine: [stderr =====>] : Hyper-V\Stop-VM : 'minikube' failed to change state.
The operation cannot be performed while the object is in its current state.
At line:1 char:1
E1004 12:09:25.287222 18320 main.go:126] libmachine: [stderr =====>] : Hyper-V\Stop-VM : 'minikube' failed to change state.
The operation cannot be performed while the object is in its current state.
At line:1 char:1
E1004 12:09:28.826476 18320 main.go:126] libmachine: [stderr =====>] : Hyper-V\Stop-VM : 'minikube' failed to change state.
The operation cannot be performed while the object is in its current state.
At line:1 char:1
X Failed to delete cluster: host remove retry: exit status 1
X Exiting due to GUEST_FILE_IN_USE: remove C:\Users\rogierhofboer.minikube\machines\minikube\disk.vhd: The process cannot access the file because it is being used by another process.
PS C:\WINDOWS\system32>
The text was updated successfully, but these errors were encountered: