Update: I was able to move the VM to a different host that is also xcp-ng 8.2. When I tried moving the VM back to where it came from now I'm getting: NO_HOSTS_AVAILABLE()
vm.migrate
{
"mapVdisSrs": {
"f4d88025-9e26-44a1-8028-4d5d9c11c994
": "18850841-5eb8-6b28-73ba-cae1c40af157"
},
"mapVifsNetworks": {
"b56126a8-85ab-80de-9db8-4864ec5618e5
": "99b40169-8dab-6e9d-db96-23277b405b4a
"
},
"migrationNetwork": "99b40169-8dab-6e9d-db96-23277b405b4a
",
"sr": "18850841-5eb8-6b28-73ba-cae1c40af157",
"targetHost": "69c0c257-a547-4d49-8270-b49eafe35c2c",
"vm": "78938c32-eb52-491f-1fbf-3ad5d2e374f0"
}
{
"code": "NO_HOSTS_AVAILABLE",
"params": [],
"task": {
"uuid": "4eb56a28-ffa7-cee6-31e1-87209af8de75
",
"name_label": "Async.VM.migrate_send",
"name_description": "",
"allowed_operations": [],
"current_operations": {},
"created": "20250131T20:51:54Z",
"finished": "20250131T20:51:54Z",
"status": "failure",
"resident_on": "OpaqueRef:72cbec6b-d489-49ca-a8a8-e623e3c5f4e4",
"progress": 1,
"type": "<none/>",
"result": "",
"error_info": [
"NO_HOSTS_AVAILABLE"
],
"other_config": {},
"subtask_of": "OpaqueRef:NULL",
"subtasks": [],
"backtrace": "(((process xapi)(filename ocaml/xapi/xapi_vm_placement.ml)(line 104))((process xapi)(filename ocaml/xapi/message_forwarding.ml)(line 1199))((process xapi)(filename lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename lib/xapi-stdext-pervasives/pervasiveext.ml)(line 35))((process xapi)(filename ocaml/xapi/helpers.ml)(line 1356))((process xapi)(filename ocaml/xapi/message_forwarding.ml)(line 1191))((process xapi)(filename ocaml/xapi/message_forwarding.ml)(line 2279))((process xapi)(filename lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename ocaml/xapi/rbac.ml)(line 205))((process xapi)(filename ocaml/xapi/server_helpers.ml)(line 95)))"
},
"message": "NO_HOSTS_AVAILABLE()",
"name": "XapiError",
"stack": "XapiError: NO_HOSTS_AVAILABLE()
at Function.wrap (file:///opt/xo/xo-builds/xen-orchestra-202501311655/packages/xen-api/_XapiError.mjs:16:12)
at default (file:///opt/xo/xo-builds/xen-orchestra-202501311655/packages/xen-api/_getTaskResult.mjs:13:29)
at Xapi._addRecordToCache (file:///opt/xo/xo-builds/xen-orchestra-202501311655/packages/xen-api/index.mjs:1068:24)
at file:///opt/xo/xo-builds/xen-orchestra-202501311655/packages/xen-api/index.mjs:1102:14
at Array.forEach (<anonymous>)
at Xapi._processEvents (file:///opt/xo/xo-builds/xen-orchestra-202501311655/packages/xen-api/index.mjs:1092:12)
at Xapi._watchEvents (file:///opt/xo/xo-builds/xen-orchestra-202501311655/packages/xen-api/index.mjs:1265:14)"
}
I rebooted XO and tried moving the VM to the xcp-ng 8.3 machine again. It looks like the task started but now it's hung at "Connection to VM console (on xcp-m83) 0%" and I can't "Cancel" or "Destroy" the task