Category Archives: Virtualization

Error in ioctl(CPT_TEST_VECAPS): Resource temporarily unavailable

OpenVZ is running…
Checking for CPT version compatibility
Checking for CPU flags compatibility
Error: CT is locked
Error in ioctl(CPT_TEST_VECAPS): Resource temporarily unavailable
Error: CPU capabilities check failed!
Error: Destination node CPU is not compatible
Error: Can’t continue live migration

Reboot not help:

vzctl restart CTID
Restarting container
Stopping container …
Child 441850 exited with status 7
Killing container …
Child 441851 exited with status 7
Unable to stop container

Fix:

vzctl chkpnt CTID --kill

enable kvm nested

cat /sys/module/kvm_intel/parameters/nested
N
Temporarily remove the KVM intel Kernel module, enable nested virtualization to be persistent across reboots and add the Kernel module back:

sudo rmmod kvm-intel
sudo sh -c “echo ‘options kvm-intel nested=y’ >> /etc/modprobe.d/dist.conf”
sudo modprobe kvm-intel
Ensure the Nested KVM Kernel module parameter for Intel is enabled on the host:

cat /sys/module/kvm_intel/parameters/nested
Y

modinfo kvm_intel | grep nested
parm: nested:bool