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
    629 Posts
    K
    @olivierlambert & @mathieura thanks for the speedy response. Duly noted, very much appreciated.
  • 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
  • Bug. XOA crash when adding IO counters in htop

    2
    2
    0 Votes
    2 Posts
    288 Views
    ForzaF
    A toolstack restart cleared the ongoing-but-failed tasks.
  • make snapshot by every two weeks - expictly not in weekend

    6
    1
    0 Votes
    6 Posts
    970 Views
    akurzawaA
    That's what I do now - I'm disabling this backup task for 2nd and 4th week.
  • Create job to migrate several VMs

    2
    0 Votes
    2 Posts
    428 Views
    B
    @bberndt said in Create job to migrate several VMs: Tring to create a job, to schedule the migration of several VMs to another host. At the bottom, there are a couple things I don't know. There are two check boxes here for each of these: mapVdisSrs mapVifsNetworks They don't seem to do anything. What are these? Also, what goes in the box Migration Network. The name storage1, or network1 don't work. thanks. Ah! the UUID of the storage Migration network on the destination is what I need, apparently.
  • How to delete orphaned VHD virtual disks?

    4
    1
    0 Votes
    4 Posts
    2k Views
    olivierlambertO
    Check host logs to understand why. Maybe those VHD were attached to the control domain or something like that.
  • XenOrchestra multicore ?

    6
    2
    0 Votes
    6 Posts
    760 Views
    julien-fJ
    @akurzawa xo-server is not explicitly multi-processed, but it uses async IO calls in Node which should lead to multi-threaded operations. Anyway, we are currently working on reimplementing backups for the proxy and it will eventually lead to using multiple processes. These changes will at the end be merged back to xo-server as well.
  • Backup NG Remote "File already exists"

    Solved
    2
    0 Votes
    2 Posts
    659 Views
    G
    ok, logged into linux, su root, and tried the command on the console mount -t nfs 192.168.30.60:/mnt/Brutus/Remote /run/xo-server/mounts/86109d77-9600-48c6-b131-0ca475cd1ad4 -o vers=3 mount.nfs: requested NFS version or transport protocol is not supported tried without -o vers=3 and it worked.
  • Continuous Replication and snapshots together

    10
    1
    0 Votes
    10 Posts
    2k Views
    badrAZB
    If you create two separated jobs. One for the CR and one for the Rolling snapshot they will not interfere.
  • Scheduling continuous replication on xo-server built from sources

    Solved
    5
    1
    0 Votes
    5 Posts
    980 Views
    S
    Changed it to run after every 10 mins. I was missing the correct configuration. Thank you very much.
  • Deleting 25 vms - stuck, nothing happening

    4
    1
    0 Votes
    4 Posts
    889 Views
    akurzawaA
    OK the tasks (it been 8 hours since I've checked) are gone, but the VHDs localted on backup server's localstorage remains. QUESTION: How to delete VHDs that are not realted to any vm? I think it will not be deleted automatically. EG. For example - I've deleted "Atlas" VM, but big atlas VHD remains on BackupHost's local storage: [image: 1581667660068-666ed028-c8e0-4ae7-86f3-1a307f7eee76-image.png]
  • XO Backup Retention and Replication Retention

    4
    0 Votes
    4 Posts
    1k Views
    badrAZB
    Hi, It's possible to do it using the UI, simply create a schedule with 7 as Backup retention and 2 as Replication retention. [image: 1581581696403-fd938a54-8730-4bcf-85c3-7caf2018ac52-image.png]
  • Xen Orchestra Backup Stuck

    Solved
    13
    2
    0 Votes
    13 Posts
    3k Views
    olivierlambertO
    Because there's a ton of dependencies, and we try to decouple things, this work takes time. We should be able to run on a more recent version of Node soon, and when it will be the case, our doc will be updated accordingly. That's exactly why we can't support 3rd party installers. Our doc might change and during the interval, if the 3rd party installer isn't following, then it will break.
  • This topic is deleted!

    95
    0 Votes
    95 Posts
    11k Views
  • How do you create a new vm from an imported disk

    Solved
    15
    0 Votes
    15 Posts
    12k Views
    P
    OK, seems I wasn't trying hard enough. I was trying to mount the tools under the iso list, but when I look further down the list to xc-ng Tools it turns out I can mount the tools from there as long as I do it manually (mount /dev/sr0 /media/blahblah). Installed now, all good.
  • Merging XO forum here

    5
    7 Votes
    5 Posts
    3k Views
    olivierlambertO
    There's no tool to "merge" old forum or fetch old message. So for few months we'll still have old XO forum then it will be automatically redirected to the XO category here.
  • XOA build number

    13
    1 Votes
    13 Posts
    2k Views
    olivierlambertO
    It's just a missing info in a config file of the appliance. Not a big deal, just surprising to see that now, despite the fact it was there before.
  • 0 Votes
    1 Posts
    330 Views
    No one has replied
  • XO Delta Backup Fails to Local Storage Mounted via NFS

    4
    2
    0 Votes
    4 Posts
    614 Views
    S
    Hi, So I tried using the NFS target remotes but the speed of transfer was very poor even though the connection from XO to the NFS server is over 10Gbe. XO is on the same XCP-ng host as the VMs being backed up. This XCP-ng server is connected to the NFS mount over 10Gbe network: [image: 1581002643082-56cc5a0a-e633-443b-9a50-6575ef5cddaf-image.png] Here is the NFS Remotes setting in XO to the backup server (FreeNAS) at IP 10.10.2.3:[image: 1581002745614-046fcdaa-8788-4d69-aa00-c1620a0afb46-image.png] The backup logs show extremely low transfer speed: [image: 1581001993532-b51d304d-2fb6-472f-8eb9-0dbec967d49c-image.png]
  • How to select network for migration in XOA

    3
    0 Votes
    3 Posts
    2k Views
    G
    Okay perfect I'll have a look Thanks!
  • VSS Backup/Application Consistent

    5
    0 Votes
    5 Posts
    744 Views
    stormiS
    Also note that Citrix guest tools version 9 removed VSS support already.
  • VM backup to local storage

    6
    0 Votes
    6 Posts
    2k Views
    D
    @olivierlambert Thanks again for the reply. I’m looking into it more. I think I need to add the storage directly to the VM running XO. I was trying to use a drive connected to a drive on my local network. Though it says it can talk to the drive, it does not reach it. I’m trying now to add an NFS to the XO server.