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
  • Move build to use npm and Turbo

    11
    2 Votes
    11 Posts
    3k Views
    julien-fJ
    @zizzithefox Indeed, this is probably easier, thanks for the info
  • Installed certificates Section in XO - What does it do?

    5
    1
    0 Votes
    5 Posts
    1k Views
    JSylvia007J
    @olivierlambert - I'd also like to say that I'm a very recent homelab convert over to XCP-NG. I've been using VMWare for like... 15 years. I have a project at work that I use native Xen for, and have been really impressed with the security and control that we get out of it. I've been in the process of shifting over to XCP-NG over this Christmas break, and I've been really, really happy. There was a bit of a learning curve, but I'm very happy that I'm going to be getting an increase in functionality over my free ESXi instance. Really great work you're all doing!
  • Continuous Replication within same pool

    4
    0 Votes
    4 Posts
    667 Views
    olivierlambertO
    Yes you can do that, there's a tag on a replicated VM to avoid being replicated again.
  • Migration between pools slow down or interrupted

    21
    2
    0 Votes
    21 Posts
    7k Views
    olivierlambertO
    Good catch
  • Power on Settings configuration

    xenorchestra xcp-ng xcp-ng center
    4
    0 Votes
    4 Posts
    2k Views
    olivierlambertO
    The issue is within pools: XCP-ng isn't meant to have pool members down (for various reasons), so the scenario is only limited to pools with one host only
  • Can I replicate between 2 different versions

    4
    0 Votes
    4 Posts
    646 Views
    mauzillaM
    The XO team is also bringing the magic!
  • Replication Backup failure

    3
    2
    0 Votes
    3 Posts
    703 Views
    GheppyG
    It's more work, but... you have to stop the VM and export them, delete the current SR (Local Storage), recreate SR (Local Storage) as local ext4 format import the VM back In this way you switch from LVM to ext4 and the space it needs will be small, not double the space
  • 0 Votes
    6 Posts
    2k Views
    DarkbeldinD
    @BigHeadBighetti Just make a snapshot And yes I know I already discuss this with XOA team to have a more obvoious warnin but you already have a "Are you sure you want to shutdown this VM?" even without the box checked
  • Control domain of Xcp-ng

    16
    1
    0 Votes
    16 Posts
    3k Views
    olivierlambertO
    https://xcp-ng.org/docs/troubleshooting.html is a good start to read. In your case, it's likely inside /var/log/SMlog
  • Troubleshooting Backups (in general)

    7
    2
    0 Votes
    7 Posts
    1k Views
    daveD
    @olivierlambert Yes, i will update and have a look if it changes the behaviour anyhow. "For the rest, it's hard to answer without digging more." That`t exactly was i was looking for: Any Information where i can dig deeper? I`m looking for logs or traces of errors or so. It is not that i just wan`t this particular problem to be solved In my limited understanding of interal processes i think somehow a backup process dies and xo-server does not report or recognize this. But shouldn`t it somehow?
  • ISO Import to Local Storage via XO Not Working

    5
    0 Votes
    5 Posts
    3k Views
    K
    @olivierlambert Oh nice, hope it's not too cold over there. It's 9AM over here in Maryland and a bit nippy but not too cold. Nope, no host or pool logs available (both are empty). Then again, I cleared all the alerts from the dashboard earlier this morning, so not sure if that's what wiped all the logs. I'm not too worried, as this is a testing environment so I'm using this host to do a lot of learning.
  • backup using http instead of https

    23
    0 Votes
    23 Posts
    7k Views
    florentF
    @KPS that is a second bug I will look into it this afternoon. edit : confirmed, I'm working on it
  • XOCE limit ?

    27
    2
    0 Votes
    27 Posts
    8k Views
    florentF
    @Gheppy I am not an expert on the network part but I can help on the NBD part We added some info in this PR https://github.com/vatesfr/xen-orchestra/pull/6596, it should be merged in this form or another in master in a few days. It will give the user more info on the NBD usage and the cause (misconfiguration, or network error) Then if XO ( or the proxy) can't connect to the host through the NBD (for example with a network filtering/ routing), it will fall back to the reliable (but non parallelizable) api call Finally , the backup done with NBD or the legacy api call will produce exactly the same data so they are compatibles, but using the same target (as in the same directory , same remote and same VMs) for multiple job can lead to complex support tickets with interesting race conditions. I would advise to only use the same remote/directory only if the backups jobs does not concern the same VMs fbeauchamp opened this pull request in vatesfr/xen-orchestra closed feat(@xen-orchestra/backups): more information on nbd backups #6596
  • S3 Remote with encryption: VHDFile implementation is not compatible

    11
    0 Votes
    11 Posts
    2k Views
    florentF
    @cdbessig that's strange Since S3 remote are only able to store blocks, the option is enforced on save ( without any uI) I tested locally and the options seems to be there. Can you show me a screenshot of the backup job configuration ?
  • Base Copy (No active VDI)

    vdi base copy remove
    4
    1
    0 Votes
    4 Posts
    3k Views
    olivierlambertO
    Remember that the point of pro support (to help and guide you to run this setup confidently in production).
  • VM won't start with internal error

    7
    0 Votes
    7 Posts
    2k Views
    DanpD
    What is your process for provisioning a VM? What template are you using?
  • XO reports wrong number of backups

    Solved
    11
    0 Votes
    11 Posts
    2k Views
    codesmakerC
    @julien-f Thanks a lot for the fast answer. I'll update to the latest version and test.
  • Importing OVA - “Device Already Exists”

    24
    0 Votes
    24 Posts
    10k Views
    planedropP
    @trent234 Interesting, good to know. I do know that XCP-ng only officially supports 7 network interfaces, so not really surprised by that. It supports more VHDs though so feel like I shouldn't be seeing this error.
  • XOCE - Config path

    10
    0 Votes
    10 Posts
    2k Views
    K
    @Gheppy I found my issue... The changes, I wanted to test have not been committed to "master-branch". After changing the branch, everything is clear... Thank you for your help!
  • 0 Votes
    7 Posts
    2k Views
    olivierlambertO
    +1, that's the way to go