ESXi node - Add VM and get VT-x not supported

Moderator: mike

Post Reply
dleonhart
Posts: 7
Joined: Thu Feb 11, 2021 4:40 pm

ESXi node - Add VM and get VT-x not supported

Post by dleonhart » Wed Apr 26, 2023 6:21 pm

Hello! I have an EVE-NG setup that is hosted on a work platform and works fine for ESXi 6.5\6.7 nodes. I tried adding a 7.0\8.0 node, got through EVE node setup and it shows in EVE and boots with no issues.

When I go and put a VM on this "nested" esxi, I get this error:

=========ERROR=========
Failed - This host does not support Intel VT-x.
=========ERROR=========

I see this in EVE-NG CLI:

=======================EVE-NG CLI TO CHECK FOR VIRT SUPPORT=======================
root@eve-ng-pro-vm:~# cat /sys/module/kvm_intel/parameters/nested
Y
root@eve-ng-pro-vm:~# cat /sys/module/kvm/parameters/ignore_msrs
Y
root@eve-ng-pro-vm:~# cat /sys/module/kvm_intel/parameters/ept
Y
=======================EVE-NG CLI TO CHECK FOR VIRT SUPPORT=======================

Why is it the ESXi 7/8 do not see VT-X when EVE-NG is set to use it?

CPU seen by neted ESXi 7/8 = 8 CPUs x Intel(R) Xeon(R) CPU E5-2698 v3 @ 2.30GHz

This is the same CPU seen by ESXi 6.5\6.7 ova's pulled from EVE-NG site.

Anyone have any ideas on this? Really wanting to run ESXi7\8 in EVE for testing.

Thank you.

dleonhart
Posts: 7
Joined: Thu Feb 11, 2021 4:40 pm

Re: ESXi node - Add VM and get VT-x not supported

Post by dleonhart » Wed Apr 26, 2023 6:36 pm

To add, it doesnt matter if it my test linux ova or a new VM created from scratch. It is something in the nested ESXi host overall stopping this I think.

Also see this at CLI:

root@eve-ng-pro-vm:~# kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used
root@eve-ng-pro-vm:~#

========================================================================
root@eve-ng-pro-vm:~# lsmod | grep ^kvm_
kvm_intel 311296 27

========================================================================
root@eve-ng-pro-vm:~# lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
Address sizes: 45 bits physical, 48 bits virtual
CPU(s): 16
On-line CPU(s) list: 0-15
Thread(s) per core: 1
Core(s) per socket: 8
Socket(s): 2
NUMA node(s): 2
Vendor ID: GenuineIntel
CPU family: 6
Model: 63
Model name: Intel(R) Xeon(R) CPU E5-2698 v3 @ 2.30GHz
Stepping: 0
CPU MHz: 2294.686
BogoMIPS: 4589.37
Virtualization: VT-x
Hypervisor vendor: VMware
Virtualization type: full
L1d cache: 512 KiB
L1i cache: 512 KiB
L2 cache: 4 MiB
L3 cache: 80 MiB
NUMA node0 CPU(s): 0-7
NUMA node1 CPU(s): 8-15
Vulnerability Itlb multihit: KVM: Vulnerable
Vulnerability L1tf: Mitigation; PTE Inversion; VMX flush not necessary, SMT disabled
Vulnerability Mds: Vulnerable; SMT Host state unknown
Vulnerability Meltdown: Vulnerable
Vulnerability Spec store bypass: Vulnerable
Vulnerability Spectre v1: Vulnerable: __user pointer sanitization and usercopy barriers only; no swapgs barriers
Vulnerability Spectre v2: Vulnerable, IBPB: disabled, STIBP: disabled
Vulnerability Srbds: Not affected
Vulnerability Tsx async abort: Not affected
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_pe
rfmon nopl xtopology tsc_reliable nonstop_tsc cpuid tsc_known_freq pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_t
imer aes xsave avx f16c rdrand hypervisor lahf_lm abm cpuid_fault invpcid_single ssbd ibrs ibpb stibp tpr_shadow vnmi ept vpid fsgsbase tsc_adjust bmi1 a
vx2 smep bmi2 invpcid xsaveopt arat md_clear flush_l1d arch_capabilities
root@eve-ng-pro-vm:~#

Uldis (UD)
Posts: 5067
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: ESXi node - Add VM and get VT-x not supported

Post by Uldis (UD) » Wed Apr 26, 2023 6:46 pm

esxi as node works if it is on bare eve, beuase one layer of virtualization is down, eve itself is hypervisor, and you want get in the small vm inside esxi node also nested virtualization, it is impossible
use some small linux slax for example at least simulate some vm which you want use in vmotion or other vm ware stuff
better mate is not possible

dleonhart
Posts: 7
Joined: Thu Feb 11, 2021 4:40 pm

Re: ESXi node - Add VM and get VT-x not supported

Post by dleonhart » Wed Apr 26, 2023 7:07 pm

I am confused by that, esxi 6.5/6.7 nested like this work fine and you can have a VM in them like I am trying to with 7/8.

Uldis (UD)
Posts: 5067
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: ESXi node - Add VM and get VT-x not supported

Post by Uldis (UD) » Thu Apr 27, 2023 6:46 am

ESXi 7-8 itself have higer requirements than 6.5-6.7

JarodSimon
Posts: 1
Joined: Fri May 26, 2023 6:37 am

Re: ESXi node - Add VM and get VT-x not supported

Post by JarodSimon » Fri May 26, 2023 6:44 am

If it cannot support you, you can choose another method to fix it when the requirements of ESXi 7-8 are higher than 6.5Sonic exe/6.7.

Post Reply