Uploaded image for project: 'Migration Toolkit for Virtualization'
  1. Migration Toolkit for Virtualization
  2. MTV-2362

Can't migrate guests from secure esxi proivder on MTV

XMLWordPrintable

    • MTV Sprint 1
    • +

      Description of problem:
      Can't migrate guests from secure esxi proivder on MTV

      Version-Release number of selected component (if applicable):

      MTV 2.8.0
      OCP 4.17.22

      How reproducible:

      100%
      

      Steps to Reproduce:
      1. Create a esxi provider with verifying certification on MTV

      2. Migrate a guest from VMware via the provider of step1 but the test plan is failed, check the pod log, The v2v command is as follows, which is incorrect

      exec: /usr/bin/virt-v2v -v -x -o kubevirt -os /var/tmp/v2v -i libvirt -ic esx://root@dell-per750-10.lab.eng.pek2.redhat.com -ip /etc/secret/secretKey --root first -it vddk -io vddk-libdir=/opt/vmware-vix-disklib-distrib -io vddk-thumbprint=56:BB:62:FE:05:D6:72:C6:02:D4:F4:01:8C:07:51:15:F4:07:BA:67 -on esx8.0-rhel8.9-x86-64-efi -- esx8.0-rhel8.9-x86_64-efi

      Actual results:
      As above description

      Expected results:
      Fix the bug

      Additional info:
      Can't reproduce the bug on RHEL9.6

      #  virt-v2v -ic esx://root@10.73.212.36  -it vddk -io vddk-libdir=/home/vddk8.0.3 -io vddk-thumbprint=56:BB:62:FE:05:D6:72:C6:02:D4:F4:01:8C:07:51:15:F4:07:BA:67  -ip /home/esxpwd  esx8.0-rhel8.9-x86_64-efi
      [   0.0] Setting up the source: -i libvirt -ic esx://root@10.73.212.36 -it vddk esx8.0-rhel8.9-x86_64-efi
      2025-04-08 03:32:26.511+0000: 60243: info : libvirt version: 10.10.0, package: 7.1.el9_6 (Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>, 2025-03-07-07:48:15, )
      2025-04-08 03:32:26.511+0000: 60243: info : hostname: dell-per660-05.lab.eng.pek2.redhat.com
      2025-04-08 03:32:26.511+0000: 60243: warning : esxConnectOpen:803 : Ignoring unexpected path '' for non-vpx scheme 'esx'
      [   1.4] Opening the source
      [   7.6] Inspecting the source
      [  19.8] Checking for sufficient free disk space in the guest
      [  19.8] Converting Red Hat Enterprise Linux 8.9 Beta (Ootpa) (rhel8.9) to run on KVM
      virt-v2v: The QEMU Guest Agent will be installed for this guest at first 
      boot.
      virt-v2v: This guest has virtio drivers installed.
      [  66.6] Setting a random seed
      [  66.7] SELinux relabelling
      [  79.2] Mapping filesystem data to avoid copying unused and blank areas
      [  80.0] Closing the overlay
      [  80.3] Assigning disks to buses
      [  80.3] Checking if the guest needs BIOS or UEFI to boot
      virt-v2v: This guest requires UEFI on the target to boot.
      [  80.3] Setting up the destination: -o libvirt
      [  81.8] Copying disk 1/1
      █ 100% [****************************************]
      [ 184.9] Creating output metadata
      [ 184.9] Finishing off

              mnecas@redhat.com Martin Necas
              mxie@redhat.com Ming Xie
              Ameen Barakat Ameen Barakat
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: