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
-
There are a few requirements for the import from VMWare process to work correctly --
- Be sure to connect directly to the ESXi server, not vCenter
- The VM should be stopped prior to import when using ESXi versions newer than v6.5
- The VM needs to have at least one snapshot
- The use of vSAN is not currently supported
The dev team is constantly improving this process, so some of these requirement may be changing soon. Also, you may want to switch to the Latest release channel since that will include the most recent improvements to the V2V process.
-
@sashasaturn said in 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
hi, there is a fix to better handle mulitple datacenter merged in master this morning.
Can you update a retest ? -
@florent will do