VM Hang - Can´t restart, can't power on.
-
Hi, I have some problems with a VM in XO-Server 5.79.3, here i detail it:
- In a VM, after windows server update, I sent to restart server, but the server hang.
- Then I try to restart with de reboot button in Xen-Orchestra, but nothing happend.
- After that, I try to power off, but nothing happend.
At this point, the VM can't turn off, turn on, restart, etc.
When I try to start the VM, I have this error log:
Any Ideas?, thanls in advance.vm.start { "id": "2af1c32f-b812-f66f-7ecf-a006f0860ed1", "bypassMacAddressesCheck": false, "force": false } { "code": "INTERNAL_ERROR", "params": [ "unspecified domain type" ], "task": { "uuid": "00310f7f-5623-3c4a-4ee3-54bdfe47f4c3", "name_label": "Async.VM.unpause", "name_description": "", "allowed_operations": [], "current_operations": {}, "created": "20220228T23:41:56Z", "finished": "20220228T23:41:56Z", "status": "failure", "resident_on": "OpaqueRef:d4d05885-50fd-4d77-8b0a-fc017bbbe489", "progress": 1, "type": "<none/>", "result": "", "error_info": [ "INTERNAL_ERROR", "unspecified domain type" ], "other_config": { "debug_info:cancel_points_seen": "1" }, "subtask_of": "OpaqueRef:NULL", "subtasks": [], "backtrace": "(((process xapi)(filename ocaml/xapi/helpers.ml)(line 593))((process xapi)(filename ocaml/xapi/xapi_vbd_helpers.ml)(line 154))((process xapi)(filename ocaml/xapi/xapi_vbd_helpers.ml)(line 342))((process xapi)(filename ocaml/xapi/message_forwarding.ml)(line 1022))((process xapi)(filename list.ml)(line 110))((process xapi)(filename lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename ocaml/xapi/rbac.ml)(line 231))((process xapi)(filename ocaml/xapi/server_helpers.ml)(line 103)))" }, "message": "INTERNAL_ERROR(unspecified domain type)", "name": "XapiError", "stack": "XapiError: INTERNAL_ERROR(unspecified domain type) at Function.wrap (/opt/xo/xo-builds/xen-orchestra-202105221252/packages/xen-api/src/_XapiError.js:16:12) at _default (/opt/xo/xo-builds/xen-orchestra-202105221252/packages/xen-api/src/_getTaskResult.js:11:29) at Xapi._addRecordToCache (/opt/xo/xo-builds/xen-orchestra-202105221252/packages/xen-api/src/index.js:853:24) at forEach (/opt/xo/xo-builds/xen-orchestra-202105221252/packages/xen-api/src/index.js:874:14) at Array.forEach (<anonymous>) at Xapi._processEvents (/opt/xo/xo-builds/xen-orchestra-202105221252/packages/xen-api/src/index.js:864:12) at Xapi._watchEvents (/opt/xo/xo-builds/xen-orchestra-202105221252/packages/xen-api/src/index.js:1029:14)" }
-
Hi, thanks in advance.
I used the XCP-ng Center to connect to Host and restart the toolstack.
After that everything is going well.
Thank you very much. -
Have you tried restarting the toolstack?
-
@Danp Hi, and thanks for your response.
- How do I do this?.
- This procedure, doesn't have impact in the other VM?.
Thanks in advance.
-
There's a restart toolstack button in the host view (in the big action bar). This has not influence on running VM (but this will cancel any export/backup)
-
Hi, thanks in advance.
I used the XCP-ng Center to connect to Host and restart the toolstack.
After that everything is going well.
Thank you very much. -
-
-
Hey, i got the same error message. Shutdown a VM want to boot from an ISO but that failed and now its always paused and i can not shutdown or reboot.
The error from my XO is "unspecified domain type".
Restart Toolstack helped to show the VM as not running, but on next try it ends up with the same error. Already tried via console with xe vm-shutdown or vm-unpause.
vm.start { "id": "beeac956-c10c-7dfd-848a-3d3d0e8e2e38" } { "code": "INTERNAL_ERROR", "params": [ "unspecified domain type" ], "task": { "uuid": "eae20ff9-5db7-57eb-e6d8-ff9e7fb56bcb", "name_label": "Async.VM.unpause", "name_description": "", "allowed_operations": [], "current_operations": {}, "created": "20230122T16:45:32Z", "finished": "20230122T16:45:32Z", "status": "failure", "resident_on": "OpaqueRef:573d21ff-edcd-4a6a-a2f6-1fd88d7c3537", "progress": 1, "type": "<none/>", "result": "", "error_info": [ "INTERNAL_ERROR", "unspecified domain type" ], "other_config": { "debug_info:cancel_points_seen": "1" }, "subtask_of": "OpaqueRef:NULL", "subtasks": [], "backtrace": "(((process xapi)(filename ocaml/xapi/helpers.ml)(line 593))((process xapi)(filename ocaml/xapi/xapi_vbd_helpers.ml)(line 154))((process xapi)(filename ocaml/xapi/xapi_vbd_helpers.ml)(line 342))((process xapi)(filename ocaml/xapi/message_forwarding.ml)(line 1022))((process xapi)(filename list.ml)(line 110))((process xapi)(filename lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename ocaml/xapi/rbac.ml)(line 231))((process xapi)(filename ocaml/xapi/server_helpers.ml)(line 103)))" }, "message": "INTERNAL_ERROR(unspecified domain type)", "name": "XapiError", "stack": "XapiError: INTERNAL_ERROR(unspecified domain type) at Function.wrap (/opt/xen-orchestra/packages/xen-api/src/_XapiError.js:16:12) at _default (/opt/xen-orchestra/packages/xen-api/src/_getTaskResult.js:11:29) at Xapi._addRecordToCache (/opt/xen-orchestra/packages/xen-api/src/index.js:806:24) at forEach (/opt/xen-orchestra/packages/xen-api/src/index.js:827:14) at Array.forEach (<anonymous>) at Xapi._processEvents (/opt/xen-orchestra/packages/xen-api/src/index.js:817:12) at Xapi._watchEvents (/opt/xen-orchestra/packages/xen-api/src/index.js:975:14)" }
// Was able to fix it for me with:
xe vm-reset-powerstate uuid=xxx --force
-
Sounds like a XAPI bug, I think it's fixed in the next train of updates