Subcategories

  • VMs, hosts, pools, networks and all other usual management tasks.

    477 Topics
    4k Posts
    B
    Hello all, I was looking at the code for the perf-alert plugin because I wasn't sure if it followed the same workflow as the backup-reports plugin where it sends emails and delivers to multiple transports. As it turns out, it only sends emails that are configured in the plugin, but I would love it to use the other transports available if they're set up like transport-slack, etc. As a user who is interested in expanding my monitoring footprint in my infrastructure, I think the perf-alert plugin should follow the same reporting/alerting mechanisms as the backup-report plugin and notify to transport-slack along with others. In my case I use Discord, but Mattermost, etc. users would all benefit based on the format the transport-slack plugin already provides. Reading the code it seems like the Plugin system would benefit from having a singular "alerting" layer that you send messages to within each plugin and then the transport plugins just relay the messages to their appropriate APIs (this would likely require rethinking the plugin archictecture however, so not an actionable item), similar to a job queue. I would probably be able to file a PR to add this functionality, but I'm not confident enough to give it a go at the moment as I'd like to understand the implications of adding said code first. For now, I'll leave this as a feature request as I think most people would find this a welcome addition.
  • ACLs, Self-service, Cloud-init, Load balancing...

    105 Topics
    864 Posts
    M
    Is a centralized XOA server "managing" two remote Proxy-fronted XCP clusters supported with the SDN Controller Plugin? We are looking to deploy an architecture similar to this blog post from 2022: https://xen-orchestra.com/blog/xo-proxy-a-concrete-guide/
  • All XO backup features: full and incremental, replication, mirrors...

    517 Topics
    5k Posts
    P
    Hello, More info on this. I think this error is related with the recent "Distribute replication accross the storage repositories" option that I turned on. Before this option existed, I was splitting the VMs into groups, with tags, and using several jobs with "smart mode" to send each group to a specific SR on the destination replication pool. With this new option I didn't have to do this anymore, it would simplify my replication job. That said, I still have a group that I want to replicate to a local host disk. This group doesn't fail with "checkBaseVdis() failed" but I do get duplicated VMs on the destination pool, even though the job's schedule is set to only 1 replications retention. Is XO failing to delete the previous VM replication ? [image: 1784273211284-fd5eacaa-1243-4835-bdcd-99ed2b8c9e96-image.jpeg] (The same VM duplicated on the replicated pool even though replication retention is set to 1) [image: 1784273391692-691d71ce-edf2-4a7d-8608-7ab46c08a2ce-image.jpeg] (Job / schedule retention settings). ...So I have to prune the duplicated VMs to make sure I don't run out of space on the target pool repository. I think I'll set up a new job with a single test VM so I can run it several times and try to gather more info.
  • 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 logs to external syslog

    19
    0 Votes
    19 Posts
    6k Views
    P
    @Forza I didn't try, as my default Graylog Input was UDP and worked with the hosts... But guys, that was it. In TCP mode, it's working. Rapidly set up a TCP input, and voila. [image: 1758137911306-42411fc9-af86-4838-a870-ca9ca6307234-image.png]
  • XOA deploy from XO lite

    Solved
    9
    3
    0 Votes
    9 Posts
    2k Views
    olivierlambertO
    Excellent news!
  • 0 Votes
    17 Posts
    3k Views
    M
    @Andrw0830 I am using paid version of ESXi / vSphere. The free version of ESXi has so many limitations that I consider it pretty much unusable / only usable for very limited basic tests. It would not suprise me if your issue is due to the license limitations within ESXi.
  • XOA suddenly "empty" during rolling update

    5
    3
    0 Votes
    5 Posts
    1k Views
    H
    @Andrew said in XOA suddenly "empty" during rolling update: @halvor Yes, kind of... The pool master must be updated and rebooted first. If you move the master to a different host then you are no longer rebooting the pool master first. XOA is just a very smart client and needs the pool master to provide all of the pool information. Secondary machines will just redirect to the master, so if you try to connect XOA to one as a backup it won't work. You just need to wait for the master to reboot and return to a functioning state and wait for XOA to automatically reconnect. The everything will start happening again. If your master host is destroyed (ie. software corruption, hardware failure) then an existing host can be forced to take over the pool as master, but this is not a good thing to do unless the actual pool master is unrecoverable. Ok, great, thank you for clearing this up!
  • XOA 5.110 Disconnecting From Hosts

    4
    0 Votes
    4 Posts
    1k Views
    DanpD
    @planedrop While you are connected to the XOA VM, be sure to verify that the required changes have been performed on /etc/systemd/system/xo-server.service when the VM memory was increased. Details can be found in this troubleshooting KB article -- https://help.vates.tech/kb/en-us/31/48
  • Custom Tags not showing

    6
    2
    1 Votes
    6 Posts
    1k Views
    olivierlambertO
    I have no idea what this flag is doing, so my gut feeling is: no, it's not on XO side but a "problem "on the reverse proxy itself.
  • vm grub recovery boots garbled display

    4
    0 Votes
    4 Posts
    2k Views
    S
    I just had this problem with a ubuntu VM. With recovery mode selected press e to edit. Remove nomodeset. Here is an example. From: linux /vmlinuz-5.4.0-65-generic root=/dev/mapper/ubuntu--vg-ubuntu--lv ro recovery nomodeset dis_ucode_ldr To: linux /vmlinuz-5.4.0-65-generic root=/dev/mapper/ubuntu--vg-ubuntu--lv ro recovery dis_ucode_ldr The link below helped me solve this issue. https://portal.nutanix.com/page/documents/kbs/details?targetId=kA07V000000LWLrSAO
  • XO Console switch Keyboard Layout on ALTGR

    12
    1
    0 Votes
    12 Posts
    5k Views
    E
    @olivierlambert Thanks a lot. Will definitely try once I get this customer properly licensed.
  • 0 Votes
    24 Posts
    8k Views
    JamfoFLJ
    @CodeMercenary Glad it worked! I just noticed that in the couple weeks since this happened, a new set of Pool Patches was available, so I ran through the usual process to update those and had no issues at all. This time, everything went smoothly, just as it has for the entire time I've had this lab up and running. So, chalk this up to one of those weird glitches you're bound to see when you use any technology long enough. As far as I'm concerned, the issue has been resolved. Please feel free to close out the issue.
  • Xen Orchestra v6 - From Sources

    4
    2
    0 Votes
    4 Posts
    2k Views
    lsouai-vatesL
    @acebmxer good news! XO Team is totally aware of these "loading in progress" issues, and it will be fixed in the next release which will be released very soon. Don't hesitate to inform us if you see another UI issues. Have a good day!
  • XOA v6 create (dynamic) groups to organize vms - Feature request

    4
    1
    0 Votes
    4 Posts
    1k Views
    Vincent GV
    @lsouai-vates
  • Expanded VM View Display Issue for Debian based VMs

    4
    1
    0 Votes
    4 Posts
    914 Views
    olivierlambertO
    It's not a branch question, you need to build XO 6: yarn run turbo run build --filter @xen-orchestra/web
  • 0 Votes
    18 Posts
    3k Views
    D
    @HH said in XO Commuity Edition Xen Orchestra, commit fee7b geht nicht auf Master, commit e5702: I didn't mean that I want to go to 6.0 now, but when 6.0 becomes "Stable LTS", get that automatically with your script ? Assuming there aren't any major changes to the upgrading processing using the existing script should work, but that has to be determined once a general release is created.
  • Trial period extension for on-going tests

    3
    0 Votes
    3 Posts
    1k Views
    Y
    @olivierlambert Thank you Olivier
  • xoa updater stalls

    3
    0 Votes
    3 Posts
    879 Views
    xo-xenX
    Thank you so much for that hint. Yes, after restarting some xoa service this now works. So cool. You are great. Thank you.
  • 0 Votes
    5 Posts
    2k Views
    F
    Hello everyone. I tripped over this issue. If someone got another approach I would be interested. Thanks to @lsouai-vates I had a look at: https://github.com/vatesfr/xen-orchestra/blob/ab56924b1d046ccf6c09dfe7a4ab47deb5d77f4a/packages/xo-acl-resolver/index.js and https://github.com/vatesfr/xen-orchestra/blob/ab56924b1d046ccf6c09dfe7a4ab47deb5d77f4a/packages/xo-server/src/xo-mixins/acls.mjs#L150-L168 To what I understand it is not possible as a Non-Admin user to get information like pools, ... By creating a new admin user limiting the resources via ACLS with viewer right worked around this. However, granting admin rights still looks sort of strange. Just in case someone struggled as well this information might help.
  • 0 Votes
    10 Posts
    2k Views
    A
    @jivanpal We do not currently have any plans to support elliptic curve keys - this is a very sensitive topic given different governmental security requirements around the world. Note that Let's Encrypt recommends a dual setup for this exact reason: "Our recommendation is to serve a dual-cert config, offering an RSA certificate by default, and a (much smaller) ECDSA certificate to those clients that indicate support." (https://letsencrypt.org/docs/integration-guide/)
  • NFS Storage Leads to File System Errors After Unplanned Shutdown

    6
    0 Votes
    6 Posts
    1k Views
    I
    @creoleMalady Fingers crossed And don't feel stupid. Everybody has those moments - even after decades of experience.
  • Disk import failed

    Solved
    10
    1
    0 Votes
    10 Posts
    2k Views
    olivierlambertO
    Great news! Thanks for the feedback.
  • XOA Console not coming up

    6
    0 Votes
    6 Posts
    1k Views
    D
    @olivierlambert Tried this - XCPNG | ~/_scripts > netstat -tulpn | sed -n '1,2p;/5900\|80/p' Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 127.0.0.1:5900 0.0.0.0:* LISTEN 1741/vncterm tcp 0 0 0.0.0.0:10809 0.0.0.0:* LISTEN 2896/xapi-nbd tcp6 0 0 :::80 :::* LISTEN 2887/xapi udp 0 0 0.0.0.0:780 0.0.0.0:* 1029/rpcbind udp6 0 0 :::780 :::* 1029/rpcbind VNC on the XCPNg box is listening to 127.0.01 : 5900, may be - I should change this to listen to 0.0.0.0 ? Also, something to do with protocol used - the browser > inspect > network - seems to use ws:// protocol and receives a 101 - upgrade, should it have been vnc ? ( apologies if its a random guess rant here) -- Attached screenshot of browser console logs. FYI - 192.168.0.49:3000 - is where my XOA VM is running as a VM on XCP Ng (192.168.0.45) and the logs below is when the console for itself (i.e. same IP) [image: 1751716444788-selection_157.png]