Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-121728

v2v can't convert guest with multiple windows OS on rhel10

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • rhel-10.2
    • rhel-10.2
    • virt-v2v
    • None
    • virt-v2v-2.9.9-1.el10
    • Yes
    • Important
    • rhel-virt-tools
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Requested
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      Description of problem:
      v2v can't convert guest with multiple windows OS on rhel10

      Version-Release number of selected component (if applicable):
      virt-v2v-2.9.8-1.el10.x86_64
      libguestfs-1.57.4-1.el10.x86_64
      guestfs-tools-1.54.0-5.el10.x86_64
      nbdkit-1.45.7-1.el10.x86_64
      libnbd-1.23.7-1.el10.x86_64

      How reproducible:
      100%

      Steps:
      1. Prepare a guest with two disks, each containing a Windows OS on VMware, then convert the guest from VMware to local libvirt by virt-v2v

      # virt-v2v -ic vpx://non-admin%40vsphere.local@10.73.213.134/data/cluster/10.73.212.36/?no_verify=1  -it vddk -io vddk-libdir=/home/vddk8.0.3  -io vddk-thumbprint=C3:83:1D:C0:6D:4C:47:83:5A:B9:6E:0E:FA:5A:15:22:B4:75:D5:7E -ip /home/passwd esx8.0-win11-efi-for-bug-RHEL-119802
      [   0.0] Setting up the source: -i libvirt -ic vpx://non-admin%40vsphere.local@10.73.213.134/data/cluster/10.73.212.36/?no_verify=1 -it vddk esx8.0-win11-efi-for-bug-RHEL-119802
      [   1.6] Opening the source
      nbdkitin: : vddk[1]: error: access denied: client requested "[esx8.0-function-2] esx8.0-win11-efi-for-bug-RHEL-119802/esx8.0-win11-efi-for-bug-RHEL-119802.vmdk" which does not match export="\[esx8.0-*.vmdk"
      nbdkitin: : vddk[1]: error: access denied: client requested "[esx8.0-function-2] esx8.0-win11-efi-for-bug-RHEL-119802/esx8.0-win11-efi-for-bug-RHEL-119802.vmdk" which does not match export="\[esx8.0-*.vmdk"
      nbdkitin: : vddk[1]: error: access denied: client requested "[esx8.0-function-2] esx8.0-win11-efi-for-bug-RHEL-119802/esx8.0-win11-efi-for-bug-RHEL-119802.vmdk" which does not match export="\[esx8.0-*.vmdk"
      nbdkitin: : vddk[1]: error: access denied: client requested "[esx8.0-function-2] esx8.0-win11-efi-for-bug-RHEL-119802/esx8.0-win11-efi-for-bug-RHEL-119802.vmdk" which does not match export="\[esx8.0-*.vmdk"
      nbdkitin: : vddk[1]: error: access denied: client requested "[esx8.0-function-2] esx8.0-win11-efi-for-bug-RHEL-119802/esx8.0-win11-efi-for-bug-RHEL-119802.vmdk" which does not match export="\[esx8.0-*.vmdk"
      nbdkitin: : vddk[1]: error: access denied: client requested "[esx8.0-function-2] esx8.0-win11-efi-for-bug-RHEL-119802/esx8.0-win11-efi-for-bug-RHEL-119802.vmdk" which does not match export="\[esx8.0-*.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-10-16T06:07:55.871908Z qemu-kvm: -blockdev 
      {"driver":"nbd","server":{"type":"unix","path":"/tmp/v2v.iWzAY5/in0"},"export":"[esx8.0-function-2] 
      esx8.0-win11-efi-for-bug-RHEL-119802/esx8.0-win11-efi-for-bug-RHEL-119802.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 "[esx8.0-function-2] 
      esx8.0-win11-efi-for-bug-RHEL-119802/esx8.0-win11-efi-for-bug-RHEL-119802.vmdk" 
      which does not match export="\[esx8.0-*.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
      1. Can't reproduce the bug on rhel9

       

      #  rpm -q virt-v2v libguestfs guestfs-tools nbdkit libnbd
      virt-v2v-2.7.1-16.el9.x86_64
      libguestfs-1.54.0-11.el9.x86_64
      guestfs-tools-1.52.2-6.el9.x86_64
      nbdkit-1.38.5-12.el9.x86_64
      libnbd-1.20.3-4.el9.x86_64
       
      # virt-v2v -ic vpx://non-admin%40vsphere.local@10.73.213.134/data/cluster/10.73.212.36/?no_verify=1  -it vddk -io vddk-libdir=/home/vddk8.0.3  -io vddk-thumbprint=C3:83:1D:C0:6D:4C:47:83:5A:B9:6E:0E:FA:5A:15:22:B4:75:D5:7E -ip /home/passwd esx8.0-win11-efi-for-bug-RHEL-119802
      [   0.1] Setting up the source: -i libvirt -ic vpx://non-admin%40vsphere.local@10.73.213.134/data/cluster/10.73.212.36/?no_verify=1 -it vddk esx8.0-win11-efi-for-bug-RHEL-119802
      [   4.0] Opening the source
      [  49.5] Inspecting the source
      ***
      Dual- or multi-boot operating system detected.  Choose the root filesystem
      that contains the main operating system from the list below:
       [1] /dev/sda3 (Windows 10 Enterprise)
       [2] /dev/sdc2 (Windows 10 Enterprise)
      Enter a number between 1 and 2, or ‘exit’: 1
      [1139.7] Checking for sufficient free disk space in the guest
      [1139.7] Converting Windows 10 Enterprise (win11) to run on KVM
      virt-v2v: This guest has virtio drivers installed.
      [1162.8] Setting a random seed
      virt-v2v: warning: random seed could not be set for this type of guest
      [1162.9] SELinux relabelling
      [1163.1] Mapping filesystem data to avoid copying unused and blank areas
      [1170.0] Closing the overlay
      [1170.4] Assigning disks to buses
      [1170.4] Checking if the guest needs BIOS or UEFI to boot
      virt-v2v: This guest requires UEFI on the target to boot.
      [1170.4] Setting up the destination: -o libvirt
      [1175.7] Copying disk 1/3
      █ 100% [****************************************]
      [1720.5] Copying disk 2/3
      █ 100% [****************************************]
      [1723.6] Copying disk 3/3
      █ 100% [****************************************]
      [2258.9] Creating output metadata
      [2258.9] Finishing off
      

       

      2. Can reproduce the bug on rhel10.1 as well

      # rpm -q virt-v2v libguestfs guestfs-tools nbdkit libnbd
      virt-v2v-2.8.1-10.el10_1.x86_64
      libguestfs-1.56.1-3.el10.x86_64
      guestfs-tools-1.54.0-3.el10.x86_64
      nbdkit-1.44.1-2.el10.x86_64
      libnbd-1.22.2-2.el10.x86_64
       
      # virt-v2v -ic vpx://non-admin%40vsphere.local@10.73.213.134/data/cluster/10.73.212.36/?no_verify=1  -it vddk -io vddk-libdir=/home/vddk8.0.3  -io vddk-thumbprint=C3:83:1D:C0:6D:4C:47:83:5A:B9:6E:0E:FA:5A:15:22:B4:75:D5:7E -ip /home/passwd esx8.0-win11-efi-for-bug-RHEL-119802
      [   0.3] Setting up the source: -i libvirt -ic vpx://non-admin%40vsphere.local@10.73.213.134/data/cluster/10.73.212.36/?no_verify=1 -it vddk esx8.0-win11-efi-for-bug-RHEL-119802
      [   1.9] Opening the source
      nbdkit: vddk[1]: error: access denied: client requested "[esx8.0-function-2] esx8.0-win11-efi-for-bug-RHEL-119802/esx8.0-win11-efi-for-bug-RHEL-119802.vmdk" which does not match export="\[esx8.0-*.vmdk"
      nbdkit: vddk[1]: error: access denied: client requested "[esx8.0-function-2] esx8.0-win11-efi-for-bug-RHEL-119802/esx8.0-win11-efi-for-bug-RHEL-119802.vmdk" which does not match export="\[esx8.0-*.vmdk"
      nbdkit: vddk[1]: error: access denied: client requested "[esx8.0-function-2] esx8.0-win11-efi-for-bug-RHEL-119802/esx8.0-win11-efi-for-bug-RHEL-119802.vmdk" which does not match export="\[esx8.0-*.vmdk"
      nbdkit: vddk[1]: error: access denied: client requested "[esx8.0-function-2] esx8.0-win11-efi-for-bug-RHEL-119802/esx8.0-win11-efi-for-bug-RHEL-119802.vmdk" which does not match export="\[esx8.0-*.vmdk"
      nbdkit: vddk[1]: error: access denied: client requested "[esx8.0-function-2] esx8.0-win11-efi-for-bug-RHEL-119802/esx8.0-win11-efi-for-bug-RHEL-119802.vmdk" which does not match export="\[esx8.0-*.vmdk"
      nbdkit: vddk[1]: error: access denied: client requested "[esx8.0-function-2] esx8.0-win11-efi-for-bug-RHEL-119802/esx8.0-win11-efi-for-bug-RHEL-119802.vmdk" which does not match export="\[esx8.0-*.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-10-16T06:08:31.682259Z qemu-kvm: -blockdev 
      {"driver":"nbd","server":{"type":"unix","path":"/tmp/v2v.82Xf3E/in0"},"export":"[esx8.0-function-2] 
      esx8.0-win11-efi-for-bug-RHEL-119802/esx8.0-win11-efi-for-bug-RHEL-119802.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 "[esx8.0-function-2] 
      esx8.0-win11-efi-for-bug-RHEL-119802/esx8.0-win11-efi-for-bug-RHEL-119802.vmdk" 
      which does not match export="\[esx8.0-*.vmdk" [code=1 int1=-1]
      If reporting bugs, run virt-v2v with debugging enabled and include the 
      complete output:
        virt-v2v -v -x [...]
      

       

       

              rhn-eng-rjones Richard Jones
              mxie@redhat.com Ming Xie
              virt-maint virt-maint
              virt-bugs virt-bugs
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated: