Can't copy or move VM from host with xen 6.5 to host xcp-ng 8.2
-
-
Or @julien-f maybe, dunno
-
when trying migration i've got only this error in xensource.log on xen 6.5 host:
Server_helpers.exec exception_handler: Got exception INTERNAL_ERROR: [ Not_found ]
when trying to copy vm:
VM export R:8d962d9e711d|dispatcher] Server_helpers.exec exception_handler: Got exception CLIENT_ERROR: [ INTERNAL_ERROR: [ Unix.Unix_error(31, "write", "") ] ]
|xapi] Unhandled Api_errors.Server_error(CLIENT_ERROR, [ INTERNAL_ERROR: [ Unix.Unix_error(31, "write", "") ] ])
i wonder if this error could be connected with fact that this is only of my vms was crated years ago on xen 6.5 with template Windows 7 (than vm was upgraded to windows 10 when it became available) which template is absent on xcp-ng 8.2 (it has only windows 10 templates)
Other vms are windows10 templates and there was no problem to copy them to xcp-ng.any thoughts on this ?
-
@olivierlambert This looks like a host error, not an XO one.
-
@lukasz_s what about warm migration?
-
it's strange , target exist for sure all other vm's were copied to that sr on new host:
vm.warmMigration { "deleteSourceVm": false, "sr": "1949fb9f-8730-508c-558d-dd7fe531b0c3", "startDestinationVm": false, "vm": "98361714-d7da-ea55-196b-3bad93f23422" } { "message": "Vm target of warm migration not found for 98361714-d7da-ea55-196b-3bad93f23422 on SR 1949fb9f-8730-508c-558d-dd7fe531b0c3 ", "name": "Error", "stack": "Error: Vm target of warm migration not found for 98361714-d7da-ea55-196b-3bad93f23422 on SR 1949fb9f-8730-508c-558d-dd7fe531b0c3 at MigrateVm.warmMigrateVm (file:///home/node/xen-orchestra/packages/xo-server/src/xo-mixins/migrate-vm.mjs:98:13) at Xo.warmMigration (file:///home/node/xen-orchestra/packages/xo-server/src/api/vm.mjs:608:3) at Api.#callApiMethod (file:///home/node/xen-orchestra/packages/xo-server/src/xo-mixins/api.mjs:417:20)" }
-
I would restart the toolstack on the both sides, in case there's a host issue.
-
restarting toolstack does nothing
-
If your Windows system restarts with no issues, you can try and go to Control Panel - File History - System Image Backup and create a copy of your system. Then create a new VM on 8.2 and Restore it there
-
thanks for all advices
just moved all services to new vm, that makes topic is closed.for last try i updated xen 6.5 to 7.4 but problem remains