WIndows 10 VM Reboots
-
Hola ,
One of my Win10 VMs is rebooting about every 15min. XO task shows this every few seconds API call: host.restart. Below is the raw log for it. Any ideas on how to resolve please?
{ "id": "0mfqcj0r3", "properties": { "method": "host.restart", "params": { "force": false, "suspendResidentVms": false, "bypassBlockedSuspend": false, "bypassCurrentVmCheck": false, "id": "ccb2d0ad-a2e1-47cb-bcb7-48ea03129663" }, "name": "API call: host.restart", "userId": "9bc9e3f0-1854-4685-b335-3ed4e2a836d7", "type": "api.call" }, "start": 1758256508559, "status": "failure", "updatedAt": 1758256508805, "end": 1758256508804, "result": { "code": "NO_HOSTS_AVAILABLE", "params": [ "OpaqueRef:0f44c00c-c5f9-8633-6052-7f9f394f33dc" ], "task": { "uuid": "67372245-0a05-d013-3089-e296da69574d", "name_label": "Async.host.evacuate", "name_description": "", "allowed_operations": [], "current_operations": {}, "created": "20250919T04:35:08Z", "finished": "20250919T04:35:08Z", "status": "failure", "resident_on": "OpaqueRef:fad120ab-63b2-3e96-5fdb-b8da5da14883", "progress": 1, "type": "<none/>", "result": "", "error_info": [ "NO_HOSTS_AVAILABLE", "OpaqueRef:0f44c00c-c5f9-8633-6052-7f9f394f33dc" ], "other_config": {}, "subtask_of": "OpaqueRef:NULL", "subtasks": [], "backtrace": "(((process xapi)(filename ocaml/xapi/xapi_host.ml)(line 613))((process xapi)(filename hashtbl.ml)(line 159))((process xapi)(filename hashtbl.ml)(line 165))((process xapi)(filename hashtbl.ml)(line 170))((process xapi)(filename ocaml/xapi/xapi_host.ml)(line 609))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 39))((process xapi)(filename ocaml/xapi/rbac.ml)(line 188))((process xapi)(filename ocaml/xapi/rbac.ml)(line 197))((process xapi)(filename ocaml/xapi/server_helpers.ml)(line 77)))" }, "message": "NO_HOSTS_AVAILABLE(OpaqueRef:0f44c00c-c5f9-8633-6052-7f9f394f33dc)", "name": "XapiError", "stack": "XapiError: NO_HOSTS_AVAILABLE(OpaqueRef:0f44c00c-c5f9-8633-6052-7f9f394f33dc)\n at Function.wrap (file:///opt/xo/xo-builds/xen-orchestra-202411230402/packages/xen-api/_XapiError.mjs:16:12)\n at default (file:///opt/xo/xo-builds/xen-orchestra-202411230402/packages/xen-api/_getTaskResult.mjs:13:29)\n at Xapi._addRecordToCache (file:///opt/xo/xo-builds/xen-orchestra-202411230402/packages/xen-api/index.mjs:1047:24)\n at file:///opt/xo/xo-builds/xen-orchestra-202411230402/packages/xen-api/index.mjs:1081:14\n at Array.forEach (<anonymous>)\n at Xapi._processEvents (file:///opt/xo/xo-builds/xen-orchestra-202411230402/packages/xen-api/index.mjs:1071:12)\n at Xapi._watchEvents (file:///opt/xo/xo-builds/xen-orchestra-202411230402/packages/xen-api/index.mjs:1244:14)" } }
-
Hi,
Find who is trying to restart your host
-
I have 7 other Windows VMs that are not restarting and the host is not restarting, just one of VMs on it is having this issue. It reboots every 10 -15 min.
-
Try to disconnect/shutdown XO, and see if your Windows VM still restart every 10-15min.