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
  • Backups silently fail with invalid XO Proxy License

    Solved
    7
    0 Votes
    7 Posts
    2k Views
    N
    @julien-f Thanks!
  • Backup failed with obscure error message

    6
    0 Votes
    6 Posts
    2k Views
    olivierlambertO
    The issue is to snapshot the VM while there's USB passthrough. Offline backup might work, please try.
  • cloud-init ssh key works but not user config

    8
    0 Votes
    8 Posts
    4k Views
    C
    Hello, Did you manage to make it work with a static addressing network ? I tried this (where myip and mygateway are replaced by real values) network: version: 1 config: - type: physical name: eth0 subnets: - type: static address: myip/24 gateway: mygateway with no success. and as I don't have an IP assignated and theses cloud images are passwordless by default I can't event log in from the console to troubleshoot.
  • Delta Backup transferred thru slow management network...

    8
    0 Votes
    8 Posts
    2k Views
    I
    @darkbeldin Any additional idea, why this still happens after the suggested change? Many thanks!
  • VM Migration stuck at 0% VM metadata import

    2
    1
    0 Votes
    2 Posts
    2k Views
    olivierlambertO
    Please check your XOA is fully up to date
  • Delta backup Questions

    2
    0 Votes
    2 Posts
    428 Views
    olivierlambertO
    The initial job will take some time, but it will be fine after that. You can modify the job after getting your second or third run, to see how much data between each run is generated
  • Performance enancement for backups possibe?

    feature to groom
    5
    0 Votes
    5 Posts
    1k Views
    julien-fJ
    Ok, let me know
  • Encrypt server passwords in database

    4
    0 Votes
    4 Posts
    933 Views
    olivierlambertO
    I'm not an English native speaker, it wasn't meant to be passive aggressive at all. I just told you that @julien-f already explained the initial reasons (also telling you we are aware of that fact). Also, XO 6 work is a major rework of the whole thing, and this will be taken into account on our redesign. A note, however: if someone can slip into your XOA, password, tokens and XAPI access are available in memory (regardless the fact you have encryption or not). In that case, a passphrase won't change anything. That's why we decided to remove any default password in the XO virtual Appliance template, so nobody still use default creds as a "known" entry point. And finally, as Xen Orchestra is fully Open Source, your contributions are very welcome
  • [SOLVED] Migrate XO from sources to another machine

    Solved
    3
    0 Votes
    3 Posts
    803 Views
    xiscoX
    @danp hi I did it but, no network shares have been imported and neither backup jobs. will try to reboot machine Well Rebooting did the job, thanks @Danp
  • XOA Hub

    xoa
    7
    0 Votes
    7 Posts
    2k Views
    olivierlambertO
    Can you give some details? How do you imagine to work with that? Because it might be done via RunX at some point I think
  • s3 backups with minio using https and various CAs

    5
    1
    0 Votes
    5 Posts
    1k Views
    nraynaudN
    @sidsanders Hi, I gave a look at your issue, it seems that it is often associated with the ssl certificate missing the middle of the Merkle chain. here are a couple of explanations: https://serverfault.com/questions/693033/unable-to-use-builtin-ca-bundle-to-verify-godaddy-sha2-ssl-certificate https://www.npmjs.com/package/ssl-root-cas I suspect that the certificate you gave to minio was incomplete. Note that the chain of certificate should not include the root certificate, only all the certificates in the chain minus the root. Nico.
  • Disaster Recovery Backups - Remove 'Auto-Start' field?

    8
    0 Votes
    8 Posts
    2k Views
    T
    I do not get this problem on XCP-ng 8.1, just to add more information.
  • Import problem which Mikrotik Cloud Hosted Router

    10
    0 Votes
    10 Posts
    4k Views
    nraynaudN
    I think the issue is solved, you can follow the fix here: https://github.com/vatesfr/xen-orchestra/pull/5903 nraynaud opened this pull request in vatesfr/xen-orchestra closed fix(xo-server/{disk,vm}.import): fix import of very small VMDK files #5903
  • xoa setup static ip

    11
    0 Votes
    11 Posts
    19k Views
    kdmK
    @tony Yes, that's the setting I was talking about. OKay. I've no idea what VIF-locking is, so I'll leave it there! Thanks again.
  • Ubuntu 20.04 Cloud Image

    14
    0 Votes
    14 Posts
    5k Views
    T
    @encryptblockr Why don't you just download the official cloud image from ubuntu? It's not worth the headache lol. https://cloud-images.ubuntu.com/releases/focal/release/ubuntu-20.04-server-cloudimg-amd64.ova
  • Override migration network for Metadata backup when pool default is set

    1
    0 Votes
    1 Posts
    502 Views
    No one has replied
  • CANNOT_EVACUATE_HOST VM_REQUIRES_SR

    7
    0 Votes
    7 Posts
    3k Views
    olivierlambertO
    More or less yeah, but you are adding more moving pieces.
  • cloud-init disk not created when cloning a cloud-init ready template

    7
    0 Votes
    7 Posts
    927 Views
    olivierlambertO
    Oh okay, so it's not a NAT issue then (thought XOA and the host were not together). Might be this issue then, please comment in the GH issue you posted to report you have the same problem edit: with your log too!
  • Created cloud config, but can't select it when creating a new VM.

    36
    3
    0 Votes
    36 Posts
    19k Views
    fohdeeshaF
    @dr4s1l-0 @Dr4s1l-0 you will not see the config drive mounted in your system, cloud-init only mounts it temporarily very early on in the boot process, copies the found config files off of it, and unmounts it. Mounting it manually will just cause more issues. You can probably see it being mounted early on in the logs in /var/log/cloud-init.log Cloud-init has introduced a ton of bugs this year and has no documentation regarding them, it has been a nightmare to try and track down these issues - I have a support customer with the same issue on recent versions of ubuntu and I've gotten nowhere. At this point I think it's best to take it up with the upstream project, cloud-init - from the XOA/XCP perspective we're doing everything we can, resulting in presenting a properly configured config drive - any issue after that is the cloud-init package
  • Talk to xo-server with PHP?

    5
    0 Votes
    5 Posts
    1k Views
    olivierlambertO
    See also https://xcp-ng.org/forum/topic/4538/xoa-json-rpc-call-basic-exemple