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

[DOC] Openshift MTV insufficient permissions in vSphere

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 2.6.4
    • 2.5.0
    • Documentation
    • None
    • False
    • None
    • False

      Migrating VMs from VMare to Openshift failed with 401 error

      MTV : 2.4

      created a new vsphere role and assigned to a service user as documented here -

      https://docs.redhat.com/en/documentation/migration_toolkit_for_virtualization/2.4/html-single/installing_and_using_the_migration_toolkit_for_virtualization/index#vmware-prerequisites_mtv

      Error :

      ~~~

      virt-v2v: error: exception: libvirt: VIR_ERR_INTERNAL_ERROR: VIR_FROM_ESX: internal error: HTTP response code 401 for download from 'https://XXX:443/folder/bi-test%2Fbi-test.vmx?dcPath=Bolt%20Center&dsName=core-vmstore-03'
      rm -rf – '/tmp/v2v.Xaj4j1'
      Error executing command: exit status 1
      Error executing virt-v2v command  exit status 1

      ~~~

      Adding below permissions fixed the issue :

       

      • Datastore - Browse datastore
      • Datastore - Low level file operations
         

      Could you please check and updated the document if required.

            richard.hoch Richard Hoch
            rhn-support-mam Manju M
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: