Subcategories

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

    476 Topics
    4k Posts
    acebmxerA
    So if i set VMs to Best-effort or disabled for HA i get not enough memory. @pkgw Do you have Twinstore configured and/or HA enabled? If no I will continue my issues at the twinstore post. If i set to restart i get this.... host.setMaintenanceMode { "id": "35233210-4e37-4703-9bf6-9e8a9c24df9f", "maintenance": true } { "code": "HA_OPERATION_WOULD_BREAK_FAILOVER_PLAN", "params": [], "call": { "duration": 5, "method": "host.disable", "params": [ "* session id *", "OpaqueRef:d9bd976f-445c-8244-1b56-879f446efc12" ] }, "message": "HA_OPERATION_WOULD_BREAK_FAILOVER_PLAN()", "name": "XapiError", "stack": "XapiError: HA_OPERATION_WOULD_BREAK_FAILOVER_PLAN() at XapiError.wrap (file:///opt/xen-orchestra/packages/xen-api/_XapiError.mjs:16:12) at file:///opt/xen-orchestra/packages/xen-api/transports/json-rpc.mjs:38:21 at runNextTicks (node:internal/process/task_queues:65:5) at processImmediate (node:internal/timers:472:9)" }
  • ACLs, Self-service, Cloud-init, Load balancing...

    105 Topics
    864 Posts
    M
    Is a centralized XOA server "managing" two remote Proxy-fronted XCP clusters supported with the SDN Controller Plugin? We are looking to deploy an architecture similar to this blog post from 2022: https://xen-orchestra.com/blog/xo-proxy-a-concrete-guide/
  • All XO backup features: full and incremental, replication, mirrors...

    515 Topics
    5k Posts
    itservicesI
    Hi @simonp. The problem is gone with commit 44e5b!!! Up-to-date XCP-NG host and XenOrchestra VM were restarted after updating XenOrchestra. I just initiated a full backup and all VMs - including my problematic machine - were backed up successfully without error. Awesome! I will wait with closing until the scheduled delta backup is completed successfully, too. Edit: Scheduled backup ran without issue. The problem seems to have been resolved! Thanks for all your work and assistance Regards, Marc
  • Everything related to Xen Orchestra's REST API

    86 Topics
    645 Posts
    J
    Hello I'm pulling stats for all VMs to understand CPU usage. We're a bit behind the curve in terms of XO versions, but these questions hopefully are still relevant. If using a granularity of days, the interval is set to 86400 (understandably) but the endTimestamp varies. Running this on June 9th @ ~1740 we get timestamps for both Mon Jun 8 01:00:00 AM BST 2026 and Tues Jun 9 01:00:00 AM BST 2026. Does this average across the day? Why is the timestamp 0100? Why would there be different timestamps between VMs (all are running) and does that mean that the figures are misaligned in the results? These are retrieved via curl and a bash script, a bit hacky, but for clarity the request is: ++ curl -X GET -s -H accept:application/json -b authenticationToken=[[REDACTED]] -o [[REDACTED]] 'https://[[REDACTED]]/rest/v0/vms/[[REDACTED]]/stats?granularity=days' Really keen to know if we can control the start and endtime, as well as provide a manual interval, as well as the aggregation strategy (min, max, average). Are any of these possible? Lastly, is cpuUsage the percentage as per the dashboard, but averaged over all CPUs? Thanks so much in advance. James
  • Terraform, Packer or any tool to do IaC

    51 Topics
    471 Posts
    poddingueP
    The Kubernetes CSI driver for Xen Orchestra just hit v0.4.0, and we want it on more real clusters before it reaches a stable release candidate. If you run Kubernetes on XCP-ng VMs, this is a good time to give it a proper workout. What's new in v0.4.0: Local-storage support Automatic pool-discovery fallback Kubernetes metadata now lives in Xen Orchestra VDI tags instead of the deprecated other_config. That change also drops the old requirement for Xen Orchestra 6.4 or newer, so the driver runs on more deployments now. ️ Read this before you upgrade. v0.4.0 is a breaking change. The Kubernetes metadata moved from other_config to VDI tags, so you must migrate before upgrading from v0.3.0. Do not upgrade in place: follow the v0.3.0 to v0.4.0 migration guide in the release notes, then move to v0.4.0. What helps us most is hearing how it behaves on your own setup: what works, what breaks, which storage backend you use, and which flavour of Kubernetes you run (k3s, full k8s, or something else). Edge cases on real clusters are the ones we don't see in our own testing. Where to report: start right here in this thread. It keeps everything visible to the community and lets others on the same setup jump in. If something turns out to be a reproducible bug, we'll move it to a GitHub issue on the repo so the team can track it to a fix. Release notes and migration guide: https://github.com/vatesfr/xenorchestra-csi-driver/releases/tag/v0.4.0
  • Ansible dynamic inventory and XO

    11
    0 Votes
    11 Posts
    3k Views
    olivierlambertO
    Nice
  • xo-cli - Get alarms

    Solved
    8
    1
    0 Votes
    8 Posts
    1k Views
    olivierlambertO
    You are welcome Enjoy! (great thing about xo cli is that you can get alarms of all your hosts from a single endpoint)
  • XOA migrate the XO itself

    Unsolved
    2
    0 Votes
    2 Posts
    954 Views
    olivierlambertO
    You can't, indeed, live migrate a VM from Intel to AMD (or vice-versa), for obvious reason (the VM will try to call Intel specific instructions after migrating on an AMD CPU, the result would be… a crash!) We had a similar migration ourselves (in our own prod), from Intel to AMD. And we decided to use Continuous Replication to make a first "backup" on destination (the full) while the original VMs were running (no service interruption). Then, we shut down the VMs, make another round of replication (delta, very fast) and then we booted on destination.
  • New VMs created in Xen Orchestra reboot every couple of minutes

    5
    0 Votes
    5 Posts
    1k Views
    R
    @olivierlambert That socket issue was not what was causing the problem, I went through setting by setting and if I choose 2GB of memory for a VM I get constant reboots when using XOA. I was able to repeat the issue with a number of OSs not just RHEL 8 (and variants). I havent went through and compared the differences between XOA and XenCenter yet.
  • Multiple remotes in a backup - how is retention calculated

    5
    0 Votes
    5 Posts
    1k Views
    badrAZB
    @s-pam said in Multiple remotes in a backup - how is retention calculated: OK Great. So if I set retention to 10, it would keep 10 copies on each remote? Yes. it will keep 10 copies on each remote.
  • 0 Votes
    1 Posts
    1k Views
    No one has replied
  • Error: SR_BACKEND_FAILURE_109(, The snapshot chain is too long, )

    6
    0 Votes
    6 Posts
    3k Views
    olivierlambertO
    In theory, Xen Orchestra got a protection against this issue (see https://xen-orchestra.com/docs/backup_troubleshooting.html#vdi-chain-protection ) So you have to find what's causing a long chain outside XO. You can check in XO, in the Advanced tab of the SR view, if there's VDI to coalesce. Or maybe very long chain for other reasons, there's a tool we made called xapi-explore-sr.
  • Backups/VM Migrations Slow

    4
    0 Votes
    4 Posts
    2k Views
    olivierlambertO
    Use CR instead of DR then, it will send only the diff to the other host, so it will be faster.
  • Cannot migrate VM from 7.5/7.6 to 8.2 INTERNAL_ERROR

    4
    0 Votes
    4 Posts
    819 Views
    M
    I can migrate this VM from another host (7.6) to the 8.2 host just fine: [image: 1612363337871-29412a19-7047-4feb-a82e-1b3d3ce61a94-image.png] Im not sure what the agent actually is, thats why im guessing this might be related [image: 1612363441628-eb67e1dd-0979-4b17-94a8-b3d4f72397a5-image.png] VM that fails: [image: 1612363482511-153e71d2-3779-4894-b990-3b4f6b02e032-image.png]
  • -1 Votes
    10 Posts
    2k Views
    olivierlambertO
    It's not that easy to block some screens. But that's an interesting suggestion, I'll pass that to @pdonias
  • Multiple VM exports fails with unknown error

    7
    0 Votes
    7 Posts
    2k Views
    DanpD
    @nodesocket Depends on your setup. For mine, I use sudo systemctl restart xo-server.service. You could also just restart the VM.
  • ova problems

    Solved community
    20
    0 Votes
    20 Posts
    5k Views
    olivierlambertO
    @s-pam said in ova problems: @crazytoo Best way to be sure it to boot the VM using a live-cd, for example systemrescue-cd or ubuntu live-dvd. Then you can use tools like gparted to inspect your disk image from inside the booted vm. That's exactly what I advised to do earlier, but it seems it was missed the first time I think that's the best approach to understand what's going on in the VM disk.
  • xoa update "your appliance is too old, please deploy a new one"

    2
    0 Votes
    2 Posts
    731 Views
    olivierlambertO
    Mainly a more recent version of Debian.
  • Duplicate entries in backup restore?

    3
    1
    0 Votes
    3 Posts
    346 Views
    ForzaF
    @jedimarcus No. But I think the problem could be an issue where I merged two remote backup trees.
  • Deleted Backup Jobs

    Solved
    7
    7
    0 Votes
    7 Posts
    1k Views
    A
    Complete solution is delete delete all jobs with type "call" then delete this job ids from job_ids table. After this delete all schedule's with this job ids. And then delete this schedule ids from schedule_ids table.
  • when i use the eve-ng it crashs

    2
    0 Votes
    2 Posts
    1k Views
    olivierlambertO
    Hi, I think the issue was already reported on EVE-ng forums. It's a problem with their image and Xen, if I remember correctly.
  • Roadmap vote

    2
    1
    0 Votes
    2 Posts
    538 Views
    olivierlambertO
    Hi, We never had the time to formalize that. But we do something "close": feature requests via paid support ticket are given a top priority. For the community feedback, it's pretty easy to see what's the most required via github repo or here.
  • Unable to start newly created VM

    Solved
    4
    0 Votes
    4 Posts
    978 Views
    olivierlambertO
    Thanks for the feedback. If you couldn't find this in our troubleshooting section of our doc, feel free to contribute, that will be helpful to others too
  • New install of XCP-ng, can't complete Quick Deploy

    Solved
    12
    0 Votes
    12 Posts
    8k Views
    DanpD
    @mstollenwerk Took care of that for you
  • Complete uninstall of XOSANv1?

    2
    0 Votes
    2 Posts
    382 Views
    olivierlambertO
    Hi, Please open a support ticket so we can take a look remotely. In theory, just removing the SR should be enough.