Still testing here since beta, runs very smooth on my single host system
- Window 10 UEFI is still fine
- NAS Remote Backup works awesome
- Backup Notifications via Mail and Slack works as expected
- Xen Orchestra works awesome
Still testing here since beta, runs very smooth on my single host system
Upgrade finally done, works flawlessly. Citrix Hypervisor 8.2 -> XCP-ng 8.2 beta.
Iam using Ubuntu 20.04 Server VMs and a single Windows 10 VM (uefi). NFS Storage is used for Backups and SMB ISO Library.
You make me happy
@olivierlambert great setup, and very good written article. So NFS is recommended over iSCSI cause of less possibilities to misconfigure.
Iam running a cheap single host system with 1x Xeon E-1230v5. I would love to get a second host up and maybe with focus on desktop virtualization and GPU Passthru. Thanks for the hint on Epyc Servers.
good inspiration on this board and community
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
@olivierlambert said in Try to shutdown host results in NO_HOSTS_AVAILABLE:
If you don't force reboot/shutdown (so doing a "soft" reboot/shutdown), XAPI will try to live migrate VMs to another host.
And because you don't have another host, XAPI tells your "there's no hosts available to send those VMs".
ok thanks.
So best practice to shutdown a single host is: Stop VMs and manually shutdown host from console.
Should i stop something else from xenserver prior shutdown host?
For maintenance reasons, i wanted to shutdown my single host via xo webinterface. It results in NO_HOSTS_AVAILABLE. So i used the shutdown -h now
command via ssh. After power on everything works. The host has logged a PBD_PLUG_FAILED_ON_SERVER_START.
host.restart
{
"id": "9b239e09-8b49-4925-96bc-55135b1cfe94",
"force": false
}
{
"code": "NO_HOSTS_AVAILABLE",
"params": [
"OpaqueRef:8c31fcb1-c3ee-4747-8235-7ace5b9cc7b1"
],
"task": {
"uuid": "c8278134-cdf1-61e3-e593-3fdfc26b6061",
"name_label": "Async.host.evacuate",
"name_description": "",
"allowed_operations": [],
"current_operations": {},
"created": "20210516T15:15:04Z",
"finished": "20210516T15:15:04Z",
"status": "failure",
"resident_on": "OpaqueRef:573d21ff-edcd-4a6a-a2f6-1fd88d7c3537",
"progress": 1,
"type": "<none/>",
"result": "",
"error_info": [
"NO_HOSTS_AVAILABLE",
"OpaqueRef:8c31fcb1-c3ee-4747-8235-7ace5b9cc7b1"
],
"other_config": {},
"subtask_of": "OpaqueRef:NULL",
"subtasks": [],
"backtrace": "(((process xapi)(filename ocaml/xapi/xapi_host.ml)(line 560))((process xapi)(filename hashtbl.ml)(line 266))((process xapi)(filename hashtbl.ml)(line 272))((process xapi)(filename hashtbl.ml)(line 277))((process xapi)(filename ocaml/xapi/xapi_host.ml)(line 556))((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": "NO_HOSTS_AVAILABLE(OpaqueRef:8c31fcb1-c3ee-4747-8235-7ace5b9cc7b1)",
"name": "XapiError",
"stack": "XapiError: NO_HOSTS_AVAILABLE(OpaqueRef:8c31fcb1-c3ee-4747-8235-7ace5b9cc7b1)
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)"
}
Can someone help to understand and maybe improve?
@chucknorrison to clear this up
First xe host-list
to get the hosts uuid
xe host-param-list uuid=9b239e09-8b49-4925-96bc-55135b1cfe94
to list all params and search for other-config
This gets listed:
other-config (MRW): agent_start_time: 1605519894.; boot_time: 1605519835.; rpm_patch_installation_time: 1605296112.587; iscsi_iqn: iqn.2020-09.com.example:bae4d07c; MAINTENANCE_MODE_EVACUATED_VMS_MIGRATED: 4e0713f1-485c-1e29-1383-f14155dca82f,9ef5fa5a-7e5c-e09d-96b8-271dde05d5a6,f4fca81a-61bc-4bce-3a13-d36f193fc832,beeac956-c10c-7dfd-848a-3d3d0e8e2e38,5ad8cbd2-605b-833b-929c-839ba7de2c39; perfmon: <config><variable><name value="cpu_usage" /><alarm_trigger_level value="0.5" /><alarm_trigger_period value="3600" /><alarm_auto_inhibit_period value="3600" /></variable><variable><name value="network_usage" /><alarm_trigger_level value="1048576" /><alarm_trigger_period value="3600" /><alarm_auto_inhibit_period value="3600" /></variable><variable><name value="memory_free_kib" /><alarm_trigger_level value="2097152" /><alarm_trigger_period value="3600" /><alarm_auto_inhibit_period value="3600" /></variable></config>
i need a reset for the perfmon part. Found some commands xe host-param-set
and xe host-param-remove
which seems to archive this task. Lets get an equivalent get command:
xe host-param-get uuid=9b239e09-8b49-4925-96bc-55135b1cfe94 param-name=other-config param-key=perfmon
And now we can remove the perfmon with host-param-remove
or set it.
this will delete the annoying perfmon settings:
xe host-param-remove uuid=9b239e09-8b49-4925-96bc-55135b1cfe94 param-name=other-config param-key=perfmon
In some way i setup a network_usage alarm. Whats the best way to remove this alarm from my host?
Still testing here since beta, runs very smooth on my single host system
@CIT same here. I was able to switch to http at settings -> server. Remove the server and add with http://ip
Current Backup Speed without change on XCP-ng 8.2:
Duration: 28 minutes
Size: 43.85 GiB
Speed: 26.86 MiB/s
Speed should be limited to WD Red or my Gigabit Bandwidth to my NFS. The meassured speed is far below. x3 is expected (~80-100 MiB/s)
@olivierlambert great setup, and very good written article. So NFS is recommended over iSCSI cause of less possibilities to misconfigure.
Iam running a cheap single host system with 1x Xeon E-1230v5. I would love to get a second host up and maybe with focus on desktop virtualization and GPU Passthru. Thanks for the hint on Epyc Servers.
good inspiration on this board and community
Upgrade finally done, works flawlessly. Citrix Hypervisor 8.2 -> XCP-ng 8.2 beta.
Iam using Ubuntu 20.04 Server VMs and a single Windows 10 VM (uefi). NFS Storage is used for Backups and SMB ISO Library.
You make me happy
Hi, this issue got a workaround here:
https://github.com/xcp-ng/xcp/issues/108
And another discussion on this:
https://xcp-ng.org/forum/topic/266/usb-passthrough-test-reports-in-7-5rc1
Good luck