@Danp That would appear to be it, thanks for pointing it out. Should have really spotted it myself of course!
Latest posts made by jkissane
-
RE: Import Centos VM from VMware fails with must have required property
-
RE: Import Centos VM from VMware fails with must have required property
I noticed there were some updates available for both xcp ( xcp-ng-release.x86_64 0:8.2.1-11) & xoa (5.9.1) so I applied those & tried the import again to see if might work but still getting the same error.
vm.importMultipleFromEsxi { "concurrency": 2, "host": "vc.tyndall.ie", "network": "5b7cfe55-d788-08b3-c70c-ad7e113840a8", "password": "* obfuscated *", "sr": "98a52525-862f-3bb1-3403-3dc334f2509d", "sslVerify": false, "stopOnError": true, "stopSource": false, "user": "john.kissane@x.y", "vms": [ "vm-9656" ] } { "code": 10, "data": { "errors": [ { "instancePath": "", "schemaPath": "#/required", "keyword": "required", "params": { "missingProperty": "template" }, "message": "must have required property 'template'" } ] }, "message": "invalid parameters", "name": "XoError", "stack": "XoError: invalid parameters at Module.invalidParameters (/usr/local/lib/node_modules/xo-server/node_modules/xo-common/src/api-errors.js:21:32) at Xo.call (file:///usr/local/lib/node_modules/xo-server/src/xo-mixins/api.mjs:90:22) at Api.#callApiMethod (file:///usr/local/lib/node_modules/xo-server/src/xo-mixins/api.mjs:362:19)" }
This time I left the source VM running but the error is the same as when I had it powered off. It's not clear to me what the error about a template means or perhaps I'm missing something obvious.
-
RE: Import Centos VM from VMware fails with must have required property
@456Q That button isn't checked as the source VM is already stopped so I didn't change the default.
-
RE: Import Centos VM from VMware fails with must have required property
@456Q No problem I'll try that & report back. Thanks!
Afraid that made no difference, it fails immediately with the same error. When I imported in the past, I didn't need to take a snapshot as the VM was powered off.
-
RE: Import Centos VM from VMware fails with must have required property
This worked in that it imported the VM before I updated to the latest version of xoa, my problem then was the VM didn't boot property but went into the emerency shell due to missing disks. Now the import fails immediately with the error about a required property.
I've just tried the process again with a Windows VM (also powered off) & got the same error message.
Can other people import from VMware succesfully via xoa?
-
RE: Import Centos VM from VMware fails with must have required property
@456Q Apologies, I should have stated the VM is powered off.
-
RE: Import Centos VM from VMware fails with must have required property
@AtaxyaNetwork Not that I know of. I'm just using the "Import" -> "From VMware" option.
-
Import Centos VM from VMware fails with must have required property
Previously I was investigating importing a Centos VM into xcp-ng but each time it didn't boot up due to missing disks. Today I updated xoa to the latest version (5.95) & tried again to see if it worked better. Now the import fails immediately with the following error.
vm.importMultipleFromEsxi { "concurrency": 2, "host": "10.x.x.x", "network": "c448fd53-503a-0241-7104-0a1b287a7e5a", "password": "* obfuscated *", "sr": "98a52525-862f-3bb1-3403-3dc334f2509d", "sslVerify": false, "stopOnError": false, "stopSource": false, "user": "john.kissane@x.x", "vms": [ "vm-9656" ] } { "code": 10, "data": { "errors": [ { "instancePath": "", "schemaPath": "#/required", "keyword": "required", "params": { "missingProperty": "template" }, "message": "must have required property 'template'" } ] }, "message": "invalid parameters", "name": "XoError", "stack": "XoError: invalid parameters at Module.invalidParameters (/usr/local/lib/node_modules/xo-server/node_modules/xo-common/src/api-errors.js:21:32) at Xo.call (file:///usr/local/lib/node_modules/xo-server/src/xo-mixins/api.mjs:90:22) at Api.#callApiMethod (file:///usr/local/lib/node_modules/xo-server/src/xo-mixins/api.mjs:362:19)" }
The source VM is powered off. Am I missing something obvious here or doing something wrong? I've tried both directly to the ESX server hosting the VM and to VC, same error from both.
We run a bunch of VM's (Linux & Windows) and are evaluating xcp-ng as a potential replacement towards the end of the year.
Thanks!
-
RE: Import from VMWare - Error: Can't import delta of a running VM without its parent vdi
Just wondering if I'm doing something incorrect here with trying to import VM's from ESX to XCP-ng?
Our ESXi system is running VC 6.7 & ESXi 6.5 on the servers. All the storage for the VM's is external via iSCSI.
We're covered for the VMware setup 'til next Dec so I'm looking at possible alternaitives hence these tests.
-
RE: Import from VMWare - Error: Can't import delta of a running VM without its parent vdi
@olivierlambert For the Windows VM, if I change the boot mode to UEFI then it doesn't boot at all, rather drops me into the UEFI shell. With BIOS I get a brief glimp of the Windows progress bar, the console resizes & then it stays at a black screen with zero CPU usage as far I can see.