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

start/delete fails: open C:\Users\.minikube\machines\minikube\config.json: The system cannot find the file specified. #5529

Closed
vivekwpatil opened this issue Oct 2, 2019 · 12 comments
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/bug Categorizes issue or PR as related to a bug. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. os/windows priority/backlog Higher priority than priority/awaiting-more-evidence.

Comments

@vivekwpatil
Copy link

I downloaded minikube in my windows 7 laptop. I installed it successfully. but when I try to run below command, it fails with below message. I tried minikube delete command also but it also fails. Not sure how to proceed . Please help,

$ minikube start

  • minikube v1.4.0 on Microsoft Windows 7 Enterprise Service Pack 1 6.1.7601 Build 7601
  • Retriable failure: Error loading existing host. Please try running [minikube delete], then run [minikube start] again.: filestore "minikube": open C:\Users\.minikube\machines\minikube\config.jso
    n: The system cannot find the file specified.
  • Retriable failure: Error loading existing host. Please try running [minikube delete], then run

[minikube start] again.: filestore "minikube": open C:\Users\.minikube\machines\minikube\config.jso
n: The system cannot find the file specified.

  • Retriable failure: Error loading existing host. Please try running [minikube delete], then run [minikube start] again.: filestore "minikube": open C:\Users\.minikube\machines\minikube\config.jso
    n: The system cannot find the file specified.
  • Retriable failure: Error loading existing host. Please try running [minikube delete], then run [minikube start] again.: filestore "minikube": open C:\Users\.minikube\machines\minikube\config.jso
    n: The system cannot find the file specified.

X Unable to start VM: Error loading existing host. Please try running [minikube delete], then run [minikube start] again.: filestore "minikube": open C:\Users\.minikube\machines\minikube\config.js
on: The system cannot find the file specified.

@woodcockjosh
Copy link
Contributor

woodcockjosh commented Oct 2, 2019

Looks like the same problem as here #5509. Try deleting C:\Users\.minikube\machines\minikube\ if minikube delete fails then run minikube start again.

@vivekwpatil
Copy link
Author

Thanks. It starts after manually deleting that folder. I suppose minikube delete command should be taking care of this operation.

@woodcockjosh
Copy link
Contributor

I think this can also occur if you run start minikube then cancel the command after the json file is created but before the machine instance is created.

@tstromberg
Copy link
Contributor

Do you mind sharing what the error was when you ran minikube delete?

@tstromberg tstromberg changed the title Minikube Start crashing in Windows7 start/delete fails: open C:\Users\.minikube\machines\minikube\config.json: The system cannot find the file specified. Oct 2, 2019
@tstromberg
Copy link
Contributor

minikube appears to be doing a very weird thing with the path here (not surprising on Windows). Note that there is no actual home directory mentioned in the path.

@tstromberg tstromberg added help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/bug Categorizes issue or PR as related to a bug. os/windows priority/backlog Higher priority than priority/awaiting-more-evidence. labels Oct 2, 2019
@vivekwpatil
Copy link
Author

when I try minikube delete it also tries to locate same config file and fails.

@medyagh
Copy link
Member

medyagh commented Oct 6, 2019

@vivekwpatil I am wondering are you running the minikube command while you are in C:\ drive ?

@brainfull
Copy link

On my side, everytime I call 'minikube delete' I also delete automatically %userprofile%/.minikube. It resolves a lot of weird behavior and doesn't create unwanted side effect, at least for me.

@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Feb 4, 2020
@fejta-bot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Mar 5, 2020
@fejta-bot
Copy link

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

@k8s-ci-robot
Copy link
Contributor

@fejta-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/bug Categorizes issue or PR as related to a bug. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. os/windows priority/backlog Higher priority than priority/awaiting-more-evidence.
Projects
None yet
Development

No branches or pull requests

7 participants