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
    Hi @pierrebrunet With commit c74a8 the problem is still present but the transfer was completed again. Unfortunately my installation does not recognize the "xen-bugtool" command. And both log files are not present. Is this something that needs enabling after install of XCP-NG? Unfortunately and unnoticed my syslog-server did not receive any messages from XCP-NG in the last 30 days. Other inputs work **Edit: I have deleted and re-added the syslog-server with port and now logs are being send to Graylog.** Thanks for your assistance y'all. 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
  • Can .keeper files be deleted from the backup share?

    4
    1
    0 Votes
    4 Posts
    594 Views
    D
    @propsoft said in Can .keeper files be deleted from the backup share?: @florent Thank you. I just like things to be 'tidy' that's why I asked. Then stop looking at hidden files.... HA
  • XO Ansible Dynamic Inventory Plugin - Group Variables Support?

    Solved
    5
    0 Votes
    5 Posts
    1k Views
    G
    Many thanks @nathanael-h & @shinuza , both approaches indeed work!
  • Is there an equivalent to [NOSNAP][NOBAK] for Exported VMs?

    11
    1
    0 Votes
    11 Posts
    2k Views
    P
    @DustinB As to why you're seeing "VM not found!" I don't know if that is a XO alert or something you added into the screenshot, I've never seen that so I can't speak to it. I didn't add the text, all I did was highlight it with the red surround. Just testing the backups again using the 'Delta' method and '[NOSNAP][NOBAK] Data drive' as the name of the second drive , feeling more hopeful about this one though. I'm starting to like XO the more I use it, would be good to move to this instead of switching between 2 different XCP-ng Center EXEs. depending on the XCP-ng version on the host so I really hope I can get this to work. The scheduled hourly snapshot while the guest is running looks a great feature, although I need to learn to walk with this first before I go that far
  • XOA deploy error

    Solved xoa deploy error xcp-ng 8.3
    28
    1
    1 Votes
    28 Posts
    16k Views
    nathanael-hN
    @HamiltonWDS Thanks for the report. As it works with wget let use it! I'll switch from curl to wget in doc. In the meantime some colleagues will investigate more.
  • XOA Failing on Check-in

    19
    1
    0 Votes
    19 Posts
    4k Views
    olivierlambertO
    Thank you very much for the clear explanation @HamiltonWDS ! This will be really helpful so we find a solution for that. We might default to IPv4 for a lot higher latency, and in the future maybe having closer location mirrors. Let me discuss this internally and schedule an action for that.
  • Hub and Templates

    2
    0 Votes
    2 Posts
    1k Views
    olivierlambertO
    Hi! Yes, we'll develop the hub in the future, we just lack the resource internally to prioritize this against the rest, but as we a growing fast, expect more things coming in here
  • Guest Tools Recognized as Wrong Version

    4
    0 Votes
    4 Posts
    1k Views
    olivierlambertO
    I have no idea for the legacy Linux tools, they are badly coded and you can get rid of them entirely We've been using them in prod since almost a year without any issue. 1.0 will come soon but it's already very stable and safe (it's written in Rust). Our goal is to get them in all Linux distro upstream ASAP.
  • Backup to S3 aborted what permissions are required?

    backup aws
    26
    0 Votes
    26 Posts
    11k Views
    A
    Posted this as I personally found this configuration quite involved, and the permissions earlier in the thread were insufficient to make it work when using AWS KMS for bucket encryption as well as the XO provided encryption secret.
  • How it works the NBD? I don't see improvements

    7
    0 Votes
    7 Posts
    2k Views
    M
    @olivierlambert If you want me to check anything else, just tell me and I will test for you. Many Thanks BR Marco
  • Cloud Config success

    cloudinit config
    7
    3 Votes
    7 Posts
    4k Views
    M
    @mtcoffee Thank you. Just what I need.
  • Warm Migration HOST_CANNOT_ATTACH_NETWORK

    3
    0 Votes
    3 Posts
    620 Views
    J
    @nick-lloyd So looked at the network ports on the host it is going to. They show disconnected due to they are in a bond lacp so the 2 network ports show as disconnected but the bond shows as connected. Also have other VMs running on the receiving host so know the bond is working.
  • possible bug for cpu stats in XOA 5.101.0

    4
    2
    0 Votes
    4 Posts
    682 Views
    J
    Doesn’t the status history go back 1 year? Thanks for the info I’ll restart it and clear it
  • Can't copy between hosts

    8
    0 Votes
    8 Posts
    1k Views
    olivierlambertO
    Check XO Lite and XO 6, it will be closer to your habits, but not XenCenter is only community supported (we don't want to support it at Vates)
  • Ubuntu 22.04 template

    3
    0 Votes
    3 Posts
    617 Views
    F
    @olivierlambert said in Ubuntu 22.04 template: Is your XCP-ng fully up to date I am running 8.3 latest. I also found this guide since which helped #https://docs.xcp-ng.org/guides/create-use-custom-xcpng-ubuntu-templates/
  • XOA - Console freezing every few seconds consistently.

    Solved
    13
    0 Votes
    13 Posts
    2k Views
    olivierlambertO
    Great news, nice catch
  • Cannot Download Exported VM After Export Task Completes Successfully

    Unsolved
    18
    2
    0 Votes
    18 Posts
    3k Views
    K
    @olivierlambert Yep. Here's the video of the test - https://www.youtube.com/watch?v=tiVdR74PNjw
  • SR_BACKEND_FAILURE_108 | Unable to Add a Second NFS Storage Repository

    Solved
    4
    0 Votes
    4 Posts
    848 Views
    ?
    @olivierlambert You're most welcome. XCP-ng + Xen Orchestra is a solid solution and I would very much like to see it get adopted within my organization, so I'll do anything (legal of course) to work through these problems and share the solutions, so the entire community can benefit.
  • Dynamic cloudinit network config [FEATURE REQUEST]

    7
    1
    0 Votes
    7 Posts
    1k Views
    D
    @julien-f Would that be something like this for a dynamic network config as an example? network: version: 1 config: - type: physical name: enX0 subnets: - type: static address: 192.168.99.{index}/24 gateway: 192.168.99.1 - type: nameserver address: - 172.31.31.1 - 192.168.45.11 search: - example.tld I plan to test this at some point, but I don't do a whole lot of bulk provisioning myself. Just curious.
  • Ubuntu 24.04 Cloud Image Template Not Working

    14
    0 Votes
    14 Posts
    7k Views
    D
    @encryptblockr said in Ubuntu 24.04 Cloud Image Template Not Working: did you mount the guest tools cdrom to the cloud image before you created a template from it? No, I just make my base images (for the end template) as generic as possible, and I do all mounts, package installs, accounts, keys, including the xe-guest utils package all in the user-data config for cloud-init. Makes the configurations more uniform across all stacks I have to maintain and scales really well with jinja templates. also what is point of {name}% in below? can you explain? where does it get {name} from and what is % use? That pulls the hostname from metadata that is provided by the nocloud datasource. If you ever want to see all the metadata available (for example, say your provisioning plane does dynamic configuration from some backend IAS platform, and you need logic that renders metadata to run different configurations; run the following after login: cloud-init query -a For example, I run different configurations based on what the 'distro' value is - example: cloud-init query -f {{v1.distro}} {% if distro in ['rocky', 'ol', 'centos', 'fedora', 'redhat', 'almalinux'] -%} //do the rpm things// This allows us to run completely different configuration settings based on what distro its being run in, or even what virtualization platform it is running on. Some platforms won't use the hostname, or fqdn meta values, so I have some if logic that only adds it when vendordata is null, example; {% if vendordata == '' %} fqdn: {name} {% endif %} Probably more than you wanted to know, but that's a brief summary of cloud-init metadata.
  • [SOLVED] How to install guest tools via apt?

    Solved
    2
    2
    0 Votes
    2 Posts
    7k Views
    E
    so i imported a new VM and made sure i mounted the guest-tools iso to it before converting it to template i just tried this and it worked!!! #cloud-config hostname: someotheruser ssh_authorized_keys: - ssh-rsa AAAAxxx - ssh-rsa AAAAxxx - ssh-ed25519 AAAAxxx runcmd: - [mkdir, -p, /mnt/guest-tools] - [mount, /dev/cdrom, /mnt/guest-tools] - [bash, /mnt/guest-tools/Linux/install.sh] - [umount, /dev/cdrom] - [rm, -rf, /mnt/guest-tools]