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

Failed to start Minikube on hyper-v #18714

Open
SunilKumarhsdev opened this issue Apr 22, 2024 · 2 comments
Open

Failed to start Minikube on hyper-v #18714

SunilKumarhsdev opened this issue Apr 22, 2024 · 2 comments
Labels
co/hyperv HyperV related issues triage/needs-information Indicates an issue needs more information in order to work on it.

Comments

@SunilKumarhsdev
Copy link

What Happened?

  • Creating hyperv VM (CPUs=2, Memory=4000MB, Disk=20000MB) ...| E0422 17:53:29.381707 1028 main.go:137] libmachine: [stderr =====>] : Hyper-V\New-VHD : Failed to create the virtual hard disk.
    The system failed to create 'C:\Users\Admin.minikube\machines\minikube\fixed.vhd'.
    Failed to create the virtual hard disk.
    The system failed to create 'C:\Users\Admin.minikube\machines\minikube\fixed.vhd': The file exists. (0x80070050).
    At line:1 char:1
  • Hyper-V\New-VHD -Path 'C:\Users\Admin.minikube\machines\minikube\fix ...
  •   + CategoryInfo          : NotSpecified: (:) [New-VHD], VirtualizationException
      + FullyQualifiedErrorId : OperationFailed,Microsoft.Vhd.PowerShell.Cmdlets.NewVhd
    
    
    
    

Failed to start hyperv VM. Running "minikube delete" may fix it: recreate: creating host: create: creating: exit status 1
Exiting due to GUEST_PROVISION: error provisioning guest: Failed to start host: recreate: creating host: create: creating: exit status 1

Attach the log file

log.txt.txt

Operating System

Windows

Driver

Hyper-V

@medyagh
Copy link
Member

medyagh commented Apr 22, 2024

Thank you for sharing your experience! If you don't mind, could you provide the FULL minikube logs ?

Please attach (drag) thelogs.txt file to this issue which can be generated by running this command:

$ minikube logs --file=logs.txt

This will help us isolate the problem further. Thank you!

/triage needs-information
/kind support

@k8s-ci-robot k8s-ci-robot added triage/needs-information Indicates an issue needs more information in order to work on it. kind/support Categorizes issue or PR as a support question. labels Apr 22, 2024
@medyagh medyagh added co/hyperv HyperV related issues and removed kind/support Categorizes issue or PR as a support question. labels Apr 22, 2024
@SunilKumarhsdev
Copy link
Author

Find below minikube log file

logs.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
co/hyperv HyperV related issues triage/needs-information Indicates an issue needs more information in order to work on it.
Projects
None yet
Development

No branches or pull requests

3 participants