Error installing Mirantis Openstack - linux

I am trying to install Mirantis OpenStack on a Linux VM in Proxmox using the provided virtualbox scripts. The problem is I get the error: VT-x is not avalable(VERR_VMX_NO_VMX) when I try to run the launch script.
I have nested virtualization enabled on the server.
I tried with Ubuntu and Linux Mint so far.
I did not change any config.
Any idea why it does that and how to solve the problem?
EDIT:
The server knows VT-d. Does that mean it knows VT-x too or is it 2 separate things?

According to druss.co, there are approximately three common reasons for this issue:
VT-x or AMD-V isn't enabled in your BIOS
Hyper-V virtualization is enabled
Your CPU doesn’t support VT-x or AMD-V virtualization
Solution 1: enable VT-x / AMD-V in your BIOS
Restart your computer and enter the BIOS (Escape / F2 / Delete, depending on MoB). Search for your virtualization setting, and set it to enabled.
Solution 2: Disable Hyper-V virtualization in Windows
Open a command shell as administrator (run cmd.exe as administrator). Then execute the following code:
dism.exe /Online /Disable-Feature:Microsoft-Hyper-V
Alternatively, you go to the control panel, select Program section -> Turn Windows features on or off, then disable Hyper-V and reboot.
Solution 3: Get a new CPU with VT-X / AMD-V support.
Hope it helps!

Related

Cannot install Android Emulator Hypervisor Driver for AMD Processors (installer)

Disabled HyperV via GUI as above.
Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V
Then made sure via powershell via above.
Yet when running emulator-check.exe hyper-v:
hyper-v:
2
Hyper-V is enabled
hyper-v
I assume this is the issue. Virtualization is enabled. I have tried manually installing batch file (not in android studio). I have tried disabling Virtual Machine Platform and Windows Hypervisor Platform to install and that also didn't work (re-enabled after). CPU is AMD Ryzen 5 5625U with Radeon Graphics. Android Studio and the command were done with admin.
1st enable virtualization and hyper-v from your motherboard BIOS settings.
Then from the GUI enable the following:
Hyper-V
Virtual Machine Platform
Windows Hypervisor Platform
And after that restart your windows machine.
What fixed this, was turning Virtualization OFF in the BIOS and then ON again. After doing this mulator-check.exe hyper-v showed hyper-v to be not installed, which is the expected output. I was then able to install the driver in Android Studio as usual.

Haxm - the system requirements are not satisfied

i have been trying to install haxm for last few days..vt in my boot menu is enabled.. i also runned
dism.exe /Online /Disable-Feature:Microsoft-Hyper-V
bcdedit /set hypervisorlaunchtype offdism.exe /Online /Disable-Feature:Microsoft-Hyper-V
on my command prompt after seeing on a yt video...still it isn't installing..when i tried to install manually it says system requirements are not satisfied
here is a screenshot
and,when i run my emulator on android studio..it shows nothing but black screen
can anyone please give solution how i can install haxm on my device
my pc specifications are given here
This only works on hp devices:
Restart your device. As it starts turning on, press the Esc key repeatedly until it opens a startup menu. Press f10 to open the Bios.
Select System Configuration
Select Virtualization Technology
Use the arrow key to enable it.
Then restart your device
Your CPU does not support EPT but does support VT-x. A CPU that supports both should have these lines in it's specification:
Intel® Virtualization Technology (VT-x) Yes
Intel® VT-x with Extended Page Tables (EPT) Yes
EPT is required by haxm. Some older Intel CPU models support VT-x but do not support EPT.
Open cmd and run : bcdedit /set hypervisorlaunchtype off
Disable hyper V Disable
windows platform virtualiszation
and it should work

Unable to install Android Emulator Hypervisor Driver for AMD Processor

I am unable to install Android Emulator Hypervisor Driver for AMD Processor.
It is to be noted that virtualization is enabled.
Emulator Process for AVD was killed shown while running the code in Visual Studio while trying to install the Hypervisor Driver in Android Studio.
Error is also shown in Android Studio while installing the Hypervisor Driver:
What to do now? Thanks.
If you are using AVAST antivirus, It will not work .. So open Avast antivirus UI and go to Menu / Setting / troubleshooting and clear the tick on (( Enable hardware-assisted virtualization )) and restart. It will be installed.
First you should try to see if you have Hyper-V enabled. In most cases, the newer computers use it for hardware acceleration but it doesn't share with other virtualization apps, so to run this on an AMD or Intel VT-x first check if you have Hyper-V installed (go to your control panel, then in Programs and Features window, click “Turn Windows features on or off.” then look for Hyper-V and clear the checkbox then click OK.
If that doesn't work check your BIOS permissions, you can go to advanced CPU configuration or chipset and
find the "Intel Virtualization Technology", enable this option,
or
on AMD enable the SVM
then Save and Exit.
If you are using AVAST antivirus, It will not work .. So open Avast antivirus UI and go to Menu / Setting / troubleshooting and clear the tick on (( Enable hardware-assisted virtualization )) and restart. It will be installed.
This method by Tamer works for me but you have to restart your computer for it to be effective.
I had the same challenge when trying to add Bluestacks as an emulator in Android Studio and this was my solution.
Open PowerShell as Admin and do this command:
Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V
A restart should follow and all should be fine.
I'm not sure why you tried installing an AMD Virtualization driver for your Intel-CPU. As other people already suggested, try to install the Intel-Driver instead.
The installation probably failed because the program detected your not using an amd-cpu, so there's no point in installing it.

android studio: unable to turn on the emulator

The error I get is:
emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: HAX kernel module is not installed!
I believe it is asked once per week and I have search for different solution but still fail
In the installation, I get the same message as the first image of the follow post.
Intel HAXM installation error - This computer does not support Intel Virtualization Technology (VT-x)
The solution I have tried:
1. disable and enable the VT in the bios----same problem in installation of Intel haxm
2. disable the Hyper-V ---------------------Seem my windows do not conation Hyper-V
3. download the workaround patch released by Intel in
http://software.intel.com/en-us/blogs/2013/04/25/workaround-patch-for-haxm-installation-error-failed-to-configure-driver-unknown
whew execute the .cmd file, it just jump up the cmd for half an second and not thing is happened.
In my process, I have stop my avast anti-virus, and I am using windows 8.1.
Could anyone help?
A couple things you haven't tried :
bcdedit /set nx AlwaysOn (to make sure XD bit is on)
bcdedit /set hypervisorlaunchtype off
(and reboot)

VT-X on windows 7 cannot be recognized by Guest OS(Ubuntu 12.04) with virtualbox

I have met with the following problem.
Hardware: DELL Laptop E6430(CPU: I7 3520M)
Host OS : Windows7 professional(64 bit)
Guest OS: Ubuntu 12.04(32 bit)
VMM: virtualbox 4.2.16
I need to do some development on KVM with a windows 7 environment. Things can be made sure are that VT-X are opened in BIOS and can be recognized by windows 7.(Passed securable test.)
I can't post screenshot for my low reputation, sorry for that :-(
VT-x| AMD-V option in virtualbox is also opened.
But when I typed cat /proc/cpuinfo | grep vmx, I found no related output.
I tried to close VT-D in BIOS and then reopened it as google told me, but in vain.
Note that after I closed VT-D in BIOS, virtualbox just told me that vt-x | AMD-V was not available anymore, which I suppose means virtualbox knows the existence of that CPU feature.
So I thought KVM can not be used by windows 7, am I right? If not, I hope that somebody can tell me why there is no VMX in my guest OS. Thanks in advance!
Thanks for answering, I finally installed Ubuntu 12.04 with windows7 on the same hard disk. As for my issue, virtualbox don't support full virtuallization, so I could not see any VMX feature in my Guest OS, but vmware do, which suits me well.

Resources