Symptoms
Linux VM migration from Virtuozzo 6 to Virtuozzo 7 fails on the stage of VM conversion on the destination node.
On the destination Virtuozzo 7 node you may see following error in /var/log/prl-disp.log:
libguestfs: trace: v2v: aug_get "/files/boot/grub/grub.conf/title[2]/kernel" 04-09 06:03:48.311 F /disp:20997:413732/ guestfsd: <=> aug_get (0x13) took 0.00 secs 04-09 06:03:48.311 F /disp:20997:413732/ libguestfs: trace: v2v: aug_get = NULL (error) 04-09 06:03:48.311 F /disp:20997:413732/ virt-v2v: error: libguestfs error: aug_get: no matching node</=>
Cause
Guest OS has invalid grub.conf that does not allow the VM to start on the destination node.
Misconfigurations of the grub.conf may include, but not limited to:
- incorrect default kernel to boot,
- typos after manual grub corrections
On the example below you may observe non-existing default boot kernel as possible misconfiguration:
splashimage (,0)/boot/grub/splash.xpm.gz timeout=5 default=1 title CentOS Linux 7 (3.10.0-1062.12.1.el7.x86_64) root (,0) kernel /boot/vmlinuz-3.10.0-1062.12.1.el7.x86_64 ro selinux=0 noselinux net.ifnames=0 root=/dev/sda1 nopku noibrs noibpb retp initrd /boot/initrd-3.10.0-1062.12.1.el7.x86_64.img
Resolution
Correct the grub.conf on the source VM on Virtuozzo 6 node and retry the VM migration. To locate the misconfiguration, consult with the documentation from the vendors of the Guest OS you are using.
Example above with corrections:
splashimage=(hd0,0)/boot/grub/splash.xpm.gz timeout=5 default=0 <--- title="title">root (hd0,0) <---></---></--->