Migration failed
-
Hello,
I want to move a vm from host to another(live migration) and i have this error..... how can i resolve this issue? Thank you!
Log:
vm.migrate
{
"vm": "8ad594c9-6c4a-db6e-a010-e788ace78201",
"targetHost": "3055ab3a-c15a-4f6d-8bb7-b3d7ab81740d"
}
{
"code": 21,
"data": {
"objectId": "8ad594c9-6c4a-db6e-a010-e788ace78201",
"code": "VM_LACKS_FEATURE"
},
"message": "operation failed",
"name": "XoError",
"stack": "XoError: operation failed
at operationFailed (/usr/local/lib/node_modules/xo-server/node_modules/xo-common/src/api-errors.js:21:32)
at file:///usr/local/lib/node_modules/xo-server/src/api/vm.mjs:482:15
at Object.migrate (file:///usr/local/lib/node_modules/xo-server/src/api/vm.mjs:469:3)
at Api.callApiMethod (file:///usr/local/lib/node_modules/xo-server/src/xo-mixins/api.mjs:304:20)"
} -
Are the CPU's on the hosts different?
In the past this has caused a lot of issues in our setup at work. -
@nikade I have the same hosts with the same configurations
HPE Gen 9
-
@Sergiu Hi !
Did you install the guest-tools in the VM ?
-
@Sergiu What storage are you using? Local or Shared?
-
@AtaxyaNetwork No because i see only for linux. I find this https://github.com/xcp-ng/win-pv-drivers/releases
I will come back with updates after installation. -
@nikade Shared
-
-
@AtaxyaNetwork I installed tools, reboot vm , but the same error....
-
@Sergiu Are the tools being detected in XO? You can check under Dashboard > Health; there's a section at the bottom listing any VMs without the tools installed.
-
@Danp After more research i found the problem... i delete network from vm and now when machine is 90% migrate i have another error:
vm.migrate { "vm": "8ad594c9-6c4a-db6e-a010-e788ace78201", "targetHost": "3055ab3a-c15a-4f6d-8bb7-b3d7ab81740d" } { "code": 21, "data": { "objectId": "8ad594c9-6c4a-db6e-a010-e788ace78201", "code": "VM_FAILED_SUSPEND_ACKNOWLEDGMENT" }, "message": "operation failed", "name": "XoError", "stack": "XoError: operation failed at operationFailed (/usr/local/lib/node_modules/xo-server/node_modules/xo-common/src/api-errors.js:21:32) at file:///usr/local/lib/node_modules/xo-server/src/api/vm.mjs:482:15 at Object.migrate (file:///usr/local/lib/node_modules/xo-server/src/api/vm.mjs:469:3) at Api.callApiMethod (file:///usr/local/lib/node_modules/xo-server/src/xo-mixins/api.mjs:304:20)" }
-
@Danp
About tools -
After more restarts and destroy machines and reboot servers now is working............. i don t know what exactly i do but now is working.
Someone can mark this topic solved.
Thank you all! -
@Sergiu Good job!
Hard to tell what was wrong, but Im happy you resolved it. -
-