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

Warn when migrating Virtual Machine with independent (persistent) disk from VMware

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • 2.6.2
    • None
    • None
    • Moderate

      Importer pods gets into ERROR state:

      $ omc get pods -o wide| grep sl824-vm16-vm-1054-hdqz2
      sl824-vm16-vm-1054-hdqz2 0/1 Error 0 18h 10.129.0.38 slabnode2202.sprintlab704.tre.nsn-rdnet.net <none> <none>

      Importer logs:

      ~~~
      2024-03-18T10:38:52.542052019Z nbdkit: vddk[1]: debug: VixDiskLib: VixDiskLib_ConnectEx: Establish connection using (null).
      2024-03-18T10:38:52.542052019Z nbdkit: vddk[1]: debug: VixDiskLib: VixDiskLibConnectInt: Establish connection.
      2024-03-18T10:38:52.542153911Z nbdkit: vddk[1]: debug: VixDiskLib: Resolve host.
      2024-03-18T10:38:52.606546348Z nbdkit: vddk[1]: debug: 2024-03-18T10:38:52.606Z error -[00130] [Originator@6876 sub=Default] Cannot use advanced transport modes for XX.XX.XX.XX/moref=vm-1054/: Cannot create directory /tmp/vmware-qemu/4
      210d475-a9ce-16f2-65f1-9feb4268f58f-vm-1054.
      2024-03-18T10:38:52.608976873Z nbdkit: vddk[1]: debug: VixDiskLib: VixDiskLib_ConnectEx: Advanced transport modes not available for opening moref=vm-1054. (Cannot use advanced transport modes for XX.XX.XX.XX/moref=vm-1054/: Cannot crea
      te directory /tmp/vmware-qemu/4210d475-a9ce-16f2-65f1-9feb4268f58f-vm-1054.)
      2024-03-18T10:38:52.609020254Z nbdkit: vddk[1]: debug: VDDK call: VixDiskLib_Open (connection, [VMGuestDisk2] sprintlab824vm16/isdk_disk1.vmdk, 4, &handle)
      2024-03-18T10:38:52.609059971Z nbdkit: vddk[1]: debug: VixDiskLib: VixDiskLib_OpenEx: Open a disk.
      2024-03-18T10:38:52.669312357Z nbdkit: vddk[1]: debug: 2024-03-18T10:38:52.669Z error -[00130] [Originator@6876 sub=vimaccess] The disk '[VMGuestDisk2] sprintlab824vm16/isdk_disk1.vmdk' is not found for VM vm-1054.
      2024-03-18T10:38:52.669312357Z nbdkit: vddk[1]: debug: 2024-03-18T10:38:52.669Z error -[00130] [Originator@6876 sub=vimaccess] GetFileName: Cannot create disk spec for disk [VMGuestDisk2] sprintlab824vm16/isdk_disk1.vmdk.
      2024-03-18T10:38:52.669345205Z nbdkit: vddk[1]: debug: -->
      2024-03-18T10:38:52.669374776Z nbdkit: vddk[1]: debug: VixDiskLib: Error occurred when obtaining the file name for [VMGuestDisk2] sprintlab824vm16/isdk_disk1.vmdk. Error 1 (Unknown error) (Cannot create disk spec for disk.) at 3430.
      2024-03-18T10:38:52.671756123Z nbdkit: vddk[1]: debug: VixDiskLib: VixDiskLib_OpenEx: Cannot open disk [VMGuestDisk2] sprintlab824vm16/isdk_disk1.vmdk. Error 1 (Unknown error) at 7072.
      2024-03-18T10:38:52.671756123Z nbdkit: vddk[1]: debug: VixDiskLib: VixDiskLib_Open: Cannot open disk [VMGuestDisk2] sprintlab824vm16/isdk_disk1.vmdk. Error 1 (Unknown error) at 7146.
      2024-03-18T10:38:52.671756123Z nbdkit: vddk[1]: debug: VDDK call: VixDiskLib_GetErrorText (1)
      2024-03-18T10:38:52.671756123Z nbdkit: vddk[1]: error: VixDiskLib_Open: [VMGuestDisk2] sprintlab824vm16/isdk_disk1.vmdk: Unknown error
      2024-03-18T10:38:52.671756123Z nbdkit: vddk[1]: debug: VDDK call: VixDiskLib_FreeErrorText ()
      2024-03-18T10:38:52.671787077Z nbdkit: vddk[1]: error: Please verify whether the "thumbprint" parameter (90:26:4A:B0:DB:55:58:81:84:2D:4D:1C:A0:4A:DB:B9:4E:9C:F0:EA) matches the SHA1 fingerprint of the remote VMware server. Refer to nbd
      kit-vddk-plugin(1) section "THUMBPRINTS" for details.
      2024-03-18T10:38:52.671787077Z nbdkit: vddk[1]: debug: VDDK call: VixDiskLib_Disconnect (connection)
      2024-03-18T10:38:52.671803290Z nbdkit: vddk[1]: debug: VixDiskLib: VixDiskLib_Disconnect: Disconnect.
      2024-03-18T10:38:52.671820959Z nbdkit: vddk[1]: debug: VixDiskLib: Backup Failure Function: VixDiskLib_Open
      2024-03-18T10:38:52.671836023Z nbdkit: vddk[1]: debug: VixDiskLib: Backup Failure Error: 1
      2024-03-18T10:38:52.671836023Z nbdkit: vddk[1]: debug: VixDiskLib: VixDiskLib_FreeConnectParams: Free connection parameters.
      2024-03-18T10:38:52.671850889Z nbdkit: vddk[1]: debug: VDDK call: VixDiskLib_FreeConnectParams (params)
      2024-03-18T10:38:52.671880913Z nbdkit: vddk[1]: debug: VixDiskLib: VixDiskLib_FreeConnectParams: Free connection parameters.
      2024-03-18T10:38:52.671897452Z nbdkit: vddk[1]: debug: vddk: open returned handle (nil)
      2024-03-18T10:38:52.671897452Z nbdkit: vddk[1]: debug: could not recover after 5 retries
      2024-03-18T10:38:52.671912460Z nbdkit: vddk[1]: debug: retry: open returned handle (nil)
      2024-03-18T10:38:52.671927244Z nbdkit: vddk[1]: debug: cacheextents: open returned handle (nil)
      2024-03-18T10:38:52.671942174Z nbdkit: vddk[1]: debug: blocksize: open returned handle (nil)
      2024-03-18T10:38:52.671942174Z nbdkit: vddk[1]: debug: cow: open returned handle (nil)
      2024-03-18T10:38:52.671942174Z nbdkit: vddk[1]: debug: multi-conn: open returned handle (nil)
      2024-03-18T10:38:52.671958211Z nbdkit: vddk[1]: debug: replying to NBD_OPT_GO with NBD_REP_ERR_UNKNOWN
      2024-03-18T10:38:52.671994113Z nbdkit: vddk[1]: debug: replying to NBD_OPT_ABORT with NBD_REP_ACK
      2024-03-18T10:38:52.671994113Z nbdkit: vddk[1]: debug: write: NBD_OPT_ABORT: Broken pipe
      2024-03-18T10:38:52.673603618Z qemu-kvm: -drive file=nbd:unix:/tmp/v2v.j1iPPC/in1,cache=unsafe,format=raw,discard=unmap,id=hd1,if=none: Requested export not available

      2024-03-18T10:38:52.676227390Z nbdkit: vddk[1]: debug: VDDK call: VixDiskLib_Close (handle)
      2024-03-18T10:38:52.676245049Z nbdkit: vddk[1]: debug: VixDiskLib: VixDiskLib_Close: Close disk.
      2024-03-18T10:38:52.676950585Z libguestfs: child_cleanup: 0x556490efb2f0: child process died
      2024-03-18T10:38:52.676979782Z libguestfs: sending SIGTERM to process 120
      2024-03-18T10:38:52.680429853Z libguestfs: trace: v2v: launch = -1 (error)
      2024-03-18T10:38:52.680429853Z virt-v2v: error: libguestfs error: guestfs_launch failed, see earlier error messages
      2024-03-18T10:38:52.680458808Z rm -rf – '/tmp/v2vnbdkit.JInWen'
      ~~~

      Version-Release number of selected component (if applicable):
      Cluster Version: 4.14.13
      mtv-operator: v2.5.5
      OCP-V: 4.14.3

      Steps to Reproduce:
      Attach independent persistent disk to the  Virtual Machine in VMware and Migrate VM to OCP-V using MTV

              ahadas@redhat.com Arik Hadas
              rhn-support-ymotiyel Yash Motiyele
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: