XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. ChuckNorrison
    3. Posts
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 11
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: VM Hang - Can´t restart, can't power on.

      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
      
      posted in Xen Orchestra
      ChuckNorrisonC
      ChuckNorrison
    • RE: Try to shutdown host results in NO_HOSTS_AVAILABLE

      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?

      posted in Xen Orchestra
      ChuckNorrisonC
      ChuckNorrison
    • Try to shutdown host results in NO_HOSTS_AVAILABLE

      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?

      posted in Xen Orchestra
      ChuckNorrisonC
      ChuckNorrison
    • RE: Disable network_usage alarm

      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

      posted in Xen Orchestra
      ChuckNorrisonC
      ChuckNorrison
    • Disable network_usage alarm

      In some way i setup a network_usage alarm. Whats the best way to remove this alarm from my host?

      c1b80a03-6d4b-452a-94ec-b64712ae7b4d-image.png

      posted in Xen Orchestra
      ChuckNorrisonC
      ChuckNorrison
    • RE: XCP-ng 8.2.0 RC now available!

      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

      👍

      posted in News
      ChuckNorrisonC
      ChuckNorrison
    • RE: Remove backup bottleneck: please report

      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)

      posted in Xen Orchestra
      ChuckNorrisonC
      ChuckNorrison
    • RE: Epyc vs xeon performance is amazing :)

      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 👍

      posted in Compute
      ChuckNorrisonC
      ChuckNorrison
    • RE: XCP-ng 8.2.0 beta now available!

      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.

      • Patches got applied successful
      • Several Host restarts successful
      • Create VM successful
      • USB Passthrough to Ubuntu 20.04 with APC-1400 USV successful
      • Dynamic Memory settings successful

      You make me happy 🙂

      posted in News
      ChuckNorrisonC
      ChuckNorrison
    • RE: PCI passthrough + USB passthrough does not work together

      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

      AdrianFretwell created this issue in xcp-ng/xcp

      closed Starting a VM with USB passthrough results in Internal Server Error #108

      posted in Compute
      ChuckNorrisonC
      ChuckNorrison
    • RE: vGPU - which graphics card supported?

      Is anyone using vGPU on the XCP-ng yet? If so i would like to know the setup.

      Iam running 1xE1230v5 on SuperMicro Server (X11SSL-F). Only got one PCI-E 3.0 x8 free for use. Would mind its not worth to get it a try on this machine.

      vGPU is very interesting at all and would be a huge part to take over other virtualization solutions.

      posted in Development
      ChuckNorrisonC
      ChuckNorrison