PDA

View Full Version : Virtualizor: fixed issue with enabling OpenVZ+KVM (Multi virtualization)



Fli
07-18-2017, 12:55 PM
Virtualizor not enabled Multi virtualization on a KVM kernel (KVM+OpenVZ), but after reboot and retry, it worked.

I have installed CentOS 6.9 64bit + Virtualizor (kvm kernel) according to this full tutorial (https://internetlifeforum.com/virtualisation/8351-virtualizor-kvm-openvz-installation-tutorial-centos-6-9-64bit/) and then in Virtualizor / Settings / enabled "Multi virtualization" function. It said:
"The process is running in the background."

tail -f /var/virtualizor/log/multivirt
Progress: 5: Downloading Installer
Progress: 10: Including Installer Libs
Progress: 15: Installer Libs have been included
Progress: 20: Checking for openvz kernel already being installed
Progress: 25: Installing openvz

nothing else.

server was rebooted more than hour after that

grub.conf shows:


default=0
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title OpenVZ (2.6.32-042stab123.9)
root (hd0,0)
kernel /boot/vmlinuz-2.6.32-042stab123.9 ro root=UUID=*** rd_NO_LUKS KEYBOARDTYPE=pc KEYTABLE=us LANG=en_US.UTF-8 rd_NO_MD nofb quiet splash=quiet SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_NO_LVM rd_NO_DM rhgb quiet
initrd /boot/initramfs-2.6.32-042stab123.9.img
title CentOS (2.6.32-696.6.3.el6.x86_64)
root (hd0,0)
...

current kernel (uname -r): 2.6.32-042stab123.9

When i try to Create VPS from within Virtualizor, i do not see any virtualization type selection.

When i tried to enable "multi virtualization" again and checked the log, it finished:

Progress: 5: Downloading Installer
Progress: 10: Including Installer Libs
Progress: 15: Installer Libs have been included
Progress: 20: Checking for openvz kernel already being installed
Progress: 90: Saving kernel info
Progress: 100: Finished
and the Multi virtualization page shown: "The Server is already converted to a multi virtualization server : kvm openvz"

So it is good now and works. I can now select OpenVZ virtualization for newly created VPS.