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
  • Packer issues

    8
    0 Votes
    8 Posts
    3k Views
    D
    @rochemike sorry for the late reply! If we already have an ISO on an SR, do we even need to mount the ISO for a network build of Centos/RHEL? Isn't... shouldn't it be possible for the ISO to be mounted by the new build VM as source for creating the new VM, instead of using network build? That is exactly what packer-plugin-xenserver#56 accomplishes. The new VM mounts the guest tools to the DVD - which I don't even want to use as I prefer to install a package afterwards. Is it possible to mount the RHEL/Centos ISO instead? I believe the ISO and guest tools are treated the same -- both VBDs are attached as cds. If you can identify what is different about them in the UI or from the xe cli that would help me understand what you trying to describe. As for what is possible, if what you want to configure is accessible via the XCP-ng / Xenserver API the packer plugin could be enhanced to perform that action. Hope this helps explain more on the potential possibilities.
  • Error importing large vhd file

    Solved
    17
    0 Votes
    17 Posts
    5k Views
    olivierlambertO
    No worries, happy to help!
  • restore backup mac adress

    5
    0 Votes
    5 Posts
    920 Views
    S
    @Andrew in my case , the backup is restore from smb share but i don't think the problem from here
  • XO (Delta) Backup to BackBlaze B2 with Error: getaddrinfo EAI_AGAIN--Workaround

    Solved
    4
    0 Votes
    4 Posts
    901 Views
    olivierlambertO
    That's exactly why our doc is precise on this with a big yellow warning block: https://xen-orchestra.com/docs/community.html#report-a-bug
  • VM stuck on old host after migration, non-responsive

    5
    0 Votes
    5 Posts
    2k Views
    mauzillaM
    @dredge999 yeah in hindsight thats what I should have done I wonder if I can restore the config files and have the VM operational again. It's more getting it to stop now without a host restart
  • Create time is a bit off.....53 thousand years in the future off....

    Solved
    13
    1
    0 Votes
    13 Posts
    3k Views
    S
    @olivierlambert many thanks.
  • Github Auth plugin scope

    Solved
    2
    0 Votes
    2 Posts
    550 Views
    julien-fJ
    @Flying9167 It's indeed not possible at this to filter which users are allowed to sign in with XO auth plugins. At this time it should be handled at the authentication provider itself and it does not look like GitHub OAuth implementation supports it.
  • NFS storage change IP and mounth path

    11
    0 Votes
    11 Posts
    3k Views
    olivierlambertO
    That's why life is great, we can always learn new stuff
  • no icon displayed even with correct tools installed

    os-icon
    15
    1
    0 Votes
    15 Posts
    3k Views
    D
    @pdonias thank you!
  • XO Dashboard

    3
    1
    0 Votes
    3 Posts
    662 Views
    F
    @gskger Thank you. I tough it would be but wanted to be sure
  • Connecting xen to vault

    5
    0 Votes
    5 Posts
    816 Views
    S
    @olivierlambert its custom config, not any bug. Ill point it out what i mean below. I have standard ubuntu template -> I would like my vm to be already customize, when its created, because its faster and easier when everything is in one place -> So for that i have created cloud-init for eg.-> #cloud-config hostname: <hostname> package_update: true package_upgrade: true write_files: - path: /etc/ssl/certs/mydomain.crt content: | <certificate data> - path: /etc/ssl/private/mydomain.key content: | <private key data> runcmd: - apt-get update - DEBIAN_FRONTEND=noninteractive apt-get upgrade -y So my main problem is that this, particular cloud-init has fixed <certificate data> and <private key data>, that i would like to not be passed as a plain text, because it is a secret. To me its not done (for now) with best practices, but its very comfortable. So finally, i am wondering what is the best solution, for not putting secrets as a plain text, but rather keep them as a secret. I could create templates and later delete cloud-config with those data, but it would be more flexible, if there would be any chance to connect it to Hashicorp Vault or something that will dynamically fetch secrets.
  • XO task watcher issue/CR broken

    Solved
    71
    0 Votes
    71 Posts
    37k Views
    JamfoFLJ
    @julien-f I just wanted to update and let you know that whatever changes you made fixed the issue for me permanently! I have been able to routinely update since that time and have had no further issues. Thanks for all of your hard work, Julien-f!
  • Bug: 55k Snapshot

    Solved
    6
    1
    0 Votes
    6 Posts
    1k Views
    olivierlambertO
    I think we fixed this bug in latest
  • self signed certificate in certificate chain

    19
    0 Votes
    19 Posts
    10k Views
    E
    FWIW I just got bit by this same thing, spending half a day yesterday kicking the wall. I think I got about 2/3 of the way just by trial and error on the cert's. Would love to see this doc'd with the proper method, using an in-house local CA (not a public CA).
  • Delta Backups using wrong Base Backup

    Solved
    3
    3
    0 Votes
    3 Posts
    684 Views
    H
    @Andrew okay now I understand! Thanks a lot!!!
  • Adding VMs to "smart mode" DR / Delta backup? (FIXED)

    Solved
    5
    0 Votes
    5 Posts
    1k Views
    Z
    @olivierlambert The update has fixed it, thanks!
  • NFS SR VMs data lost

    Solved
    5
    2
    0 Votes
    5 Posts
    2k Views
    T
    @olivierlambert ... Thank you Olivier, I feel so stupid... I found everything back as you said Thank you very much ! Now I understood my mistake Best regards, Martin
  • Installing XOA on XCP-ng 8.3.0 alpha

    15
    0 Votes
    15 Posts
    8k Views
    D
    @olivierlambert Oh, this makes more sense now. I somehow mixed up the appliance with the actual XO platform. Will go through the docs. Thanks!
  • Trouble doing Continuous Replication on pool (XOA)

    15
    0 Votes
    15 Posts
    2k Views
    olivierlambertO
    Also a dmesg might be interesting
  • XOA stuck on Importing stage

    7
    3
    0 Votes
    7 Posts
    1k Views
    olivierlambertO
    I can only assume that the nested mechanism is blocking the network at some stage, but I don't have time myself to investigate deeper.