-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
rhel-10.1
-
Yes
-
None
-
rhel-virt-tools
-
None
-
False
-
False
-
-
None
-
None
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
-
-
x86_64
-
None
Description of problem:
Virt-v2v fails to convert guest with multiple OS due to dirty system
Version-Release number of selected component (if applicable):
virt-v2v-2.8.0-2.el10.x86_64
libguestfs-1.56.0-1.el10.1.x86_64
guestfs-tools-1.54.0-2.el10.x86_64
libguestfs-fssupport-10.1-3.el10.x86_64
How reproducible:
100%
Steps:
1. Prepare a guest with less than 100 nodes on VMware and convert the guest from Vmware by virt-v2v
# virt-v2v -ic vpx://administrator%40vsphere.local@10.73.213.102/data/10.73.212.38/?no_verify=1 -it vddk -io vddk-libdir=/home/vddk7.0.3 -io vddk-thumbprint=86:25:2F:5E:74:5C:43:D9:28:62:31:E0:1F:BB:1F:FD:AC:18:A5:93 -ip /home/passwd esx7.0-rhel7.9-rhel8.4-multiple_linux_os [ 0.0] Setting up the source: -i libvirt -ic vpx://administrator%40vsphere.local@10.73.213.102/data/10.73.212.38/?no_verify=1 -it vddk esx7.0-rhel7.9-rhel8.4-multiple_linux_os [ 1.7] Opening the source [ 17.2] Checking filesystem integrity before conversion virt-v2v: error: detected errors on the XFS filesystem on /dev/rhel_bootp-73-199-22/root If reporting bugs, run virt-v2v with debugging enabled and include the complete output: virt-v2v -v -x [...]
Actual result:
As above description
Expect result:
Fix the bug
Additional info
Can't reproduce the bug on rhel9
# virt-v2v -ic vpx://administrator%40vsphere.local@10.73.213.102/data/10.73.212.38/?no_verify=1 -it vddk -io vddk-libdir=/home/vddk7.0.3 -io vddk-thumbprint=86:25:2F:5E:74:5C:43:D9:28:62:31:E0:1F:BB:1F:FD:AC:18:A5:93 -ip /home/passwd esx7.0-rhel7.9-rhel8.4-multiple_linux_os --root first [ 0.0] Setting up the source: -i libvirt -ic vpx://administrator%40vsphere.local@10.73.213.102/data/10.73.212.38/?no_verify=1 -it vddk esx7.0-rhel7.9-rhel8.4-multiple_linux_os [ 1.9] Opening the source [ 9.0] Inspecting the source virt-v2v: Picked /dev/rhel_bootp-73-199-22/root because '--root first' was used. [ 30.7] Checking for sufficient free disk space in the guest [ 30.7] Converting Red Hat Enterprise Linux Server 7.9 (Maipo) (rhel7.9) to run on KVM virt-v2v: This guest has virtio drivers installed. [ 168.3] Setting a random seed [ 168.4] SELinux relabelling [ 196.3] Mapping filesystem data to avoid copying unused and blank areas [ 198.8] Closing the overlay [ 199.2] Assigning disks to buses [ 199.2] Checking if the guest needs BIOS or UEFI to boot [ 199.2] Setting up the destination: -o libvirt [ 200.8] Copying disk 1/1 █ 100% [****************************************] [ 425.0] Creating output metadata [ 425.3] Finishing off