Diagnostics
- Connect to the cluster node via SSH.
-
Check whether nested virtualization is enabled:
cat /sys/module/kvm_*/parameters/nested
Examples of responses:
- "Y", "1" — nested virtualization is enabled;
- "N", "0" — nested virtualization is disabled.
Solution
To disable nested virtualization before the cluster node reboots:
- Connect to the cluster node via SSH.
- Run the commands:
-
for Intel CPU:
modprobe -r kvm_intel
modprobe kvm_intel nested=0
-
for AMD CPU:
modprobe -r kvm_amd
modprobe kvm_amd nested=0
-
To completely disable nested virtualization:
- Connect to the cluster node via SSH.
- Specify the following in the /etc/modprobe.d/kvm.conf configuration file:
-
for Intel CPU:
options kvm_intel nested=0
-
for AMD CPU:
options kvm_amd nested=0
-