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

VBOX_VERR_VMX_NO_VMX: Point users to better documentation #4530

Closed
varkalaramalingam opened this issue Jun 19, 2019 · 14 comments
Closed

VBOX_VERR_VMX_NO_VMX: Point users to better documentation #4530

varkalaramalingam opened this issue Jun 19, 2019 · 14 comments
Labels
cause/nested-vm-config When nested VM's appear to play a role co/virtualbox help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/documentation Categorizes issue or PR as related to documentation. priority/backlog Higher priority than priority/awaiting-more-evidence.

Comments

@varkalaramalingam
Copy link

The exact command to reproduce the issue:

The full output of the command that failed:

The output of the minikube logs command:

The operating system version:

@varkalaramalingam
Copy link
Author

varkalaramalingam commented Jun 19, 2019

ram@minikube:~/Downloads$ minikube start

😄  minikube v1.1.1 on linux (amd64)
💿  Downloading Minikube ISO ...
 131.29 MB / 131.29 MB [============================================] 100.00% 0s
🔥  Creating virtualbox VM (CPUs=2, Memory=2048MB, Disk=20000MB) ...
E0619 17:42:20.633776    9103 start.go:529] StartHost: create: precreate: This computer doesn't have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory

💣  Unable to start VM
❌  Error:         [VBOX_VTX_DISABLED] create: precreate: This computer doesn't have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory
💡  Advice:        In some environments, this message is incorrect. Try 'minikube start --no-vtx-check'
⁉️   Related issues:
    ▪ https://github.com/kubernetes/minikube/issues/3900

😿  If the above advice does not help, please let us know: 
👉  https://github.com/kubernetes/minikube/issues/new
ram@minikube:~/Downloads$ minikube start --no-vtx-check
😄  minikube v1.1.1 on linux (amd64)
🔥  Creating virtualbox VM (CPUs=2, Memory=2048MB, Disk=20000MB) ...
E0619 17:43:45.636765    9145 start.go:529] StartHost: create: creating: Unable to start the VM: /usr/bin/VBoxManage startvm minikube --type headless failed:
VBoxManage: error: VT-x is not available (VERR_VMX_NO_VMX)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole

Details: 00:00:00.251427 Power up failed (vrc=VERR_VMX_NO_VMX, rc=NS_ERROR_FAILURE (0X80004005))

💣  Unable to start VM
❌  Error:         [VBOX_VERR_VMX_NO_VMX] create: creating: Unable to start the VM: /usr/bin/VBoxManage startvm minikube --type headless failed:
VBoxManage: error: VT-x is not available (VERR_VMX_NO_VMX)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole

Details: 00:00:00.251427 Power up failed (vrc=VERR_VMX_NO_VMX, rc=NS_ERROR_FAILURE (0X80004005))
💡  Advice:        Please check your BIOS, and ensure that you are running without HyperV or other nested virtualization that may interfere
⁉️   Related issues:
    ▪ https://github.com/kubernetes/minikube/issues/1994

😿  If the above advice does not help, please let us know: 
👉  https://github.com/kubernetes/minikube/issues/new

@varkalaramalingam
Copy link
Author

minikube starting error

@medyagh
Copy link
Member

medyagh commented Jun 19, 2019

I am curious are you running this inside a VM?
does the solution in this issue help you ?

minikube start --no-vtx-check

#3900

@medyagh medyagh added co/virtualbox triage/needs-information Indicates an issue needs more information in order to work on it. labels Jun 19, 2019
@medyagh medyagh changed the title minikube_start_error vbox: minikube start : VT-x is not available Jun 19, 2019
@sharifelgamal sharifelgamal added the priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done. label Jun 27, 2019
@ankushgarg28794
Copy link

Hi Medyagh,

I have run the above command and getting the below error, can you please help me to resolve the below error for minikube.

[root@localhost kubernates]# minikube start --no-vtx-check

  • minikube v1.2.0 on linux (amd64)
    ! Please don't run minikube as root or with 'sudo' privileges. It isn't necessary.
  • Creating virtualbox VM (CPUs=2, Memory=2048MB, Disk=20000MB) ...
    E0703 10:46:25.289226 6346 start.go:559] StartHost: create: creating: Unable to start the VM: /usr/bin/VBoxManage startvm minikube --type headless failed:
    VBoxManage: error: VT-x is not available (VERR_VMX_NO_VMX)
    VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole

Details: 00:00:00.707013 Power up failed (vrc=VERR_VMX_NO_VMX, rc=NS_ERROR_FAILURE (0X80004005))

X Unable to start VM

  • Error: [VBOX_VERR_VMX_NO_VMX] create: creating: Unable to start the VM: /usr/bin/VBoxManage startvm minikube --type headless failed:
    VBoxManage: error: VT-x is not available (VERR_VMX_NO_VMX)
    VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole

Details: 00:00:00.707013 Power up failed (vrc=VERR_VMX_NO_VMX, rc=NS_ERROR_FAILURE (0X80004005))

@afbjorklund
Copy link
Collaborator

Sounds like you are trying to run minikube with nested virtualization ? (VirtualBox from a VM)

@afbjorklund afbjorklund added the cause/nested-vm-config When nested VM's appear to play a role label Jul 3, 2019
@ankushgarg28794
Copy link

Yes,

@ankushgarg28794
Copy link

I want to run minikube on centos 7 which is on Windows VM. And for that i am facing the above issue. I have installed vm on linux as well. Could you please suggest how to proceed with the above mentioned error.

@Maxiaoyu0
Copy link

same issue

@ankushgarg28794
Copy link

Do we have any resolution over here on github for the mentioned issue.

@medyagh
Copy link
Member

medyagh commented Jul 3, 2019

we currently do not support running minikube inside windows vm (nested vm). however we have support for ruining minikube inside VM but it currently only supports linux. please checkout this doc

https://github.com/kubernetes/minikube/blob/master/docs/vmdriver-none.md

@medyagh medyagh added kind/support Categorizes issue or PR as a support question. and removed priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done. triage/needs-information Indicates an issue needs more information in order to work on it. labels Jul 3, 2019
@tstromberg tstromberg added kind/documentation Categorizes issue or PR as related to documentation. priority/backlog Higher priority than priority/awaiting-more-evidence. and removed kind/support Categorizes issue or PR as a support question. labels Jul 18, 2019
@tstromberg
Copy link
Contributor

We can do a better job about detecting and documenting this issue. Leaving open for now.

@tstromberg tstromberg changed the title vbox: minikube start : VT-x is not available VBOX_VERR_VMX_NO_VMX: Point users to better documentation Jul 18, 2019
@tstromberg tstromberg added the help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. label Jul 18, 2019
@varkalaramalingam
Copy link
Author

varkalaramalingam commented Jul 19, 2019 via email

@afbjorklund
Copy link
Collaborator

Those versions look outdated... Anyway, there will be better documentation provided for none etc.

If you no longer care about running minikube in nested virtualization, maybe this issue can be closed ?

@tstromberg
Copy link
Contributor

As of minikube v1.4, the advice this error output now reads:

Your host does not support virtualization. If you are running minikube within a VM, try '--vm-driver=none'. Otherwise, enable virtualization in your BIOS"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cause/nested-vm-config When nested VM's appear to play a role co/virtualbox help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/documentation Categorizes issue or PR as related to documentation. priority/backlog Higher priority than priority/awaiting-more-evidence.
Projects
None yet
Development

No branches or pull requests

7 participants