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...

    512 Topics
    5k Posts
    P
    @Tristis-Oris Hi, Can you upload your complete logs from one of these jobs, please? You can DM me if you prefer
  • 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
  • Backing up of multiple VM's

    Solved
    3
    0 Votes
    3 Posts
    680 Views
    G
    @olivierlambert Oh, I totally missed the Advanced button! Thanks!
  • Pool Storage wont connect to 2nd host

    2
    2
    0 Votes
    2 Posts
    892 Views
    olivierlambertO
    Double check your 2nd host have permission to connect to the LUN. Try local commands on this host to see if you can access the LUN (iscsiadm for example).
  • Migrate all VMs bug - some VMs do not show as migrating.

    Solved
    6
    2
    0 Votes
    6 Posts
    696 Views
    olivierlambertO
    There's no XO tasks per se, so you can't see it What matters is you have all the VM migrated in the end, but yes, it's not "visible". Next major XO UI will have "XO tasks" that will display clearly the queue
  • getaddrinfo EAI_AGAIN error during backup

    7
    2
    0 Votes
    7 Posts
    3k Views
    ForzaF
    I got the same error again today. It's a delta job with two remotes. [image: 1617015537043-fe12531c-52e2-4457-bc13-ee36db7f4fb5-image.png] Even though it says the backup failed, it looks like it is available on both remotes: [image: 1617015649230-ca6eabb8-f810-44ac-bce0-7079755bc7de-image.png] srv01 = pool member srv02 = pool master srv03, srv04 = backup remotes XOA runs on srv02 The error seems to imply that it can't resolve the hostname of srv02, but that seems rather odd. I am using static IP only.
  • Error restoring VMs

    2
    0 Votes
    2 Posts
    409 Views
    olivierlambertO
    Hi, Please before creating a thread, read carefully this: https://xen-orchestra.com/docs/community.html Double check you are on the latest commit from master branch.
  • Pool CPU usage is impossible

    7
    2
    0 Votes
    7 Posts
    2k Views
    ForzaF
    @gigante said in Pool CPU usage is impossible: @s-pam I am unsure of the purpose of that, but at least now I know! Thanks! Just guessing here, but one reason is probably that single-threaded applications can only utilise one CPU thread, so they cannot go faster than 100%.
  • XO Community Edition Releases

    Solved
    3
    0 Votes
    3 Posts
    5k Views
    G
    @olivierlambert Thanks for the reply. I'll change to the "master" branch. I thought you were on a release schedule because you have a "releases" tab with the releases.
  • Delta Backup Failed invalid argument

    7
    0 Votes
    7 Posts
    2k Views
    julien-fJ
    @deoccultist Not much I can add there, it looks like a system error between your XOA and the remote. What kind of remote are you using? Does this happen often? Have you tried restarting xo-server or the OS?
  • Increasing the size of a disk

    Solved
    7
    1 Votes
    7 Posts
    23k Views
    H
    I can recommend gparted to resize your partions. It's easy and has a GUI. Important: you can't resize the boot partition without a live ISO.
  • Docker Support - CoreOS install woes

    Unsolved
    13
    0 Votes
    13 Posts
    4k Views
    olivierlambertO
    I don't think console is possible at all (I have no idea in fact, I don't think Docker got an API to allow a remote console display). XO could deal with Docker API, it's not a "physical" access in the container.
  • "Home" Menues...

    5
    0 Votes
    5 Posts
    1k Views
    C
    @olivierlambert Then keep it in mind for that.
  • XO created snapshots are too visible

    13
    0 Votes
    13 Posts
    4k Views
    J
    @olivierlambert So much for my memory..... XCP-ng center always exports a snapshot as a template. The menu item is called that and the xva files made always re-import as templates. The equivalent xe function is xe snapshot-export-to-template which does the same thing. The only way to export the snapshot as a VM is to set the is-a-template parameter to false then export with xe vm-export. Once that's been done it looks impossible to set is-a-template back to true. Using either xe vm-param-set or xe snapshot-param-set and trying to set is-a-template back to true gives an error "VM_IS_SNAPSHOT" I remember one of the backup scripts, NAUBackup/VMBackup if you're familiar with it, doing this and was never quite sure why until now. Looking through its code, it's creating a snapshot, setting is-a-template to false, exporting it as a VM, then deleting the snapshot in order to make an xva file backup while keeping the VM live. I'm not familiar with backups made by XO but I'm guessing you must be doing them in a similar fashion. Edit: I just did some more testing and discovered that as soon as I set the is-a-template parameter to false on a snapshot made by XCP-ng Center or xe vm-snapshot, it starts showing up in the xsconsole "All VMs" list and in xe vm-list commands just as snapshots created by XO do. In addition, they're showing up both on xe vm-list and xe snapshot-list. Fresh snapshots made with is-a-template still set to true show up in xe snapshot-list but do not show up in xe vm-list or xe template-list. They do show up in the list of templates available in XCP-ng Center when creating a new VM but those with is-a-template set to false do not. This is starting to smell to me more like a bug in xe or XAPI and possibly XCP-ng center as well but definitely in xe or XAPI. Is there any way to look into what's going on there?
  • Report plugin for downloading a CSV file of VMs

    2
    0 Votes
    2 Posts
    632 Views
    olivierlambertO
    Hi, The fastest way to get support for your XOA is by creating a ticket at https://support.vates.fr The forum is for community support.
  • Can't boot Windows 10 VM - Boots into UEFI Interactive Shell

    Solved
    6
    1
    0 Votes
    6 Posts
    15k Views
    D
    @runevn said in Can't boot Windows 10 VM - Boots into UEFI Interactive Shell: I found the solution. I had to press enter during the boot to boot into the "CD-ROM drive". Guuuuh. Thank you for coming back and posting this.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • XOA doesn't show Console over zerotier vpn

    2
    1
    0 Votes
    2 Posts
    1k Views
    olivierlambertO
    We do not encourage to modify the dom0 Console IP is returned by XAPI. So check your management network IP address.
  • Continous Replication - smart selection by source SR?

    3
    0 Votes
    3 Posts
    674 Views
    I
    @olivierlambert You are absolutely right: tags are enough. My fault. We will code some cronjobs that find the current SR, set the right tag and that's it. If the cronjob runs before the CR job is running, we should be fine. If you will implement the other idea: I guess (as you can specify only one backup target atm) an option to choose: 'store all vdis in target SR' or 'store only vdis from source SR in target SR' would be great, but if less work should be done: just store all vdis in the target SR - no matter where the source vdis are laying around Anyway: great work! Keep on!
  • cloud-config / cloud-init : standard variables / custom variables

    Unsolved
    2
    0 Votes
    2 Posts
    2k Views
    olivierlambertO
    The official Cloudinit documentation for example? https://cloudinit.readthedocs.io/en/latest/
  • 0 Votes
    2 Posts
    468 Views
    olivierlambertO
    Hi, We do not distribute XO via docker, so it's a 3rd party script/solution. Please report on the repo providing XO first, as explained in our doc: https://xen-orchestra.com/docs/community.html
  • VM migration - internal error

    3
    0 Votes
    3 Posts
    1k Views
    S
    @olivierlambert Ahhh, ok. Was focusing on XO; that's pointed me in the right direction. Thanks...and have a great weekend!