XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. sashasaturn
    3. Posts
    S
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Import from VMWare fails Error: 404 Not Found

      florent will do

      posted in Xen Orchestra
      S
      sashasaturn
    • Import from VMWare fails Error: 404 Not Found

      Type: vCenter Server with an embedded Platform Services Controller
      Product: VMware vCenter Server Appliance
      Version: 6.7.0.55000
      Build number: 22509723
      XOA Current version: 5.92.1 - XOA build: 20240401
      Vcenter server with two data centers (DC1 and DC2), each has two clusters (DC1CL1, DC1CL2, DC2CL1, DC2CL2)

      TESTVM1 located in DC2CL1

      I'm using VCenter administrator account with full access to everything to import VM from VMWare to XOA

      VM import from VMWare fails with an error:

      vm.importMultipleFromEsxi
      {
        "concurrency": 1,
        "host": "VCENTER_IP",
        "network": "b46e5d3e-1c9a-0ad0-c2fc-fed488fd870b",
        "password": "* obfuscated *",
        "sr": "db128e81-9efe-76d1-5185-71fa15c79a2f",
        "sslVerify": false,
        "stopOnError": true,
        "stopSource": false,
        "user": "VCENTER_ADMIN",
        "vms": [
          "vm-81111"
        ]
      }
      {
        "cause": {
          "size": 0
        },
        "succeeded": {},
        "message": "404 Not Found https://VCENTER_IP/folder/TESTVM1/TESTVM1.vmx?dcPath=DC1&dsName=storage_name",
        "name": "Error",
        "stack": "Error: 404 Not Found https://VCENTER_IP/folder/TESTVM1/TESTVM1.vmx?dcPath=DC1&dsName=storage_name
          at Esxi.#download (file:///usr/local/lib/node_modules/xo-server/node_modules/@xen-orchestra/vmware-explorer/esxi.mjs:95:21)
          at Esxi.download (file:///usr/local/lib/node_modules/xo-server/node_modules/@xen-orchestra/vmware-explorer/esxi.mjs:113:21)
          at Esxi.getTransferableVmMetadata (file:///usr/local/lib/node_modules/xo-server/node_modules/@xen-orchestra/vmware-explorer/esxi.mjs:273:17)
          at Task.runInside (/usr/local/lib/node_modules/xo-server/node_modules/@vates/task/index.js:158:22)
          at Task.run (/usr/local/lib/node_modules/xo-server/node_modules/@vates/task/index.js:141:20)
          at MigrateVm.migrationfromEsxi (file:///usr/local/lib/node_modules/xo-server/src/xo-mixins/migrate-vm.mjs:178:28)
          at file:///usr/local/lib/node_modules/xo-server/src/api/vm.mjs:1432:30
          at Task.runInside (/usr/local/lib/node_modules/xo-server/node_modules/@vates/task/index.js:158:22)
          at Task.run (/usr/local/lib/node_modules/xo-server/node_modules/@vates/task/index.js:141:20)
          at asyncEach.concurrency.concurrency (file:///usr/local/lib/node_modules/xo-server/src/api/vm.mjs:1430:11)"
      }
      

      I'm guessing, but the URL https://VCENTER_IP/folder/TESTVM1/TESTVM1.vmx?dcPath=DC1&dsName=storage_name" looks incorrect because I think dcPath=DC2

      Thanks,

      Alex

      posted in Xen Orchestra
      S
      sashasaturn