Subcategories

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

    473 Topics
    4k Posts
    olivierlambertO
    Hi, IP conflict?
  • ACLs, Self-service, Cloud-init, Load balancing...

    104 Topics
    863 Posts
    laszlobortelL
    @florent Thanks for your reply! We have started to migrate thousands of VMs, so disk transfer speed is important for us.. We will also do our detailed tests soon with different threads setting and publish it here. I think threads=1 is a good and logical default, but not efficient. Others might complain if you set it to a higher value. Configuration option would be a real good solution.
  • All XO backup features: full and incremental, replication, mirrors...

    511 Topics
    5k Posts
    itservicesI
    Evening @pierrebrunet My bad. I am now on commit b440f and the issue persist. I have written you a message with the link to the file. 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
  • XOA - fail to change pool master

    15
    0 Votes
    15 Posts
    5k Views
    R
    @stormi yes, that we be helpful indeed so we can stick to a build version at least for a while.
  • app.createUserConnection is not a function

    12
    0 Votes
    12 Posts
    2k Views
    olivierlambertO
    I updated the doc accordingly: https://xen-orchestra.com/docs/community.html
  • Windows VM cannot boot, cannot insert ISO

    3
    0 Votes
    3 Posts
    2k Views
    A
    @mauzilla To boot an ISO in a VM, you need to select "DVD" in the boot order, put it first, and hit "Save". Then boot the VM. For ANY system (real or VM), you need boot it with the same type of bootstrap as it was installed to use. BIOS or UEFI. If you change the boot type then you have to make the OS ready to use the new/different settings (not just a VM problem). If you created a Windows image from a working system that booted with UEFI then you have to copy ALL partitions (the whole disk), not just the C windows drive.
  • Cannot resume an imported image

    3
    0 Votes
    3 Posts
    828 Views
    A
    @stormi Thanks for the big help that fixed the issue.
  • 0 Votes
    33 Posts
    16k Views
    Y
    Hi, first of all, thank you for developing and supporting these awesome products. I witnessed a similar issue upon running continuous replication on a VM after growing one of the disks on the source side. I run delta backup to a NFS share and continuous replication to another XCP-ng host in one job. The most important part of the relevant log messages remind me of this issue - this topic is the only similar reference I was able to find, so I hope this is the right place to post. If not, please let me know, and I'll create a new topic Mar 21 01:00:29 xcp-ng-2 xapi: [ info||8947241 INET :::80|Importing raw VDI R:3967654dad6b|vhd_tool_wrapper] Executing /bin/vhd-tool serve --source-format vhd --source-protocol none --source-fd 1f47b1fe-a9ea-4bda-ab8e-2101e5677059 --tar-filename-prefix --destination file:///dev/sm/backend/f7aca870-12e0-8352-9f86-f52d575eb313/6cd16448-6839-476d-93b1-2f8b816c827f --destination-format raw --progress --machine --direct --destination-size 0 --prezeroed Mar 21 01:00:29 xcp-ng-2 xapi: [error||8947241 INET :::80|Importing raw VDI R:3967654dad6b|vhd_tool_wrapper] vhd-tool failed, returning VDI_IO_ERROR Mar 21 01:00:29 xcp-ng-2 xapi: [error||8947241 INET :::80|Importing raw VDI R:3967654dad6b|vhd_tool_wrapper] vhd-tool output: vhd-tool: Non-zero size required (either a pre-existing destination file or specified via --destination-size on the command line)\x0A I'm currently running Xen Orchestra compiled from sources, on commit 5bc44363f9ac9fa534f3247e697f1b3c6991e916. XCP-ng is on version 8.2.0. I know that this is not fully up-to-date, but after retrying that backup as a first measure, Xen Orchestra ran a full backup for that VM, so I can't reproduce that issue anymore, but I figured posting that here might help resolving the aforementioned issue, if the causes correlate.
  • Netbox Plugin

    2
    0 Votes
    2 Posts
    793 Views
    olivierlambertO
    Hi @LTSFGriffin Netbox sync plugin is available in Enterprise tier
  • Transport-email and Google SMTP

    3
    0 Votes
    3 Posts
    1k Views
    J
    @Darkbeldin I wasn't sure about turning on two-factor. I went through that process and generated the "app password" and it seems to be working. Thanks for the info!
  • XOA can't start after installation and contradictory messages

    13
    0 Votes
    13 Posts
    6k Views
    olivierlambertO
    FYI, we modified the deploy script to be able to automatically modify XOA's VIF to run on the management network. So even in case of using only bonded networks like @Low351, this will now work.
  • Dashboard Health gives 'an error has occurred'

    10
    0 Votes
    10 Posts
    1k Views
    DanpD
    @davidg said in Dashboard Health gives 'an error has occurred': 5.58.1 That's ancient, so not a valid comparison. It's likely that a recent commit has broken something that they will eventually identify / fix.
  • New Smart Backup failure

    backup xenorchestra smart backups
    14
    0 Votes
    14 Posts
    3k Views
    mguyattM
    I did for sure. But I noticed that a new commit(886ff2cd7) was made literally in about the last hour and after updating again to that version all is good!
  • Server and VM report

    9
    0 Votes
    9 Posts
    3k Views
    J
    @olivierlambert We are using rrd2csv to get host cpu stats into SQL to provide nice Grafana page sorted by pool. It would be nice to dial even further down to the vm's that are running high cpu or have memory burden.
  • Kubernetes recipe failed - tasks stuck

    3
    0 Votes
    3 Posts
    616 Views
    P
    @BenjiReis XO from the appliance. I hadn't noticed the tasks queue counting up like that before I tried the recipe, but I'm perfectly willing to accept that I'm just not that observant. Thanks!
  • File recovery error

    4
    0 Votes
    4 Posts
    873 Views
    olivierlambertO
    Community version doesn't have a release number, but a commit version on master. Please check you are on the latest commit and rebuild
  • Xen Orchestra from Sources not showing host updates?

    4
    0 Votes
    4 Posts
    1k Views
    olivierlambertO
    That's correct. There's no more updates, that's why you MUST upgrade to 8.2 (see https://xcp-ng.org/docs/releases.html#all-releases )
  • XO HA - Different CPU's?

    2
    0 Votes
    2 Posts
    1k Views
    jedimarcusJ
    @wade_solarch Short answer: try to avoid that. Back in the old XenServer days, you had to manually change the cpu feature flags so it would work at all. https://xcp-ng.org/docs/requirements.html#pool-requirements This confirms that you can't mix Intel & AMD in a pool https://xcp-ng.org/docs/requirements.html#pool-requirements This explains Heterogeneous pools a little
  • Backup started to fail

    17
    3
    0 Votes
    17 Posts
    2k Views
    DarkbeldinD
    @stevewest15 Happy to help
  • 0 Votes
    1 Posts
    476 Views
    No one has replied
  • XOA - backups skipped to protect VDI chain

    23
    1
    0 Votes
    23 Posts
    7k Views
    olivierlambertO
    VDI to coalesce number should decrease over time yes. If it's not, you might have a coalesce issue in your storage, check the /var/log/SMlog in the relevant host (master for shared storage, the host attached to its local storage otherwise). Rescan will scan for the LV/VHD files. But coalesce is automatically checked/started every 5 minutes. Coalesce can take time (depending on SR read/write and quantity to "merge"). Next releases will have a visible task for pending coalesce (next major XCP-ng release). Until then, you can do a ps axf | grep coalesce to see if there's something happening.
  • CD drive not completely installed in XOA

    16
    0 Votes
    16 Posts
    6k Views
    julien-fJ
    @olivierlambert Done: https://github.com/vatesfr/xen-orchestra/commit/33b45d2eda2ce6d8071541da246bdcfd06b133b8 It's not perfect but that should help Example: vm.start { "id": "123e4f2b-498e-d0af-15ae-f835a1e9f59f", "bypassMacAddressesCheck": false, "force": false } { "errors": [ "R620-L3: VM_REQUIRES_SR(OpaqueRef:21fa00fc-62ce-4694-8b49-fcecd600a89e, OpaqueRef:4dd615a7-9a8c-4698-aceb-c10f782321c8)", "R620-L1: HOST_NOT_ENOUGH_FREE_MEMORY(216430280704, 18778341376)", "R620-L2: VM_REQUIRES_SR(OpaqueRef:21fa00fc-62ce-4694-8b49-fcecd600a89e, OpaqueRef:4dd615a7-9a8c-4698-aceb-c10f782321c8)" ], "message": "", "name": "Error", "stack": "Error: at Xapi._startVm (file:///home/julien/dev/vatesfr/xen-orchestra/packages/xo-server/src/xapi/index.mjs:1358:15) at Xapi.startVm (file:///home/julien/dev/vatesfr/xen-orchestra/packages/xo-server/src/xapi/index.mjs:1393:7) at Api.callApiMethod (file:///home/julien/dev/vatesfr/xen-orchestra/packages/xo-server/src/xo-mixins/api.mjs:307:20)" } 2 julien-f committed to vatesfr/xen-orchestra feat(xo-server): better info when failing to start a VM Fixes https://xcp-ng.org/forum/post/47329
  • Enable Advanced Live Telemetry option disabled

    Solved
    3
    0 Votes
    3 Posts
    1k Views
    M
    @Danp K great, thanks.