Subcategories

  • VMs, hosts, pools, networks and all other usual management tasks.

    459 Topics
    4k Posts
    olivierlambertO
    Yes indeed, that's expected. XAPI affinity is on VM boot, not in the VM life. Then, it's the work of the load balancer.
  • ACLs, Self-service, Cloud-init, Load balancing...

    102 Topics
    845 Posts
    H
    @carloum70 are the scopes email and uid provided by the source (are they delivered to xo by surfnet)? By default only the openid scope is provided, without email or uid https://servicedesk.surf.nl/wiki/spaces/IAM/pages/74226151/Connect+using+OpenID+Connect
  • All XO backup features: full and incremental, replication, mirrors...

    482 Topics
    5k Posts
    A
    @MathieuRA sudo journalctl -u xo-server -n 50 Mar 27 19:27:10 xo-ce xo-server[55210]: 2026-03-27T19:27:10.657Z xo:rest-api:error-handler ERROR Cannot read properties of undefined (reading 'vms'> Mar 27 19:27:10 xo-ce xo-server[55210]: error: TypeError: Cannot read properties of undefined (reading 'vms') Mar 27 19:27:10 xo-ce xo-server[55210]: at BackupLogService.isVmInBackupLog (file:///opt/xen-orchestra/@xen-orchestra/rest-api/dist/backup-lo> Mar 27 19:27:10 xo-ce xo-server[55210]: at filter (file:///opt/xen-orchestra/@xen-orchestra/rest-api/dist/vms/vm.service.mjs:228:40) Mar 27 19:27:10 xo-ce xo-server[55210]: at Array.filter (<anonymous>) Mar 27 19:27:10 xo-ce xo-server[55210]: at Xo.getBackupNgLogsSorted (file:///opt/xen-orchestra/packages/xo-server/src/xo-mixins/backups-ng-lo> Mar 27 19:27:10 xo-ce xo-server[55210]: at VmService.#getBackupsInfo (file:///opt/xen-orchestra/@xen-orchestra/rest-api/dist/vms/vm.service.m> Mar 27 19:27:10 xo-ce xo-server[55210]: at promiseWriteInStream (file:///opt/xen-orchestra/@xen-orchestra/rest-api/dist/helpers/utils.helper.> Mar 27 19:27:10 xo-ce xo-server[55210]: } Mar 27 19:27:10 xo-ce xo-server[55210]: 2026-03-27T19:27:10.657Z xo:rest-api:error-handler INFO [GET] /vms/138538a8-ef52-4d0a-4433-5ebb31d7e152/das> Mar 27 19:27:24 xo-ce xo-server[55210]: 2026-03-27T19:27:24.056Z xo:rest-api:error-handler ERROR Cannot read properties of undefined (reading 'vms'> Mar 27 19:27:24 xo-ce xo-server[55210]: error: TypeError: Cannot read properties of undefined (reading 'vms') Mar 27 19:27:24 xo-ce xo-server[55210]: at BackupLogService.isVmInBackupLog (file:///opt/xen-orchestra/@xen-orchestra/rest-api/dist/backup-lo> Mar 27 19:27:24 xo-ce xo-server[55210]: at filter (file:///opt/xen-orchestra/@xen-orchestra/rest-api/dist/vms/vm.service.mjs:228:40) Mar 27 19:27:24 xo-ce xo-server[55210]: at Array.filter (<anonymous>) Mar 27 19:27:24 xo-ce xo-server[55210]: at Xo.getBackupNgLogsSorted (file:///opt/xen-orchestra/packages/xo-server/src/xo-mixins/backups-ng-lo> Mar 27 19:27:24 xo-ce xo-server[55210]: at VmService.#getBackupsInfo (file:///opt/xen-orchestra/@xen-orchestra/rest-api/dist/vms/vm.service.m> Mar 27 19:27:24 xo-ce xo-server[55210]: at promiseWriteInStream (file:///opt/xen-orchestra/@xen-orchestra/rest-api/dist/helpers/utils.helper.> Mar 27 19:27:24 xo-ce xo-server[55210]: } Mar 27 19:27:24 xo-ce xo-server[55210]: 2026-03-27T19:27:24.057Z xo:rest-api:error-handler INFO [GET] /vms/138538a8-ef52-4d0a-4433-5ebb31d7e152/das> Mar 27 19:27:41 xo-ce xo-server[55210]: 2026-03-27T19:27:41.663Z xo:rest-api:error-handler ERROR Cannot read properties of undefined (reading 'vms'> Mar 27 19:27:41 xo-ce xo-server[55210]: error: TypeError: Cannot read properties of undefined (reading 'vms') Mar 27 19:27:41 xo-ce xo-server[55210]: at BackupLogService.isVmInBackupLog (file:///opt/xen-orchestra/@xen-orchestra/rest-api/dist/backup-lo> Mar 27 19:27:41 xo-ce xo-server[55210]: at filter (file:///opt/xen-orchestra/@xen-orchestra/rest-api/dist/vms/vm.service.mjs:228:40) Mar 27 19:27:41 xo-ce xo-server[55210]: at Array.filter (<anonymous>) Mar 27 19:27:41 xo-ce xo-server[55210]: at Xo.getBackupNgLogsSorted (file:///opt/xen-orchestra/packages/xo-server/src/xo-mixins/backups-ng-lo> Mar 27 19:27:41 xo-ce xo-server[55210]: at VmService.#getBackupsInfo (file:///opt/xen-orchestra/@xen-orchestra/rest-api/dist/vms/vm.service.m> Mar 27 19:27:41 xo-ce xo-server[55210]: at promiseWriteInStream (file:///opt/xen-orchestra/@xen-orchestra/rest-api/dist/helpers/utils.helper.> Mar 27 19:27:41 xo-ce xo-server[55210]: } Mar 27 19:27:41 xo-ce xo-server[55210]: 2026-03-27T19:27:41.663Z xo:rest-api:error-handler INFO [GET] /vms/138538a8-ef52-4d0a-4433-5ebb31d7e152/das> Mar 27 19:27:55 xo-ce xo-server[55210]: 2026-03-27T19:27:55.046Z xo:rest-api:error-handler ERROR Cannot read properties of undefined (reading 'vms'> Mar 27 19:27:55 xo-ce xo-server[55210]: error: TypeError: Cannot read properties of undefined (reading 'vms') Mar 27 19:27:55 xo-ce xo-server[55210]: at BackupLogService.isVmInBackupLog (file:///opt/xen-orchestra/@xen-orchestra/rest-api/dist/backup-lo> Mar 27 19:27:55 xo-ce xo-server[55210]: at filter (file:///opt/xen-orchestra/@xen-orchestra/rest-api/dist/vms/vm.service.mjs:228:40) Mar 27 19:27:55 xo-ce xo-server[55210]: at Array.filter (<anonymous>) Mar 27 19:27:55 xo-ce xo-server[55210]: at Xo.getBackupNgLogsSorted (file:///opt/xen-orchestra/packages/xo-server/src/xo-mixins/backups-ng-lo> Mar 27 19:27:55 xo-ce xo-server[55210]: at VmService.#getBackupsInfo (file:///opt/xen-orchestra/@xen-orchestra/rest-api/dist/vms/vm.service.m> Mar 27 19:27:55 xo-ce xo-server[55210]: at promiseWriteInStream (file:///opt/xen-orchestra/@xen-orchestra/rest-api/dist/helpers/utils.helper.> Mar 27 19:27:55 xo-ce xo-server[55210]: } Mar 27 19:27:55 xo-ce xo-server[55210]: 2026-03-27T19:27:55.046Z xo:rest-api:error-handler INFO [GET] /vms/138538a8-ef52-4d0a-4433-5ebb31d7e152/das> Mar 27 19:28:12 xo-ce xo-server[55210]: 2026-03-27T19:28:12.633Z xo:rest-api:error-handler ERROR Cannot read properties of undefined (reading 'vms'> Mar 27 19:28:12 xo-ce xo-server[55210]: error: TypeError: Cannot read properties of undefined (reading 'vms') Mar 27 19:28:12 xo-ce xo-server[55210]: at BackupLogService.isVmInBackupLog (file:///opt/xen-orchestra/@xen-orchestra/rest-api/dist/backup-lo> Mar 27 19:28:12 xo-ce xo-server[55210]: at filter (file:///opt/xen-orchestra/@xen-orchestra/rest-api/dist/vms/vm.service.mjs:228:40) Mar 27 19:28:12 xo-ce xo-server[55210]: at Array.filter (<anonymous>) Mar 27 19:28:12 xo-ce xo-server[55210]: at Xo.getBackupNgLogsSorted (file:///opt/xen-orchestra/packages/xo-server/src/xo-mixins/backups-ng-lo> Mar 27 19:28:12 xo-ce xo-server[55210]: at VmService.#getBackupsInfo (file:///opt/xen-orchestra/@xen-orchestra/rest-api/dist/vms/vm.service.m> Mar 27 19:28:12 xo-ce xo-server[55210]: at promiseWriteInStream (file:///opt/xen-orchestra/@xen-orchestra/rest-api/dist/helpers/utils.helper.> Mar 27 19:28:12 xo-ce xo-server[55210]: } Mar 27 19:28:12 xo-ce xo-server[55210]: 2026-03-27T19:28:12.633Z xo:rest-api:error-handler INFO [GET] /vms/138538a8-ef52-4d0a-4433-5ebb31d7e152/das> lines 1-50/50 (END)
  • Everything related to Xen Orchestra's REST API

    84 Topics
    628 Posts
    olivierlambertO
    Thanks for the quick answer @mathieura
  • Terraform, Packer or any tool to do IaC

    49 Topics
    463 Posts
    dalemD
    Version 1.4.0 is released: https://codeberg.org/NiXOA/system/releases/tag/v1.4.0 It includes significant changes and improvements, including: dedicated getting started section, migration to valkey, only needing to clone system, and helper scripts. the xen-orchestra-ce nixpkg now references the libvhdi nixpkg, and the core flake now references and pulls from the xen-orchestra-ce repo as an overlay. System (the user input flake) now uses the Core repo as an overlay, reducing the need to clone both locally AND allowing system to pull new updates and releases from core. XO, and libvhdi as needed. The next goal is: Make an xsconsole-like TUI Automate package updates for libvhdi and xen-orchestra-ce using CI/CD pipelines Submit libvhdi and xen-orchestra-ce as official nixpkgs
  • Import VM disk failed

    Solved
    3
    1
    0 Votes
    3 Posts
    1k Views
    R
    @danp Forgot to reply in time I updated to the latest version of XO (from sources). Now everything imports fine. You can close this thread if you want.
  • Task has already ended errors during backup

    4
    0 Votes
    4 Posts
    488 Views
    olivierlambertO
    Weird… Can you remove the snapshot of the failing VM and try again to see if you still have the error? To me it's like the delta capability on XCP-ng side is failing on a specific disk
  • [Solved] create XO account from ssh

    Solved
    12
    0 Votes
    12 Posts
    5k Views
    B
    @gskger said in create XO account from ssh: I completely missed that in the troubleshooting documentation but it is already there - nice @olivierlambert said in create XO account from ssh: As @gskger siad, this was already documented and visible by searching the term "recover" in the search bar Uh - I tried a lot of other search terms, just not recover. Anyway - I'm back on track, thank you very much for all your help.
  • Any way to force the next delta backup to be full?

    7
    0 Votes
    7 Posts
    1k Views
    M
    Nice one, thanks guys.
  • Understanding backup sizes

    5
    0 Votes
    5 Posts
    1k Views
    olivierlambertO
    "It's complicated". The simple way is to copy your VHD to create a new one that will be unfragmented.
  • Setting ntp time in XOA

    4
    0 Votes
    4 Posts
    2k Views
    olivierlambertO
    You set up your timezone, not your time sync. Please open a ticket we can assist to check if your virtual appliance is correctly synced
  • Delta Backup Changes in 5.66 ?

    28
    0 Votes
    28 Posts
    13k Views
    DarkbeldinD
    @andrewreid XO team has released a new version 5.66.2 for XOA and new sources for the XO community that should fix most of the recent backup issue, so please update to latest and report back if needed.
  • Delta Backups Failing: AWS.S3.uploadPartCopy: CPU too busy

    8
    1
    0 Votes
    8 Posts
    2k Views
    florentF
    @stevewest15 I don't have any advice of the fiability of b2 Their design require us to make a minor modification to our upload service . During a full xva backup to a S3 like service, each part uploaded is uploaded along its hash and that is used to control the integrity
  • Can I restore a VDI selected from VM's delta backup?

    4
    0 Votes
    4 Posts
    830 Views
    olivierlambertO
    I meant to create the issue on Github, not the feature (even if it's welcome)
  • Install pool-patches fails

    6
    0 Votes
    6 Posts
    1k Views
    olivierlambertO
    +1
  • Xen Orchestra Application XOA Deployment Options/Best Practices.

    5
    0 Votes
    5 Posts
    3k Views
    G
    @karlisi Thanks for the reply. If you go to http://your.xcp-ng.host.ip you will receive web UI OK I understand now - thanks. They are calling community version (from sources) XO and precompiled virtual appliance (paid version) XOA. Thanks for the clarification.
  • Can't delete template

    4
    0 Votes
    4 Posts
    2k Views
    J
    @olivierlambert Okey... it can be deleted from there directly, I don't know why I didn't try that in the first place. Thanks
  • Adding GPU From XO

    10
    1
    0 Votes
    10 Posts
    3k Views
    T
    Hey I just found this topic, did you manage to get the Quadro P400 working in XCP-NG?
  • S3 Backups **APPRECIATION THREAD**

    1
    1 Votes
    1 Posts
    278 Views
    No one has replied
  • Restore Backups from a different XO

    4
    0 Votes
    4 Posts
    1k Views
    S
    Thank you! So I must be doing something wrong as I'm getting the following error when I add in the old NFS mount which has the backups: [image: 1640195910502-dc65c765-1542-4c58-8082-fbb54e33f3c9-image.png] The /mnt/Tank/VMs mount contains the previous XO backups as well as some active VM storage: [image: 1640196114557-680455d2-9559-4fe9-a8a2-127762d5b61b-image.png] FreeNAS has two 10Gbe nics which are isolated based on the type of traffic: 10.10.1.5 is for VM traffic 10.10.2.3 is for Backups/Migration traffic
  • XO Error Loading Health Tab

    5
    1
    0 Votes
    5 Posts
    901 Views
    S
    I can confirm it's now working. Thank You! Health page loads fine w/ the latest commit.
  • Custom templates in hub?

    1
    1 Votes
    1 Posts
    294 Views
    No one has replied
  • constant tasks every few seconds "Xapi#getResource /rrd_updates"

    7
    0 Votes
    7 Posts
    929 Views
    TheNorthernLightT
    @heman Yes. The management interface on each host (Eth4) is in the same vlan as XOA's management interface. Storage vlans on each host (Bond0) is in the same storage vlan as the second interface on XOA (setup for backups) with no gateway.
  • Create virtual network but block internet access?

    3
    0 Votes
    3 Posts
    1k Views
    fohdeeshaF
    @zevgeny Hi, yes this can be easily done by just creating a new network as you described. VMs will be able to access anything in that network/subnet without extra configuration. If they ever need to talk to things outside of that network/subnet (like the internet), they would need a router to route the traffic between subnets
  • LDAP authentication plugin on XOA

    Solved
    4
    0 Votes
    4 Posts
    690 Views
    K
    @olivierlambert Thanks!