I was trying to setup a RHEV laboratory in my ESXi but I wasn’t unable to approve my host.
In RHEVM appeared an error in the GUI like this one (check your Events tab):
Command returned failure code 1 during SSH session '[email protected]'
But in RHEVM logs there was another latent issue, checking /var/log/ovirt-engine/engine.log :
2014-04-27 12:17:20,814 ERROR [org.ovirt.engine.core.bll.InstallerMessages] (VdsDeploy) Installation x.x.x.x: Failed to execute stage 'Setup validation': Hardware does not support virtualization ... 2014-04-27 12:18:48,555 ERROR [org.ovirt.engine.core.bll.InstallVdsCommand] (pool-4-thread-49) [1c11a8d3] Host installation failed for host 4eba0c68-4370-4223-8271-831cccf3a64e, x.x.x.x.: java.io.IOException: Command returned failure code 1 during SSH session '[email protected]'
So in order to enables nested virtualization of RHEV-H in VMware ESXi 5.5u1 we have to add 2 new values in our vmx file:
featMask.vm.hv.capable = "Min:1" vhv.enable = "TRUE"
After adding them I was able to approve the host without any further issues.