Subcategories

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

    479 Topics
    4k Posts
    johnnezeroJ
    @poddingue Oh yes (dumb me). Very good, we'll see if they respond (as now there's two @ refferences). Happy Day
  • ACLs, Self-service, Cloud-init, Load balancing...

    105 Topics
    865 Posts
    S
    Hello, You can find all the demo dashboards at the following address: https://github.com/steeve-san/OpenMetrics_XCP_Grafana Regard,
  • All XO backup features: full and incremental, replication, mirrors...

    523 Topics
    6k Posts
    christopher-petzelC
    @florent suggesting this looks like a network issue, I took a look at my XO's server's syslog and found the error when this occurs. 2026-07-31T00:10:00.428083-04:00 mis-26-svr xo-server[1298]: 2026-07-31T04:10:00.427Z xo:xo-server ERROR uncaught exception { 2026-07-31T00:10:00.428186-04:00 mis-26-svr xo-server[1298]: error: AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value: 2026-07-31T00:10:00.428262-04:00 mis-26-svr xo-server[1298]: 2026-07-31T00:10:00.428309-04:00 mis-26-svr xo-server[1298]: assert(!this.paused) 2026-07-31T00:10:00.428341-04:00 mis-26-svr xo-server[1298]: 2026-07-31T00:10:00.428391-04:00 mis-26-svr xo-server[1298]: at Parser.finish (/opt/xo/xo-builds/xen-orchestra-202607200851/node_modules/undici/lib/dispatcher/client-h1.js:302:5) 2026-07-31T00:10:00.428414-04:00 mis-26-svr xo-server[1298]: at TLSSocket.<anonymous> (/opt/xo/xo-builds/xen-orchestra-202607200851/node_modules/undici/lib/dispatcher/client-h1.js:741:32) 2026-07-31T00:10:00.428434-04:00 mis-26-svr xo-server[1298]: at TLSSocket.emit (node:events:521:24) 2026-07-31T00:10:00.428478-04:00 mis-26-svr xo-server[1298]: at TLSSocket.patchedEmit [as emit] (/opt/xo/xo-builds/xen-orchestra-202607200851/@xen-orchestra/log/configure.js:52:17) 2026-07-31T00:10:00.428508-04:00 mis-26-svr xo-server[1298]: at endReadableNT (node:internal/streams/readable:1729:12) 2026-07-31T00:10:00.428525-04:00 mis-26-svr xo-server[1298]: at processTicksAndRejections (node:internal/process/task_queues:90:21) { 2026-07-31T00:10:00.428549-04:00 mis-26-svr xo-server[1298]: generatedMessage: true, 2026-07-31T00:10:00.428567-04:00 mis-26-svr xo-server[1298]: code: 'ERR_ASSERTION', 2026-07-31T00:10:00.428582-04:00 mis-26-svr xo-server[1298]: actual: false, 2026-07-31T00:10:00.428599-04:00 mis-26-svr xo-server[1298]: expected: true, 2026-07-31T00:10:00.428614-04:00 mis-26-svr xo-server[1298]: operator: '==', 2026-07-31T00:10:00.428628-04:00 mis-26-svr xo-server[1298]: diff: 'simple' 2026-07-31T00:10:00.428642-04:00 mis-26-svr xo-server[1298]: } 2026-07-31T00:10:00.428659-04:00 mis-26-svr xo-server[1298]: } So it looks like xo-server is dying, could it be the module undici that the problem here? Keep in mind that 13 other instances of xo-server performed the backup without a problem at the exact same time. Some days this never happens, some days it could be 4 instances of xo-server that die the same way in executing the backup. I think it's also important to note that the instance of xo-server dying happens immediately upon the backup being started at 10 minutes after midnight. I would think that if the problem were the network itself, that there would be some timeout period before causing the xo-server instance to crash. To answer a question asked of @jb , this is a local XCP-ng management network and there are no other backups occurring at 00:10.
  • Everything related to Xen Orchestra's REST API

    87 Topics
    648 Posts
    A
    @poddingue Thanks - great question, and the answer is simpler than you might expect. Every tool in the catalog is classified right in its description: read, write, admin, dangerous. That classification ships with the DADL itself - nobody has to sort 267 endpoints by hand before letting an agent near them. From there it is a ladder: Each agent (or user) gets a maximum access level. Our reviewing agent is capped at "read" - so a VDI delete is not blocked with a warning, it is simply not on the table. And this holds even though the gateway itself holds an admin token towards XO: the agent's reach ends at the classification, not at the token. The model cannot talk its way past a label. Exceptions are a one-line override: "read-only, but snapshot_vm is allowed" - or the other direction, "writes allowed, but nothing classified dangerous". For the fine-grained cases - "read-only, except never touch this one VM" for example - there are policies that can filter on parameters, not just functions. Underneath it all, one rule: fail-closed. If any check cannot complete, the call does not run. The detail we find most underrated: refused attempts are logged as first-class events. A reviewing agent that suddenly asks for a delete is not a near-miss - it is a signal, because it usually means the model read something it should not have trusted. Which is your Insights piece's "boundaries drawn in advance", applied literally. Happy to go deeper on any of this - the boundary question is exactly what the gateway exists for.
  • Terraform, Packer or any tool to do IaC

    51 Topics
    472 Posts
    JeremyLARDENOISJ
    New releases! Terraform Provider Xen Orchestra v0.40.0 This new release allows users to import VMs directly from Xen Orchestra into Terraform without recreating it or modifying manually the Terraform state. There is still some drift when importing it, but nothing that changes the real state of VM and we are currently on it! https://github.com/vatesfr/terraform-provider-xenorchestra/releases/tag/v0.40.0 Golang SDK for Xen Orchestra v1.17.0 v2 The network service is now available from the v2 client! You can now create, get and delete your network directly from it! v1 & v2 The template value in VM struct params has been fixed, We can now get the template id directly from it. https://github.com/vatesfr/xenorchestra-go-sdk/releases/tag/v1.17.0
  • Hourly Error: "fs_usage"

    Solved
    11
    0 Votes
    11 Posts
    3k Views
    M
    Have created an SMB share and shoved them all there - problem seems to have gone away. Thanks for the help!
  • Yarn install error with latest XO github update

    Solved
    7
    0 Votes
    7 Posts
    4k Views
    P
    For the installation of the correct node version for some major Linux distributions please follow the installation instructions in this readme: https://github.com/nodesource/distributions/blob/master/README.md The Ubuntu section worked for me.
  • Backup Strategy

    2
    0 Votes
    2 Posts
    845 Views
    DarkbeldinD
    To change your IP address see doc here
  • Installation form sources missing xo-server module

    7
    0 Votes
    7 Posts
    2k Views
    DanpD
    @julien-f I believe that you already updated the docs, but that occurred after the postings above. You may want to review the section discussing forever-service to be sure it doesn't need modified.
  • restoring META

    7
    0 Votes
    7 Posts
    3k Views
    C
    @s-pam i'd say use them, always use the. Only a few KB of space and could be every handy. We have 3 servers in the pool so overlooked requirement for full pool recovery. (p.s we didn't fail, it's during DR testing it was flagged) we had the backups on already and if this had been a real issue, would have saved a lot of bacon!! turn it on ! (and check you can get it without a running XOA for quicker restore in full meltdown.)
  • Build from source Error

    Solved
    12
    0 Votes
    12 Posts
    2k Views
    olivierlambertO
    Thanks for the report!
  • NTP Settings XOA?

    13
    2
    0 Votes
    13 Posts
    9k Views
    olivierlambertO
    This section has nothing to do with XOA IP address, but useful to restrict some VMs to some IP address. I agree it's unclear. But as I said, for now, there's 0 GUI to configure the system per se. That's why I said it could be an addition sure, but there's nothing yet, so adding it will take some time or efforts, and it's not a priority as we speak (our backlog is already pretty big). But again, as an Open Source project, we are welcoming contributions!
  • 0 Votes
    2 Posts
    491 Views
    olivierlambertO
    To pick a pool: it's up to you to decide, depending on available pool storage capacity, speed. Same for compute and network. It's very very specific to your own needs, there's no universal rules. Host selection for a VM: it's not decided by XO but by XAPI (except if you specifically ask to boot on a host). IIRC, it's a mix of load and memory available, but if you want to dig further, it should be written in the XAPI code somewhere
  • USB Hard drives for VM exports

    13
    0 Votes
    13 Posts
    6k Views
    IndyJI
    @indyj FYI when I ran this test again it worked. this time: I ran it as a "Delta" backup. And then rescanned the removable media. I was then able to restore an individual file from the backup on USB media.
  • creating trunked connections through physical interfaces.

    3
    0 Votes
    3 Posts
    1k Views
    fohdeeshaF
    @garrya Hi, it sounds like you've set up VLAN interfaces correctly on the XCP-ng side, but the switch they are connected to also needs to be aware of VLAN tags to pass them, or else it will only pass untagged traffic as you noticed. You'll need a smart/managed switch with VLAN capability to do so
  • Authentication via Active Directory

    3
    0 Votes
    3 Posts
    2k Views
    B
    @deoccultist Sadly, none of this seemed to make any difference.
  • Can Network be selected for Backups?

    4
    1
    0 Votes
    4 Posts
    1k Views
    olivierlambertO
    See my answer in the other thread.
  • Support for XO in docker container

    21
    0 Votes
    21 Posts
    14k Views
    olivierlambertO
    We are investigating an elegant solution called RunX. Basically, it might be able to transparently any standard "container stack" (Docker and/or k8s). See https://www.youtube.com/watch?v=9m95hojMtsU There's some work to adapt that to XAPI, but it might be doable. This means XCP-ng could be "container" native while having very good level of isolation with very small VMs (only few MiB overhead).
  • Add rescan ISO SR from VM menu

    6
    1
    0 Votes
    6 Posts
    2k Views
    pdoniasP
    This is simple enough so we'll implement it in XO 5. Thanks for the feedback!
  • Wasabi just wont work...

    9
    0 Votes
    9 Posts
    2k Views
    K
    5.79.3 / 5.81.0 All of my backups work (now), and speeds range between 5 MB/s to 20 MB/s. Most of my VM's are smaller (zstd helps a lot), though the largest archive is about 80 GB. Also, all of my backups are sequential -- I seem to remember a previous note where somebody had problems with concurrent uploads. My XOCE VM runs with 12 GB, which was the number that "just works" according to some of my earlier problems (and I haven't bothered to chase down or fine tune further).
  • This topic is deleted!

    3
    0 Votes
    3 Posts
    4 Views
  • backblaze b2 / amazon s3 as remote in xoa

    59
    2
    0 Votes
    59 Posts
    34k Views
    S
  • Migrating VM fails with DUPLICATE_VM error

    12
    0 Votes
    12 Posts
    3k Views
    I
    @olivierlambert having exactly the same issue as wcom939 reported. What did you mean by "Can you try with xe command to see if you have the same error?" ? Migrate using CLI? there are too many options:)
  • Alpine Linux from HUB: xe-daemon: CollectOS error

    9
    0 Votes
    9 Posts
    2k Views
    olivierlambertO
    @fohdeesha let's work on another clean Alpine template.
  • Task aborted before completion

    3
    0 Votes
    3 Posts
    538 Views
    mauzillaM
    @danp thank you, but in our case the 2nd remote is a hypervisor? I dont know how we should run the backup first then copy the VHD files to the the 2nd hypervisor as continuous replication also creates a VM? I am sure that if I can limit the amount of VM's that is exported once (it's currently 2) then the backups for the large VM should complete. Is there a setting available for this?