Subcategories

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

    461 Topics
    4k Posts
    A
    @gregbinsd let us know. If you do use my script. It pulls nodejs from NodeSource so it may not install the latest 24.15.0 tls. If you specific 24.15.0 it will install that version. If you need to change node version with my script use the rebuild option.
  • ACLs, Self-service, Cloud-init, Load balancing...

    102 Topics
    853 Posts
    I
    @simonp - Can you reshare the dashboards. The link says json is not available for any of these dashboards,
  • All XO backup features: full and incremental, replication, mirrors...

    497 Topics
    5k Posts
    A
    @florent After some digging this is what I have come up with. Please double check everything... I can PM you the whole chat session if you like. Bug Report: XO Backup Intermittent Failure — RequestAbortedError During NBD Stream Init Environment: XCP-ng: 8.3.0 (build 20260408, xapi 26.1.3) xapi-nbd: 26.1.3-1.6.xcpng8.3 xo-server: community edition (xen-orchestra from source) Pool: 2-node pool (host1 10.100.2.10, host2 10.100.2.11) Backup NFS target: 10.100.2.23:/volume1/backup Symptom: Scheduled backup jobs intermittently fail with RequestAbortedError: Request aborted during NBD stream initialization. The failure is transient — the same VMs back up successfully on subsequent runs. xo:backups:worker ERROR unhandled error event error: RequestAbortedError [AbortError]: Request aborted at BodyReadable.destroy (undici/lib/api/readable.js:51:13) at QcowStream.close (@xen-orchestra/qcow2/dist/disk/QcowStream.mjs:40:22) at XapiQcow2StreamSource.close (@xen-orchestra/disk-transform/dist/DiskPassthrough.mjs:86:28) at XapiQcow2StreamSource.close (@xen-orchestra/xapi/disks/XapiQcow2StreamSource.mjs:61:18) at DiskLargerBlock.close (@xen-orchestra/disk-transform/dist/DiskLargerBlock.mjs:87:28) at TimeoutDisk.close (@xen-orchestra/disk-transform/dist/DiskPassthrough.mjs:34:29) at XapiStreamNbdSource.close (@xen-orchestra/disk-transform/dist/DiskPassthrough.mjs:34:29) at XapiStreamNbdSource.init (@xen-orchestra/xapi/disks/XapiStreamNbd.mjs:66:17) at async #openNbdStream (@xen-orchestra/xapi/disks/Xapi.mjs:108:7) Root Cause Analysis: The error chain is misleading — QcowStream.close and BodyReadable.destroy are cleanup, not the cause. The actual failure is inside connectNbdClientIfPossible() called at XapiStreamNbd.mjs:66. The sequence in #openNbdStream (Xapi.mjs) is: #openExportStream() — opens a qcow2/VHD HTTP stream from XAPI (succeeds) new XapiStreamNbdSource(streamSource, ...) — wraps it await source.init() — calls super.init() then connectNbdClientIfPossible() If connectNbdClientIfPossible() throws for any reason other than NO_NBD_AVAILABLE, execution goes to the catch block in #openNbdStream which calls source?.close() — this closes the already-open qcow2 HTTP stream, producing the BodyReadable.destroy → AbortError cascade The underlying NBD connection failure: MultiNbdClient.connect() opens nbdConcurrency (default 2) sequential connections. Each NbdClient.connect() failure causes the candidate host to be removed and retried with another candidate. With only 2 hosts in the pool and nbdConcurrency=2, a single transient TLS or TCP failure on one host during the NBD option negotiation can exhaust all candidates, causing MultiNbdClient to throw NO_NBD_AVAILABLE — but this error IS caught and falls back to stream export. So the failure here is something else: a connection that partially succeeds then aborts, throwing a non-NO_NBD_AVAILABLE error that propagates uncaught to #openNbdStream's catch block. Specific issue: When nbdClient.connect() throws with UND_ERR_ABORTED (an undici abort), the error code is not NO_NBD_AVAILABLE, so #openNbdStream re-throws it instead of falling back to stream export. The backup then fails entirely rather than gracefully degrading. Proposed Fix: In Xapi.mjs, the catch block in #openNbdStream should treat any NBD connection failure as fallback-eligible, not just NO_NBD_AVAILABLE: } catch (err) { if (err.code === 'NO_NBD_AVAILABLE' || err.code === 'UND_ERR_ABORTED') { warn(can't connect through NBD, fall back to stream export, { err }) if (streamSource === undefined) { throw new Error(Can't open stream source) } return streamSource } await source?.close().catch(warn) throw err } Or more robustly, treat any NBD connection error as fallback-eligible rather than hardcoding error codes: } catch (err) { warn(can't connect through NBD, fall back to stream export, { err }) if (streamSource === undefined) { throw new Error(Can't open stream source) } return streamSource } This matches the intent of the existing NO_NBD_AVAILABLE fallback — NBD is opportunistic, and any failure to establish it should degrade gracefully to HTTP stream export rather than failing the entire backup job. Observed Timeline: 02:22:11 — xo-server opens VHD + qcow2 export streams 02:22:12–15 — NBD connections attempted, fail mid-handshake 02:22:15 — backup fails with UND_ERR_ABORTED, no fallback 02:33:51 — retry attempt also fails in 5 seconds 23:03 — same VMs back up successfully (transient condition resolved) Impact: Backup jobs fail entirely on transient NBD connectivity issues instead of falling back to HTTP stream export, which is already implemented and working. You can file this at the XO GitHub issues or the XCP-ng forum. The fix is straightforward and low-risk — the fallback path already exists and works, it's just not being reached for UND_ERR_ABORTED errors.
  • Everything related to Xen Orchestra's REST API

    84 Topics
    630 Posts
    K
    @olivierlambert & @mathieura thanks for the speedy response. Duly noted, very much appreciated.
  • Terraform, Packer or any tool to do IaC

    49 Topics
    463 Posts
    dalemD
    Version 1.4.0 is released: https://codeberg.org/NiXOA/system/releases/tag/v1.4.0 It includes significant changes and improvements, including: dedicated getting started section, migration to valkey, only needing to clone system, and helper scripts. the xen-orchestra-ce nixpkg now references the libvhdi nixpkg, and the core flake now references and pulls from the xen-orchestra-ce repo as an overlay. System (the user input flake) now uses the Core repo as an overlay, reducing the need to clone both locally AND allowing system to pull new updates and releases from core. XO, and libvhdi as needed. The next goal is: Make an xsconsole-like TUI Automate package updates for libvhdi and xen-orchestra-ce using CI/CD pipelines Submit libvhdi and xen-orchestra-ce as official nixpkgs
  • XO and XCP-ng pricing

    34
    0 Votes
    34 Posts
    9k Views
    B
    @DustinB Been using it since 2012, non-profits fell under the academic tier and it was originally by number of cpu which was 2 cpu per host, under 192G ram but again didnt include vmotion etc, just plain ole esxi why I used Veeam since it brought replication into the mix again still using them at a very low cost. They had essentials and essentials plus and the academic pricing was very low, my understanding is they would rather you use VMware vs something else. Again I have receipts going back to 2012, pretty much same price for all these years until Broadcom entered the picture. There was nothing sus about it, you had to verify your non-profit category and fit within the limts, it was pretty standard pricing for a low number of cores, I could go to CDW or any reseller and get the same pricing. Why you have so many small companies jumping ship many were using vmware essentials which was WAY cheaper then what they are doing now which the only option is Standard and it now requires min of 16 cores per host @$50/core. That is the new and wonderful world of Broadcom... Anyway, this was pretty common stuff under VMware, why so many folks were using it, even the small shops.
  • Some weird Alt Gr issue

    3
    0 Votes
    3 Posts
    405 Views
    K
    @olivierlambert thank you for your response. Just tested with another laptop : no more issue... Well, we will inform our future users and wait for v6 !
  • Transport-email plugin - oauth for gmail

    6
    0 Votes
    6 Posts
    1k Views
    D
    @Pierre-Briec You can try something like Mailjet.
  • XO SocketError: other side closed

    Solved
    12
    0 Votes
    12 Posts
    2k Views
    olivierlambertO
    Excellent news! Thanks for keeping us posted
  • 0 Votes
    14 Posts
    5k Views
    TheNorthernLightT
    @dinhngtu Thank you very much for this. Luckily, these last few 2012 OS's will be mothballed at the end of August, but... sometimes schedules and security don't align.
  • XO one time job scheduler

    3
    0 Votes
    3 Posts
    540 Views
    tjkreidlT
    @RS One option would be this, assuming in this se you want to run the job at midnight on Dec. 25: /bin/echo "/path/to/your/script.sh" | at midnight Dec 25 While cron doesn't offer a specific one-time execution, you could also do this in cron but would have to remove the entry afterwards: 0 0 25 12 * /path/to/your/script.sh Also, take a look at this option: https://www.fastcron.com/guides/one-time-cronjobs/
  • CPU Stats bottoming out to Zero every five minutes

    10
    1
    0 Votes
    10 Posts
    1k Views
    tjkreidlT
    @DKirk That all makes sense, thanks for clarifying. Looks like there are further comments below that seem to pinpoint where the issue may lay. The key point you make is only "after the last updates" is when this started happening!
  • VGA on Xen Orchestra

    12
    1
    0 Votes
    12 Posts
    2k Views
    A
    Olivier, I can say it's worse without the VGA being selected to 16Mb. That option is pretty much a must for any desktop virtualization. The novelty for me is people get far above 1080...
  • Feedback XO v6

    7
    6
    0 Votes
    7 Posts
    1k Views
    P
    @lsouai-vates Today I noticed that there is the same in xo5 (commit 25192) Jobs with disabled jobs but scheduled in a sequence job are shown with Not backed up VMs [image: 1747997034588-9d25866e-a8b8-4bd6-85ac-bcb5973fd6fc-image.png] By the BCK_Running tag, it is backed up [image: 1747997147334-f5471bb0-7600-4d6e-ad81-da9c13dfa6bd-image.png]
  • Display Slowness/Lag

    5
    1 Votes
    5 Posts
    1k Views
    C
    @ph7 I'm using local software mirror with mdadm. Its both boot and vm storage.
  • Connection failed - Unknown error

    Solved
    6
    1
    0 Votes
    6 Posts
    1k Views
    G
    @olivierlambert Thank you for your response. I have followed most of the documentation on setting up HA, and made sure that I have 3 hosts. All are Dell 7090 64GB RAM with 2 dedicated HA NICS. XCP-ng 8.3 is patched, XO is up to date, Xen tools 9.4.0 on all Windows VMs, and using the Xen tools ISO that can be mounted. eth0 1Gbs management network eth1 10Gbs iSCSI network DAC eth2 10Gbs VLAN Trunk, including backup network eth3 1Gbs HA eth4 1Gbs HA Overall, XCP-ng and XO are doing an excellent job. I feel like I am on an Easter egg hunt when pouring through documentation, but that is mostly my problem, because I see that you have put a lot of effort into organizing and updating it. My "use case" is replacing the VMware ESXi/vSphere 2-node cluster with XCP-ng and XO at the small high school (non-profit) where I volunteer as the IT guy. I feel that I am at the point where I trust XCP-ng and XO enough to make the switch during the summer break. Sorry to run on. The yellow triangles behind the non-master hostnames are just a small nuisance. I do notice that the hosts are hard to shutdown. Sending a shutdown command from either XO or from the host console causes a host to reboot, but not shutdown, even after having previously entered maintenance mode. I feel that this is not a big issue, just another small nuisance. The XO cluster is maintaining the integrity of the guest VMs. I will be reading all of the documentation I can, and upgrading to 8.4 when it is available. Thank you for supporting your awesome hypervisor.
  • RAID Status on the Advanced tab of the host

    10
    1
    0 Votes
    10 Posts
    2k Views
    olivierlambertO
    The plugin was initially created to check RAID created during install, not custom RAIDs created manually. But that could be an improvement to the plugin @stormi I leave you the honor to add this somewhere
  • Cannot get to XO Lite portal

    7
    0 Votes
    7 Posts
    2k Views
    olivierlambertO
    @Virtual said in Cannot get to XO Lite portal: @olivierlambert So my host IP is 192.168.1.40 and the Xen orchestra IP is 192.168.1.45 To clarify, I was referring to XO 6 Lite. Going to https://192.168.1.40 brings up the page with XoA quick deploy, cli documentation, etc. It doesn’t navigate to XO 6 lite Going to https://192.168.1.45/v6 still gives me the error mentioned in the original post Indeed, as said, there's no such thing as "XO Lite 6". XO Lite is simply "XO Lite" (we'll have a v1 at some point, v6 is like far far in the future ) So yes, https://192.168.1.40 should display XO Lite if you use XCP-ng 8.3 (you can install it manually for 8.2 but it's not bundled by default) And https://192.168.1.45/v6 should display XO 6, only if you built it correctly to get XO 6 components built.
  • Issue Importing Dell PPDM OVA into XOA

    Unsolved
    11
    2
    0 Votes
    11 Posts
    2k Views
    AtaxyaNetworkA
    Edit to my previous post: the script is checking for working DNS, so i cannot pre-setup network. If you want the fixed applicance with the drivers installed, ping me ! To setup the network, you just need to login (root/changeme, yeah the password is... bleh), and launch the script /usr/local/brs/puppet/scripts/install.sh -lui
  • No Alma logo in XO?

    2
    1
    0 Votes
    2 Posts
    361 Views
    DanpD
    Hi, I'm pretty sure this is planned to be addressed in XO6. Dan
  • Unable to add host to pool (db mismatch)

    9
    0 Votes
    9 Posts
    2k Views
    A
    Could you please provide the output of (for the master and the candidate host): xe host-list params=software-version It does seem odd....
  • XOA web deploy stuck at "Deploying XOA..." No error

    32
    1
    0 Votes
    32 Posts
    17k Views
    T
    @RawbDeeni Thank you! I had the same problem using 8.2 lts. I ended up formatting and using 8.3, and I didn't have any issues after that. I'm glad I found a better alternative to use this hypervision from a vmware end user for over 10 years until Broadcom killed it.
  • Multiple AD sources to Xen Orchestra

    11
    0 Votes
    11 Posts
    2k Views
    lsouai-vatesL
    @tuckertt Hello ! We are making some investigations on authentication, users, ACLs etc... topics for the Xen Orchestra 6 version to come. Could you please formalize your need so I can add it to my user suggestions list? Try to make specs as most generic (for all users) as possible, and don't hesitate to add some concrete examples. Have a good day!
  • Host disconnected midway during backup, now unable to start/restart/cancel

    19
    0 Votes
    19 Posts
    4k Views
    J
    @jaayb said in Host disconnected midway during backup, now unable to start/restart/cancel: @madrianr had similar issues tried xe vdi-foget uuid and rescanned after that but cannot find the vdi. Any ideas? never mind was able to recover...
  • Console keyboard problems using Firefox

    10
    1 Votes
    10 Posts
    3k Views
    DustyArmstrongD
    For anyone who comes across this, you can just add an exception for your management page and shift will work on the console. Settings > Privacy & Security > Enhanced Tracking Protection > Manage Exceptions > Add the site url e.g. https://xo.fqdn.com.