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

Fix delete failing on Windows #14021

Closed
spowelljr opened this issue Apr 22, 2022 · 0 comments · Fixed by #14022
Closed

Fix delete failing on Windows #14021

spowelljr opened this issue Apr 22, 2022 · 0 comments · Fixed by #14022
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug. os/windows priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Milestone

Comments

@spowelljr
Copy link
Member

Introduced with #13979

Set the event log path on delete, but this causes an issue specifically on Windows because it's logging to the events.json file at the same time it's trying to delete the profile's directory and results in:

$ minikube delete
! "minikube" profile does not exist, trying anyways.
* Trying to delete invalid profile minikube
X remove C:\Users\<user>\.minikube\profiles\minikube\events.json: The process cannot access the file because it is being used by another process.
@spowelljr spowelljr added kind/bug Categorizes issue or PR as related to a bug. os/windows priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. labels Apr 22, 2022
@spowelljr spowelljr added this to the 1.26.0 milestone Apr 22, 2022
@spowelljr spowelljr self-assigned this Apr 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. os/windows priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant