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

Migration Plan fails if a vSphere Datacenter is nested inside a Folder

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • 2.6.0
    • None
    • None
    • Important

      Virtual Machine fails when the DataCenter is located under a Folder in the tree

      /vcenter
        Folder
          DataCenter
            Cluster

      but works when that top level folder is removed.

      /vcenter
        DataCenter
          Cluster

      The process errors with

       

      Preparing virt-v2v
      Starting virt-v2v
      + ls -l /var/tmp/v2v
      total 4
      lrwxrwxrwx. 1 qemu qemu 11 Oct 30 17:47 rhel8-sda -> /dev/block0
      lrwxrwxrwx. 1 qemu qemu 11 Oct 30 17:47 rhel8-sdb -> /dev/block1
      -rw-r--r--. 1 qemu qemu 14 Oct 30 17:47 vmware.pw
      + exec virt-v2v -v -x -i libvirt -ic 'vpx://administrator%40vsphere.local@10.2.3.10/Krypton/host/Krypton-Cluster/esxi3.revoweb.home?no_verify=1' -o local -os /var/tmp/v2v -ip /var/tmp/v2v/vmware.pw -- rhel8
      + /usr/local/bin/virt-v2v-monitor
      I1030 17:47:17.029041 14 virt-v2v-monitor.go:66] Setting up prometheus endpoint :2112/metrics
      I1030 17:47:17.029117 14 virt-v2v-monitor.go:84] Prometheus progress counter registered.
      virt-v2v: virt-v2v 2.2.0rhel=9,release=6.el9_2 (x86_64)
      libvirt version: 9.0.0
      check_host_free_space: large_tmpdir=/var/tmp free_space=205147144192
      [ 0.0] Setting up the source: -i libvirt -ic vpx://administrator%40vsphere.local@10.2.3.10/Krypton/host/Krypton-Cluster/esxi3.revoweb.home?no_verify=1 rhel8
      virt-v2v: error: exception: libvirt: VIR_ERR_INTERNAL_ERROR: VIR_FROM_ESX: internal error: Could not find datacenter specified in '/Krypton/host/Krypton-Cluster/esxi3.revoweb.home'
      rm -rf -- '/tmp/v2v.Wo1zXs'

       

       

       

       

        1. customer-datacenter-in-folder.png
          customer-datacenter-in-folder.png
          66 kB
        2. datacenter-in-folder.png
          datacenter-in-folder.png
          43 kB
        3. datacenter-outside-folder.png
          datacenter-outside-folder.png
          57 kB
        4. image-2024-03-14-18-11-19-002.png
          image-2024-03-14-18-11-19-002.png
          77 kB
        5. scenario2-invaild-storage-mapping'.png
          scenario2-invaild-storage-mapping'.png
          56 kB
        6. scenario2-migration-plan.png
          scenario2-migration-plan.png
          43 kB
        7. scenario2-network-storage-mapping.png
          scenario2-network-storage-mapping.png
          91 kB
        8. vcenter.png
          vcenter.png
          44 kB

            ahadas@redhat.com Arik Hadas
            rhn-gps-nrevo Nate Revo
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: