-
Bug
-
Resolution: Done-Errata
-
Undefined
-
rhel-10.1
-
virt-v2v-2.8.1-8.el10
-
Yes
-
Important
-
rhel-virt-tools
-
None
-
False
-
False
-
-
None
-
None
-
Pass
-
RegressionOnly
-
Unspecified
-
Unspecified
-
Unspecified
-
-
x86_64
-
None
Description of problem:
virt-v2v can't convert guest with multiple disks from VMware since nbdkit-1.44.0-1
Version-Release number of selected component (if applicable):
nbdkit-1.44.1-2.el10.x86_64
libnbd-1.22.2-1.el10.x86_64
virt-v2v-2.8.1-2.el10.x86_64
How reproducible:
100%
Steps:
1. Convert a guest with multiple disks from VMware by virt-v2v, but the conversion is failed
# virt-v2v -ic vpx://non-admin%40vsphere.local@10.73.212.129/Folder/Datacenter/Cluster/10.73.225.34/?no_verify=1 -it vddk -io vddk-libdir=/home/vddk8.0.3 -io vddk-thumbprint=CB:9F:B1:9D:33:49:6C:60:AD:3C:A5:16:77:91:5F:CD:1B:24:B1:43 -ip /home/passwd esx8.0-win11-efi-tpm-with-thick-provision --key all:key:245058-628452-035684-655050-559064-719092-139810-713339 [ 0.0] Setting up the source: -i libvirt -ic vpx://non-admin%40vsphere.local@10.73.212.129/Folder/Datacenter/Cluster/10.73.225.34/?no_verify=1 -it vddk esx8.0-win11-efi-tpm-with-thick-provision [ 2.1] Opening the source nbdkit: vddk[1]: error: access denied: client requested "[datastore1 (3)] esx8.0-win11-efi-secureboot-with-vtpm-and-turn-on-bitlocker/esx8.0-win11-efi-secureboot-with-vtpm-and-turn-on-bitlocker.vmdk" which does not match export="\[datastore1 (3)\] esx8.0-win11-efi-secureboot-with-vtpm-and-turn-on-bitlocker/esx8.0-win11-efi-secureboot-with-vtpm-and-turn-on-bitlocker\*.vmdk" nbdkit: vddk[1]: error: access denied: client requested "[datastore1 (3)] esx8.0-win11-efi-secureboot-with-vtpm-and-turn-on-bitlocker/esx8.0-win11-efi-secureboot-with-vtpm-and-turn-on-bitlocker.vmdk" which does not match export="\[datastore1 (3)\] esx8.0-win11-efi-secureboot-with-vtpm-and-turn-on-bitlocker/esx8.0-win11-efi-secureboot-with-vtpm-and-turn-on-bitlocker\*.vmdk" nbdkit: vddk[1]: error: access denied: client requested "[datastore1 (3)] esx8.0-win11-efi-secureboot-with-vtpm-and-turn-on-bitlocker/esx8.0-win11-efi-secureboot-with-vtpm-and-turn-on-bitlocker.vmdk" which does not match export="\[datastore1 (3)\] esx8.0-win11-efi-secureboot-with-vtpm-and-turn-on-bitlocker/esx8.0-win11-efi-secureboot-with-vtpm-and-turn-on-bitlocker\*.vmdk" nbdkit: vddk[1]: error: access denied: client requested "[datastore1 (3)] esx8.0-win11-efi-secureboot-with-vtpm-and-turn-on-bitlocker/esx8.0-win11-efi-secureboot-with-vtpm-and-turn-on-bitlocker.vmdk" which does not match export="\[datastore1 (3)\] esx8.0-win11-efi-secureboot-with-vtpm-and-turn-on-bitlocker/esx8.0-win11-efi-secureboot-with-vtpm-and-turn-on-bitlocker\*.vmdk" nbdkit: vddk[1]: error: access denied: client requested "[datastore1 (3)] esx8.0-win11-efi-secureboot-with-vtpm-and-turn-on-bitlocker/esx8.0-win11-efi-secureboot-with-vtpm-and-turn-on-bitlocker.vmdk" which does not match export="\[datastore1 (3)\] esx8.0-win11-efi-secureboot-with-vtpm-and-turn-on-bitlocker/esx8.0-win11-efi-secureboot-with-vtpm-and-turn-on-bitlocker\*.vmdk" nbdkit: vddk[1]: error: access denied: client requested "[datastore1 (3)] esx8.0-win11-efi-secureboot-with-vtpm-and-turn-on-bitlocker/esx8.0-win11-efi-secureboot-with-vtpm-and-turn-on-bitlocker.vmdk" which does not match export="\[datastore1 (3)\] esx8.0-win11-efi-secureboot-with-vtpm-and-turn-on-bitlocker/esx8.0-win11-efi-secureboot-with-vtpm-and-turn-on-bitlocker\*.vmdk" virt-v2v: error: libguestfs error: could not create appliance through libvirt. Original error from libvirt: internal error: process exited while connecting to monitor: 2025-07-10T07:37:44.723249Z qemu-kvm: -blockdev {"driver":"nbd","server":{"type":"unix","path":"/tmp/v2v.vr2zth/in0"},"export":"[datastore1 (3)] esx8.0-win11-efi-secureboot-with-vtpm-and-turn-on-bitlocker/esx8.0-win11-efi-secureboot-with-vtpm-and-turn-on-bitlocker.vmdk","node-name":"libvirt-3-storage","read-only":false,"discard":"unmap","cache":{"direct":false,"no-flush":true}}: Requested export not available server reported: access denied: client requested "[datastore1 (3)] esx8.0-win11-efi-secureboot-with-vtpm-and-turn-on-bitlocker/esx8.0-win11-efi-secureboot-with-vtpm-and-turn-on-bitlocker.vmdk" which does not match export="\[datastore1 (3)\] esx8.0-win11-efi-secureboot-with-vtpm-and-turn-on-bitlocker/esx8.0-win11-efi-secureboot-with-vtpm-and-turn-on-bitlocker\*.vmdk" [code=1 int1=-1] 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 on rhel9.7
# rpm -q nbdkit libnbd virt-v2v nbdkit-1.38.5-12.el9.x86_64 libnbd-1.20.3-4.el9.x86_64 virt-v2v-2.7.1-13.el9.x86_64 # virt-v2v -ic vpx://non-admin%40vsphere.local@10.73.212.129/Folder/Datacenter/Cluster/10.73.225.34/?no_verify=1 -it vddk -io vddk-libdir=/home/vddk8.0.3 -io vddk-thumbprint=CB:9F:B1:9D:33:49:6C:60:AD:3C:A5:16:77:91:5F:CD:1B:24:B1:43 -ip /home/passwd esx8.0-win11-efi-tpm-with-thick-provision --key all:key:245058-628452-035684-655050-559064-719092-139810-713339 -o null [ 0.0] Setting up the source: -i libvirt -ic vpx://non-admin%40vsphere.local@10.73.212.129/Folder/Datacenter/Cluster/10.73.225.34/?no_verify=1 -it vddk esx8.0-win11-efi-tpm-with-thick-provision [ 2.9] Opening the source [ 45.0] Inspecting the source [ 53.4] Checking for sufficient free disk space in the guest [ 53.4] Converting Windows 10 Education (win11) to run on KVM virt-v2v: This guest has virtio drivers installed. [ 86.7] Setting a random seed virt-v2v: warning: random seed could not be set for this type of guest [ 86.7] SELinux relabelling [ 87.1] Mapping filesystem data to avoid copying unused and blank areas virt-v2v: warning: fstrim on guest filesystem /dev/mapper/cryptsda3 failed. Usually you can ignore this message. To find out more read "Trimming" in virt-v2v(1). Original message: fstrim: fstrim: /sysroot/: the discard operation is not supported [ 89.1] Closing the overlay [ 89.4] Assigning disks to buses [ 89.4] Checking if the guest needs BIOS or UEFI to boot virt-v2v: This guest requires UEFI on the target to boot. [ 89.4] Setting up the destination: -o null [ 91.4] Copying disk 1/2 █ 100% [****************************************] [ 558.3] Copying disk 2/2 █ 100% [****************************************] [ 559.2] Creating output metadata [ 559.2] Finishing off
- links to
-
RHBA-2025:149949
virt-v2v bug fix and enhancement update