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
    P
    @itservices Hi, xen-bugtools is in xcp-ng hosts. You can directly get the logs from the hosts if you don't have the command.
  • 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
  • XO User restore VM from Backup

    2
    0 Votes
    2 Posts
    431 Views
    olivierlambertO
    Hi! Short answer: no. Restore is only for a "superuser" (admin) not for "regular" users. In the long run: maybe So it's up to you (for now) to restore the VM.
  • 0 Votes
    20 Posts
    3k Views
    florentF
    @AlexTheBest great work and effort alex , and welcome to modern storage .
  • Coalesce failed, skipping - corrupted

    6
    0 Votes
    6 Posts
    1k Views
    G
    @olivierlambert so I went to restore this VM from backup, and noticed that the monthly backup is currently running on this VM as we speak. Will restoring from this newest backup fix my issue? Or does it restore the issue back into production?
  • This topic is deleted!

    0
    0 Votes
    0 Posts
    33 Views
    No one has replied
  • XOA source update

    Solved
    3
    0 Votes
    3 Posts
    755 Views
    R
    works. thanks!
  • 0 Votes
    1 Posts
    467 Views
    No one has replied
  • Recover a local drive used for a SR

    1
    1 Votes
    1 Posts
    2k Views
    No one has replied
  • Ubuntu Jammy Jellyfish 22.04.2 LTS Super Slow Console

    Solved
    4
    0 Votes
    4 Posts
    2k Views
    planedropP
    @Andrew This was the answer, thank you! I had it set with 8MiB of video memory which was fine with an older install but 22.04 needs more it looks like. Bumped that up to 16 MiB and it's super smooth now. Thanks for your help! @olivierlambert increasing the video memory was the solution. But to answer your question this was in BIOS mode rather than UEFI.
  • Increasing the disk size of vmguest without shuting down

    10
    0 Votes
    10 Posts
    5k Views
    olivierlambertO
    @MathieuRA Indeed, that's the right way to do it, I think
  • [Guide] Recovering from CR with error - no space for coalesce

    4
    7
    0 Votes
    4 Posts
    1k Views
    olivierlambertO
    Hopefully, we'll make things more obvious in terms of "danger zone" in XO 6 UI
  • XO Backup - question on file level restore

    backup file-level lvm
    12
    1
    0 Votes
    12 Posts
    3k Views
    S
    I have opened a ticket to support because file level restore doesn't work anymore after latest update. Best regards Walter
  • Change Email Address for XO Report

    2
    0 Votes
    2 Posts
    659 Views
    DanpD
    Look under the configuration for the backup-reports plugin, which can be found under Settings > Plugins.
  • Existing AD Users Cannot Login to XOCE but New Users Can

    18
    0 Votes
    18 Posts
    3k Views
    K
    @julien-f Hmm, that's a bit disappointing that there isn't much you guys can do to help. No worries, I'll keep testing. My AD environment works fine, since the accounts in question are not locked and are being used daily. The only place they're failing is in XOCE or XOA. It's gotta be something with how the library is handling characters in either the username or the password. I'll keep testing until I can find a repeatable pattern. Thanks to both you and @olivierlambert for the help thus far.
  • how configure aws s3 bucket for xen orchestra remote s3 beta

    9
    0 Votes
    9 Posts
    2k Views
    ontzuevanhussenO
    @kamal8641 AWS S3 remote on xen orchestra works fine in my tests.
  • Can't copy or move VM from host with xen 6.5 to host xcp-ng 8.2

    13
    0 Votes
    13 Posts
    3k Views
    L
    thanks for all advices just moved all services to new vm, that makes topic is closed. for last try i updated xen 6.5 to 7.4 but problem remains
  • How to grant permission to User/ACL to download snapshots of VMs

    3
    0 Votes
    3 Posts
    711 Views
    L
    @olivierlambert Hahaha you got it! Thank you
  • Ubuntu 22 Cloud Init/Config Network & Partition Assistance

    11
    0 Votes
    11 Posts
    14k Views
    L
    Hi there Gsrfan Apologies for the delayed response, I had to shelf this passion project to focus on other work So far managed to get the host, static IP, packages, users & their keys/password etc sorted with the init I was working last on lvm partitions, to grow them and that ended up a bit of a mess I might return to this at a later stage but I found your help and advice invaluable to getting the config to where it is now Thank you so much
  • file restore on large backups ends in print_req_error: I/O error's

    8
    0 Votes
    8 Posts
    2k Views
    T
    @olivierlambert said in file restore on large backups ends in print_req_error: I/O error's: Yes, that sounds the next step to do Something is wrong during the mount phase. Also check you have enough RAM in your XOA. Ok, filesystem checks out - as far as I can see having: Done full restore of VM from the same Delta image. Booted VM, logged in and done 'tar cvf /dev/null *' of the filesystem I'm trying to restore from - which ran to completion without error. I upped the RAM for XOA from default 2GiB to 16GiB and re-tried - and same result. I can try yet more RAM if needs be but would hope 16GiB is more than enough? The console error on XOA is more detailed than my install- so don't know if this helps: blk_update_request: I/O error, dev loop0, sector 8912912 op 0x00:(READ) flags 0x80700 phys_seg 1 prio class 0 Looks to be the same issue, just reported differently. You also (on both systems) get kernel chatter about "tasked blocked" (understandable, as it is).
  • Can't restore VM's from 'read-only' remote?

    3
    0 Votes
    3 Posts
    647 Views
    T
    @olivierlambert said in Can't restore VM's from 'read-only' remote?: A remote (now Backup repository) is meant to write backups into it. If you aren't able to write, then, sure, you can restore but you won't be able to backup anything. Yes, understand that - I'll have to re-test here, but I'm sure when it was 'read-only' - I couldn't restore anything from it, as nothing showed up in XO's "Backup / Restore' list of backups... The remote was mounted on two systems - hence why made R/O for one of them (this was just for testing restores).
  • Shutting down "Protect from accidental shutdown" VMs from command line

    2
    0 Votes
    2 Posts
    3k Views
    B
    @Zevgeny Did you succeed to remove the protection with "xe vm-param-clear"? It didn't worked perfectly for me. Before I use xe vm-param-clear, I have the following: [18:28 xcpng02 ~]# xe vm-param-list uuid=37b7a201-eb45-b7de-5ce4-da25b1c7b547 | grep block blocked-operations (MRW): pause: true; hard_shutdown: true; (unknown operation): true; hard_reboot: true; clean_shutdown: true; suspend: true; clean_reboot: true [18:28 xcpng02 ~]# Now I try to clean: [18:28 xcpng02 ~]# xe vm-param-clear uuid=37b7a201-eb45-b7de-5ce4-da25b1c7b547 param-name=blocked-operations The value given is invalid field: blocked_operation value: (unknown operation) [18:28 xcpng02 ~]# After, "blocked-operations" looks like this: [18:28 xcpng02 ~]# xe vm-param-list uuid=37b7a201-eb45-b7de-5ce4-da25b1c7b547 | grep block blocked-operations (MRW): (unknown operation): true; hard_reboot: true; clean_shutdown: true; suspend: true; clean_reboot: true [18:30 xcpng02 ~]# In the GUI of XOA, the "Protect from accidental shutdown" is removed but not on the command line.