Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrating a redhat VM fails #1261

Open
orko-magic opened this issue Dec 12, 2024 · 0 comments
Open

Migrating a redhat VM fails #1261

orko-magic opened this issue Dec 12, 2024 · 0 comments

Comments

@orko-magic
Copy link

Unable to migrate a redhat VM. From the logs following is the error that is causing the migration to fail

info: installed kernel packages in this guest:
virt-v2v: error: no installed kernel packages were found.

This probably indicates that virt-v2v was unable to inspect this guest properly.

It seems virt-v2v is trying to determine the kernel package in the source VM. It does this by trying to identify the kernel package that contains both the /boot/vmlinuz-* file and the /lib/modules/<version>. Based on the log it examines 4 rpm module using following commands before it fails with above error

rpm -ql kernel-3.10.0-1160.95.1.el7
rpm -ql kernel-headers-3.10.0-1160.95.1.el7
rpm -ql kernel-tools-3.10.0-1160.95.1.el7
rpm -ql kernel-tools-libs-3.10.0-1160.95.1.el7

From the logs it seems tat virt-v2v version used was 2.5.6rhel=9,release=4.el9 (x86_64) and following command was used for conversion

/usr/bin/virt-v2v -v -x -o kubevirt -os /var/tmp/v2v -i libvirt -ic vpx://SVC_PRD_VRA_PXNVR01%[email protected]/Polaris_PCF_NPE03/host/Administration/Pilot/vSphere/PXNPECLVMW32703_T
[virt-v2v.log](https://github.com/user-attachments/files/18104007/virt-v2v.log)
[virt-v2v.log](https://github.com/user-attachments/files/18104009/virt-v2v.log)
EMP/pxnpepcf3270302.gsm1900.org?no_verify=1 -ip /etc/secret/secretKey --root first --mac 00:50:56:be:85:5c:ip:fe80::250:56ff:febe:855c,,64 -it vddk -io vddk-libdir=/opt/vmware-vix-disklib-distrib -io vddk-thumbprint=36:70:74:01:A5:38:8E:B0:EE:9D:29:E4:8E:FA:45:E6:52:0B:03:40 -- tpollcnsd0f54b

Is this a known issue? Would appreciate if you suggest a fix or any work around.

Also attaching the complete log file for analysis
virt-v2v.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant