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

Failed to migrate a VM with NVME disks from vSphere

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • rhel-9.3.0.z
    • virt-v2v
    • None
    • None
    • Moderate
    • sst_virtualization
    • ssg_virtualization
    • 3
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

      What were you trying to do that didn't work?

      Migrate a VM with NVME disks

      Please provide the package NVR for which bug is seen:

      virt-v2v-2.3.4-5.el9.x86_64   

      How reproducible:

      100%

      Steps to reproduce

      1. Create a VM with NVME disks only in vSphere
      2. Try to migrate this VM (it was reported on MTV but the orchestration layer shouldn't matter)

      Expected results

      Migration succeeds

      Actual results

      Got the following output from the conversion pod in MTV:

      ```

      Preparing virt-v2v Starting virt-v2v + ls l /var/tmp/v2v total 4 -rw-rr-. 1 qemu qemu 9 Mar 4 13:44 vmware.pw lrwxrwxrwx. 1 qemu qemu 11 Mar 4 13:44 win2019iis-sda -> /dev/block0 + exec virt-v2v -v -x -i libvirt -ic '[vpx://administrator%40vsphere.local@172.16.15.50/Home/host/Lab/esx1.xphyrlab.net?no_verify=1]' -o local -os /var/tmp/v2v -ip /var/tmp/v2v/vmware.pw -it vddk -io vddk-libdir=/opt/vmware-vix-disklib-distrib -io vddk-thumbprint=4D:1D:51:71:34:68:F0:F2:55:C1:6D:0E:95:F2:2A:64:BC:C1:4A:8F – win2019iis + /usr/local/bin/virt-v2v-monitor I0304 13:44:33.110311 12 virt-v2v-monitor.go:66] Setting up prometheus endpoint :2112/metrics I0304 13:44:33.110521 12 virt-v2v-monitor.go:84] Prometheus progress counter registered. virt-v2v: virt-v2v 2.3.4rhel=9,release=5.el9 (x86_64) libvirt version: 9.5.0 check_host_free_space: large_tmpdir=/var/tmp free_space=169665224704 [ 1.5] Setting up the source: -i libvirt -ic [vpx://administrator%40vsphere.local@172.16.15.50/Home/host/Lab/esx1.xphyrlab.net?no_verify=1] -it vddk win2019iis libvirt xml is: <domain type='vmware' xmlns:vmware='http://libvirt.org/schemas/domain/vmware/1.0'> <name>win2019iis</name> <uuid>4206c55a-8f03-5ef3-eeee-f7590c3f1bf4</uuid> <genid>81ee11ee-baaf-0cf1-d2ec-39a3317aba48</genid> <memory unit='KiB'>8388608</memory> <currentMemory unit='KiB'>8388608</currentMemory> <vcpu placement='static'>4</vcpu> <cputune> <shares>4000</shares> </cputune> <os firmware='efi'> <type arch='x86_64'>hvm</type> </os> <cpu> <topology sockets='2' dies='1' cores='2' threads='1'/> </cpu> <clock offset='utc'/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>destroy</on_crash> <devices> <interface type='vds'> <mac address='00:50:56:86:44:73' type='generated'/> <source switchid='50068557-c6f1-ea32-5067-7cf082709267' portid='79' portgroupid='dvportgroup-1032' connectionid='885704717'/> <model type='vmxnet3'/> </interface> <video> <model type='vmvga' vram='8192' primary='yes'/> </video> </devices> <vmware:datacenterpath>Home</vmware:datacenterpath> <vmware:moref>vm-23008</vmware:moref> </domain> virt-v2v: error: this guest has no non-removable disks rm -rf – '/tmp/v2v.uUYPya'

      ```

            rhn-eng-rjones Richard Jones
            ahadas@redhat.com Arik Hadas
            virt-maint virt-maint
            virt-bugs virt-bugs
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated: