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

StartHost failed, but will try again: Error loading existing host. Please try running [minikube delete], then run [minikube start] again.: filestore "minikube": #9130

Closed
ghost opened this issue Aug 31, 2020 · 24 comments
Labels
kind/support Categorizes issue or PR as a support question. triage/needs-information Indicates an issue needs more information in order to work on it.

Comments

@ghost
Copy link

ghost commented Aug 31, 2020

minikube start --driver=hyperv

  • minikube v1.12.3 on Microsoft Windows 10 Enterprise 10.0.19041 Build 19041
  • Using the hyperv driver based on existing profile
  • Starting control plane node minikube in cluster minikube
    ! StartHost failed, but will try again: Error loading existing host. Please try running [minikube delete], then run [minikube start] again.: filestore "minikube": open C:\Users\Laxmi Computers.minikube\machines\minikube\config.json: The system cannot find the file specified.
  • Failed to start hyperv VM. "minikube start" may fix it: Error loading existing host. Please try running [minikube delete], then run [minikube start] again.: filestore "minikube": open C:\Users\Laxmi Computers.minikube\machines\minikube\config.json: The system cannot find the file specified.

X error provisioning host: Failed to start host: Error loading existing host. Please try running [minikube delete], then run [minikube start] again.: filestore "minikube": open C:\Users\Laxmi Computers.minikube\machines\minikube\config.json: The system cannot find the file specified.
*

@tstromberg tstromberg added the kind/support Categorizes issue or PR as a support question. label Sep 1, 2020
@tstromberg
Copy link
Contributor

I'm curious if this is related to the username having spaces in it, or if the file is missing.

Can you check if C:\Users\Laxmi Computers\.minikube\machines has any files in it?

This was referenced Sep 3, 2020
@neel8989
Copy link

neel8989 commented Sep 6, 2020

PS C:\Users\Neel> minikube start --driver=virtualbox

  • minikube v1.13.0 on Microsoft Windows 10 Home Single Language 10.0.18362 Build 18362
  • Using the virtualbox driver based on user configuration
  • Starting control plane node minikube in cluster minikube
  • Creating virtualbox VM (CPUs=2, Memory=2200MB, Disk=20000MB) ...
  • Deleting "minikube" in virtualbox ...
    ! StartHost failed, but will try again: creating host: create: creating: Error setting up host only network on machine start: The host-only adapter we just created is not visible. This is a well known VirtualBox bug. You might want to uninstall it and reinstall at least version 5.0.12 that is is supposed to fix this issue
  • Failed to start virtualbox VM. Running "minikube delete" may fix it: Error loading existing host. Please try running [minikube delete], then run [minikube start] again.: filestore "minikube": open C:\Users\Neel.minikube\machines\minikube\config.json: The system cannot find the file specified.

X Exiting due to GUEST_NOT_FOUND: Failed to start host: Error loading existing host. Please try running [minikube delete], then run [minikube start] again.: filestore "minikube": open C:\Users\Neel.minikube\machines\minikube\config.json: The system cannot find the file specified.

  • Suggestion: minikube is missing files relating to your guest environment. This can be fixed by running 'minikube delete'

@derklauer-ocean
Copy link

I had this same error with --vm-driver=hyperv. Resolved it by running minikube delete then reinstalling minkube as administrator. Also depending on your windows license if you go the HyperV route you can only run one VM at a time.

@medyagh
Copy link
Member

medyagh commented Oct 28, 2020

@yogyad @neel8989 do you still have this issue ?
do you mind trying deleteing all your VMs and minikube delete --all and try with latest version of minikube?

have you tried docker driver if you can install docker on your system ?

@medyagh medyagh added the triage/needs-information Indicates an issue needs more information in order to work on it. label Oct 28, 2020
@tstromberg
Copy link
Contributor

tstromberg commented Dec 9, 2020

I'm closing this issue as it hasn't seen activity in awhile, and it's unclear if this issue still exists. If this issue does continue to exist in the most recent release of minikube, please feel free to re-open it by replying /reopen

If someone sees a similar issue to this one, please re-open it as replies to closed issues are unlikely to be noticed.

Thank you for opening the issue!

@zamkhan29
Copy link

$ minikube start --driver=virtualbox

  • minikube v1.16.0 on Microsoft Windows 10 Home Single Language 10.0.19042 Build 19042
  • Using the virtualbox driver based on user configuration
  • Starting control plane node minikube in cluster minikube
  • Creating virtualbox VM (CPUs=2, Memory=2200MB, Disk=20000MB) ...
  • Deleting "minikube" in virtualbox ...
    ! StartHost failed, but will try again: creating host: create: creating: Unable to start the VM: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe startvm minikube --type headless failed:
    VBoxManage.exe: error: Failed to open/create the internal network 'HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter Support mounting host directories into pods #2' (VERR_INTNET_FLT_IF_NOT_FOUND).
    VBoxManage.exe: error: Failed to attach the network LUN (VERR_INTNET_FLT_IF_NOT_FOUND)
    VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component ConsoleWrap, interface IConsole

Details: 00:00:03.831308 Power up failed (vrc=VERR_INTNET_FLT_IF_NOT_FOUND, rc=E_FAIL (0X80004005))

  • Failed to start virtualbox VM. Running "minikube delete" may fix it: Error loading existing host. Please try running [minikube delete], then run [minikube start] again.: filestore "minikube": open C:\cygwin64
    \home\91997.minikube\machines\minikube\config.json: The system cannot find the file specified.

X Exiting due to GUEST_NOT_FOUND: Failed to start host: Error loading existing host. Please try running [minikube delete], then run [minikube start] again.: filestore "minikube": open C:\cygwin64\home\91997.mi
nikube\machines\minikube\config.json: The system cannot find the file specified.

@Kapildev0458
Copy link

$ minikube start --driver=virtualbox

  • minikube v1.16.0 on Microsoft Windows 10 Home Single Language 10.0.19042 Build 19042
  • Using the virtualbox driver based on user configuration
  • Starting control plane node minikube in cluster minikube
  • Creating virtualbox VM (CPUs=2, Memory=2200MB, Disk=20000MB) ...
  • Deleting "minikube" in virtualbox ...
    ! StartHost failed, but will try again: creating host: create: creating: Unable to start the VM: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe startvm minikube --type headless failed:
    VBoxManage.exe: error: Failed to open/create the internal network 'HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter Support mounting host directories into pods #2' (VERR_INTNET_FLT_IF_NOT_FOUND).
    VBoxManage.exe: error: Failed to attach the network LUN (VERR_INTNET_FLT_IF_NOT_FOUND)
    VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component ConsoleWrap, interface IConsole

Details: 00:00:03.831308 Power up failed (vrc=VERR_INTNET_FLT_IF_NOT_FOUND, rc=E_FAIL (0X80004005))

  • Failed to start virtualbox VM. Running "minikube delete" may fix it: Error loading existing host. Please try running [minikube delete], then run [minikube start] again.: filestore "minikube": open C:\cygwin64
    \home\91997.minikube\machines\minikube\config.json: The system cannot find the file specified.

X Exiting due to GUEST_NOT_FOUND: Failed to start host: Error loading existing host. Please try running [minikube delete], then run [minikube start] again.: filestore "minikube": open C:\cygwin64\home\91997.mi
nikube\machines\minikube\config.json: The system cannot find the file specified.

To solve #9130 issue simply update your VM

@ghost
Copy link
Author

ghost commented Jan 21, 2021 via email

@vagdevik
Copy link

I had the same issue. So I did the following and it was solved!!!

  1. minikube delete
  2. download minikube and install it again
  3. download Virtualbox and instal it again
  4. In new cmd, minikube start --driver=virtualbox

@annopohjala
Copy link

/reopen

@k8s-ci-robot
Copy link
Contributor

@annopohjala: You can't reopen an issue/PR unless you authored it or you are a collaborator.

In response to this:

/reopen

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.

@sanjivsharmalv
Copy link

I also faced the issue with --vm-driver=hyperv:
Error loading existing host. Please try running [minikube delete], then run [minikube start] again.: filestore "minikube"
I resolved it by uninstalling Docker that I installed earlier and then executing the 'minikube start --vm-driver=hyperv '

@jtabasz
Copy link

jtabasz commented Sep 22, 2021

Getting same issue. Using W10 Pro, Hyper-V, choco install minikube. All that works. Hyper-V enabled. Docker has been uninstalled. I run minikube start --vm-driver=hyperv, I can see the VM called minikube being created in the Hyper-V manager, but the minikube start fails after some time. looks like the VM created by minikube has no IP address.
Command_Line_Output.txt
lastStart.txt

@souravsk
Copy link

PS C:\WINDOWS\system32> minikube config set driver hyperv
! These changes will take effect upon a minikube delete and then a minikube start
PS C:\WINDOWS\system32> minikube delete

  • Stopping node "minikube" ...

  • Deleting "minikube" in hyperv ...

  • Removed all traces of the "minikube" cluster.
    PS C:\WINDOWS\system32> minikube start --vm-driver=Hyper-V

  • minikube v1.25.1 on Microsoft Windows 10 Pro 10.0.19041 Build 19041
    ! Both driver=hyperv and vm-driver=Hyper-V have been set.

    Since vm-driver is deprecated, minikube will default to driver=hyperv.

    If vm-driver is set in the global config, please run "minikube config unset vm-driver" to resolve this warning.

  • Using the hyperv driver based on user configuration

  • Starting control plane node minikube in cluster minikube

  • Creating hyperv VM (CPUs=2, Memory=2200MB, Disk=20000MB) ...| E0220 22:45:43.329201 5056 main.go:126] libmachine: [stderr =====>] : Hyper-V\Start-VM : 'minikube' failed to start.
    Not enough memory in the system to start the virtual machine minikube.
    Could not initialize memory: Not enough memory resources are available to complete this operation. (0x8007000E).
    'minikube' failed to start. (Virtual machine ID AD17EF61-EF3F-4B0F-9877-B8CC2B327141)
    Not enough memory in the system to start the virtual machine minikube with ram size 2200 megabytes. (Virtual machine
    ID AD17EF61-EF3F-4B0F-9877-B8CC2B327141)
    'minikube' could not initialize memory: Not enough memory resources are available to complete this operation.
    (0x8007000E). (Virtual machine ID AD17EF61-EF3F-4B0F-9877-B8CC2B327141)
    At line:1 char:1

  • Hyper-V\Start-VM minikube
  •   + CategoryInfo          : FromStdErr: (:) [Start-VM], VirtualizationException
      + FullyQualifiedErrorId : OutOfMemory,Microsoft.HyperV.PowerShell.Commands.StartVM
    
    
    
    
  • Stopping node "minikube" ...
  • Deleting "minikube" in hyperv ...
    ! StartHost failed, but will try again: creating host: create: creating: exit status 1
  • Failed to start hyperv VM. Running "minikube delete" may fix it: Error loading existing host. Please try running [minikube delete], then run [minikube start] again.: filestore "minikube": open C:\Users\Sourav.minikube\machines\minikube\config.json: The system cannot find the file specified.

X Exiting due to GUEST_NOT_FOUND: Failed to start host: Error loading existing host. Please try running [minikube delete], then run [minikube start] again.: filestore "minikube": open C:\Users\Sourav.minikube\machines\minikube\config.json: The system cannot find the file specified.

PS C:\WINDOWS\system32>

@chiragch
Copy link

chiragch commented Mar 6, 2022

Deleting minikube folder from the path mentioned in an error and then minikube start solved my problem

@Axel15007256
Copy link

/reopen

@k8s-ci-robot
Copy link
Contributor

@Axel15007256: You can't reopen an issue/PR unless you authored it or you are a collaborator.

In response to this:

/reopen

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.

@Axel15007256
Copy link

C:\WINDOWS\system32>minikube start -- vm-driver-virtualbox

  • minikube v1.25.2 on Microsoft Windows 10 Home Single Language 10.0.19044 Build 19044
  • Automatically selected the virtualbox driver
  • Downloading VM boot image ...

    minikube-v1.25.2.iso.sha256: 65 B / 65 B [-------------] 100.00% ? p/s 0s
    minikube-v1.25.2.iso: 237.06 MiB / 237.06 MiB [] 100.00% 6.93 MiB p/s 34s

  • Starting control plane node minikube in cluster minikube
  • Downloading Kubernetes v1.23.3 preload ...

    preloaded-images-k8s-v17-v1...: 505.68 MiB / 505.68 MiB 100.00% 6.83 MiB

  • Creating virtualbox VM (CPUs=2, Memory=4000MB, Disk=20000MB) ...
  • Deleting "minikube" in virtualbox ...
    ! StartHost failed, but will try again: creating host: create: creating: Error setting up host only network on machine start: The host-only adapter we just created is not visible. This is a well known VirtualBox bug. You might want to uninstall it and reinstall at least version 5.0.12 that is is supposed to fix this issue
  • Failed to start virtualbox VM. Running "minikube delete" may fix it: error loading existing host. Please try running [minikube delete], then run [minikube start] again: filestore "minikube": open C:\Users\hami_.minikube\machines\minikube\config.json: The system cannot find the file specified.

X Exiting due to GUEST_NOT_FOUND: Failed to start host: error loading existing host. Please try running [minikube delete], then run [minikube start] again: filestore "minikube": open C:\Users\hami_.minikube\machines\minikube\config.json: The system cannot find the file specified.

I have tried so far:
minikube delete
minikube delete --all
deleting the folder outlined on the error message
reinstalled minikube

@codemonstur
Copy link

I had this issue. Reinstalling minikube with administrator rights solved it.

@msebi
Copy link

msebi commented May 5, 2022

Issue similar to @Axel15007256 :

$ minikube start --no-vtx-check --vm-driver=virtualbox
* minikube v1.25.2 on Microsoft Windows 10 Home 10.0.19044 Build 19044
* Using the virtualbox driver based on user configuration
* Downloading VM boot image ...
    > minikube-v1.25.2.iso.sha256: 65 B / 65 B [-------------] 100.00% ? p/s 0s
    > minikube-v1.25.2.iso: 237.06 MiB / 237.06 MiB  100.00% 1.09 MiB p/s 3m38s
* Starting control plane node minikube in cluster minikube
* Downloading Kubernetes v1.23.3 preload ...
    > preloaded-images-k8s-v17-v1...: 505.68 MiB / 505.68 MiB  100.00% 1.04 MiB
* Creating virtualbox VM (CPUs=2, Memory=4000MB, Disk=20000MB) ...
* Deleting "minikube" in virtualbox ...
! StartHost failed, but will try again: creating host: create host timed out in 360.000000 seconds
* Failed to start virtualbox VM. Running "minikube delete" may fix it: error loading existing host. Please try running [minikube delete], then run [minikube start] again: filestore "minikube": open C:\Users\msebi\.minikube\machines\minikube\config.json: The system cannot
 find the file specified.

X Exiting due to GUEST_NOT_FOUND: Failed to start host: error loading existing host. Please try running [minikube delete], then run [minikube start] again: filestore "minikube": open C:\Users\msebi\.minikube\machines\minikube\config.json: The system cannot find the file
specified.
* Suggestion: minikube is missing files relating to your guest environment. This can be fixed by running 'minikube delete'
* Related issue: https://github.com/kubernetes/minikube/issues/9130
$ minikube delete --all
* Removing C:\Users\msebi\.minikube\machines\minikube ...
* Removed all traces of the "minikube" cluster.
* Successfully deleted all profiles
$ minikube start --no-vtx-check --vm-driver=virtualbox
* minikube v1.25.2 on Microsoft Windows 10 Home 10.0.19044 Build 19044
* Using the virtualbox driver based on user configuration
* Starting control plane node minikube in cluster minikube
* Creating virtualbox VM (CPUs=2, Memory=4000MB, Disk=20000MB) ...
* Deleting "minikube" in virtualbox ...
! StartHost failed, but will try again: creating host: create host timed out in 360.000000 seconds
* Failed to start virtualbox VM. Running "minikube delete" may fix it: error loading existing host. Please try running [minikube delete], then run [minikube start] again: filestore "minikube": open C:\Users\msebi\.minikube\machines\minikube\config.json: The system cannot
 find the file specified.

X Exiting due to GUEST_NOT_FOUND: Failed to start host: error loading existing host. Please try running [minikube delete], then run [minikube start] again: filestore "minikube": open C:\Users\msebi\.minikube\machines\minikube\config.json: The system cannot find the file
specified.
* Suggestion: minikube is missing files relating to your guest environment. This can be fixed by running 'minikube delete'
* Related issue: https://github.com/kubernetes/minikube/issues/9130

Please don't close obviously unsolved issues.

@rprodan
Copy link

rprodan commented May 24, 2022

I have similar issue as msebi.

Environment

  • Microsoft Windows 10 Enterprise LTSC 2019 10.0.17763 Build 17763
  • minikube v1.25.2
$ minikube config view
- container-runtime: docker
- driver: virtualbox

All commands are being executed with system administrator priviliges.

1. Start Minikube

$ minikube start --no-vtx-check
* minikube v1.25.2 on Microsoft Windows 10 Enterprise LTSC 2019 10.0.17763 Build 17763
* Using the virtualbox driver based on user configuration
* Downloading VM boot image ...
* Starting control plane node minikube in cluster minikube
* Downloading Kubernetes v1.23.3 preload ...
* Creating virtualbox VM (CPUs=2, Memory=6000MB, Disk=20000MB) ...
* Deleting "minikube" in virtualbox ...
! StartHost failed, but will try again: creating host: create host timed out in 360.000000 seconds
* Failed to start virtualbox VM. Running "minikube delete" may fix it: error loading existing host. Please try running [minikube delete], then run [minikube start] again: filestore "minikube": open C:\Users\rprodan\.minikube\machines\minikube\config.json: The system cannot find the file specified.

X Exiting due to GUEST_NOT_FOUND: Failed to start host: error loading existing host. Please try running [minikube delete], then run [minikube start] again: filestore "minikube": open C:\Users\rprodan\.minikube\machines\minikube\config.json: The system cannot find the file specified.
* Suggestion: minikube is missing files relating to your guest environment. This can be fixed by running 'minikube delete'
* Related issue: https://github.com/kubernetes/minikube/issues/9130

2. Delete minikube

$ minikube delete --all
* Removing C:\Users\rprodan\.minikube\machines\minikube ...
* Removed all traces of the "minikube" cluster.
* Successfully deleted all profiles

3. Again start minikube

$ minikube start --no-vtx-check
* minikube v1.25.2 on Microsoft Windows 10 Enterprise LTSC 2019 10.0.17763 Build 17763
* Using the virtualbox driver based on user configuration
* Starting control plane node minikube in cluster minikube
* Creating virtualbox VM (CPUs=2, Memory=6000MB, Disk=20000MB) ...
* Deleting "minikube" in virtualbox ...
! StartHost failed, but will try again: creating host: create host timed out in 360.000000 seconds
* Failed to start virtualbox VM. Running "minikube delete" may fix it: error loading existing host. Please try running [minikube delete], then run [minikube start] again: filestore "minikube": open C:\Users\rprodan\.minikube\machines\minikube\config.json: The system cannot find the file specified.

X Exiting due to GUEST_NOT_FOUND: Failed to start host: error loading existing host. Please try running [minikube delete], then run [minikube start] again: filestore "minikube": open C:\Users\rprodan\.minikube\machines\minikube\config.json: The system cannot find the file specified.
* Suggestion: minikube is missing files relating to your guest environment. This can be fixed by running 'minikube delete'
* Related issue: https://github.com/kubernetes/minikube/issues/9130

@amosngisa
Copy link

If you are experincing this error "ind the file specified.

  • Failed to start hyperv VM. Running "minikube delete" may fix it: error loading existing host. Please try running [minikube delete], then run [minikube start] again: filestore "minikube": open C:\Users\AMOS.minikube\machines\minikube\config.json: The system cannot find the file specified.

X Exiting due to GUEST_NOT_FOUND: Failed to start host: error loading existing host. Please try running [minikube delete], then run [minikube start] again: filestore "minikube": open C:\Users\AMOS.minikube\machines\minikube\config.json: The system cannot find the file specified.

Here's the reasons:

  1. You had a previous installation of minikube or
  2. You have not enabled Hyper V or

Take this steps in order to get yourself out:

  1. For reason (1) above; run the following command on powershell: minikube delete --all --purge and then minikube delete --all --purge
  2. For reason (2) above; run the following commands on powershell: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All and minikube config set driver hyperv to set hyper v as default driver then followed by minikube start --driver=hyperv

I hope this helps!

image

@amine-atyq
Copy link

If you are experincing this error "ind the file specified.

  • Failed to start hyperv VM. Running "minikube delete" may fix it: error loading existing host. Please try running [minikube delete], then run [minikube start] again: filestore "minikube": open C:\Users\AMOS.minikube\machines\minikube\config.json: The system cannot find the file specified.

X Exiting due to GUEST_NOT_FOUND: Failed to start host: error loading existing host. Please try running [minikube delete], then run [minikube start] again: filestore "minikube": open C:\Users\AMOS.minikube\machines\minikube\config.json: The system cannot find the file specified.

Here's the reasons:

  1. You had a previous installation of minikube or
  2. You have not enabled Hyper V or

Take this steps in order to get yourself out:

  1. For reason (1) above; run the following command on powershell: minikube delete --all --purge and then minikube delete --all --purge
  2. For reason (2) above; run the following commands on powershell: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All and minikube config set driver hyperv to set hyper v as default driver then followed by minikube start --driver=hyperv

I hope this helps!

image

Thanks, mate. It resolved the issue.

@HusmithaSilva
Copy link

Issue I was facing is not enough space in memory to create docker container on local machine.

issue

These steps help me to solve the issue:

  1. Close all tabs in Google Chrome, Close programs that are currently
    running on memory in my local machine. Because of taking much space docker
    container wouldn't be able to create container on machine.

  2. then minikube delete

    $ minikube delete

delete

  1. then minikube start.

    $ minikube start

start

It works for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support Categorizes issue or PR as a support question. triage/needs-information Indicates an issue needs more information in order to work on it.
Projects
None yet
Development

No branches or pull requests