XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. Popular
    Log in to post
    • All Time
    • Day
    • Week
    • Month
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics

    • All categories
    • A

      Backup Info under VM tab in v6 never loads...

      Watching Ignoring Scheduled Pinned Locked Moved Backup
      65
      2
      0 Votes
      65 Posts
      2k Views
      P
      @MathieuRA said: Hi, regarding your backups which do not appear on the XO5 restore page, I suggest you to open a new topic Forgot to include the link to the new topic https://xcp-ng.org/forum/topic/12040/restore-only-showing-1-vm
    • M

      Too many snapshots

      Watching Ignoring Scheduled Pinned Locked Moved Backup
      44
      2
      0 Votes
      44 Posts
      936 Views
      M
      @Pilow I did check this and it definitely completes within the hour. I am testing a lesser value for CR retention to see if this resolves it.
    • A

      XOA - Memory Usage

      Watching Ignoring Scheduled Pinned Locked Moved Xen Orchestra
      37
      2
      0 Votes
      37 Posts
      990 Views
      florentF
      @MajorP93 said: @florent Thanks! I did not have time (yet) to look into the heap export due to weekend being in between. I will update to current master and provide you with the heap export in the following days. Best regards no problem , the sooner we'll have these exports, the sooner we will be able to indentify what is leaking in your usage, since we already plugged the leaks we reproduced in our labs
    • JSylvia007J

      Backup Suddenly Failing

      Watching Ignoring Scheduled Pinned Locked Moved Backup
      28
      0 Votes
      28 Posts
      887 Views
      tjkreidlT
      @JSylvia007 Sorry, I'm really late to this thread, but note that backups can become problematic if the SR is something like 90% or more full. There needs to be some buffer for storage as part of the process. The fact you could copy/clone VMs means your SR is working OK, but backups are a different situation. If need be, you can always migrate VMs to other storage which is evidently what you ended up doing, which frees up extra disk space. Also backups are pretty intensive so make sure you have both enough CPU capacity and memory to handle the load. Finally. a defective SR will definitely cause issues if there are I/O errors, so watch your /var/log/SMlog for any such entries.
    • stormiS

      XCP-ng 8.3 updates announcements and testing

      Watching Ignoring Scheduled Pinned Locked Moved News
      450
      1 Votes
      450 Posts
      188k Views
      A
      @dthenot Great! I'm happy I was able to help test it. I look forward to the update release. Interesting note, CR is faster when the snapshots are not deleted.... or CR is faster because of the update, I'll test again after the fix.
    • A

      Backups with qcow2 enabled

      Watching Ignoring Scheduled Pinned Locked Moved Backup
      21
      3
      0 Votes
      21 Posts
      287 Views
      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.
    • P

      Restore only showing 1 VM

      Watching Ignoring Scheduled Pinned Locked Moved Backup
      21
      1
      0 Votes
      21 Posts
      577 Views
      P
      @Bastien-Nollet I'm running c1e5f btw
    • A

      Lates commit breaks install

      Watching Ignoring Scheduled Pinned Locked Moved Management
      19
      0 Votes
      19 Posts
      328 Views
      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.
    • olivierlambertO

      🛰️ XO 6: dedicated thread for all your feedback!

      Watching Ignoring Scheduled Pinned Locked Moved Xen Orchestra
      174
      7 Votes
      174 Posts
      22k Views
      olivierlambertO
      Let me ping @Team-XO-Frontend
    • Tristis OrisT

      Double CR backup

      Watching Ignoring Scheduled Pinned Locked Moved Management
      18
      1
      0 Votes
      18 Posts
      331 Views
      olivierlambertO
      Ping @Team-XO-Backend
    • K

      Question about Continuous Replication/ Backups always doing Full Backups

      Watching Ignoring Scheduled Pinned Locked Moved Backup
      16
      1
      0 Votes
      16 Posts
      417 Views
      K
      @tsukraw No worries! Just glad that we can all help each other out!
    • P

      clean-vm (end) is stalling ?

      Watching Ignoring Scheduled Pinned Locked Moved Backup
      15
      2
      0 Votes
      15 Posts
      303 Views
      simonpS
      @Pilow Thanks for the heads-up, you should be able to add back concurrency as it was before and get similar performance to before the refactoring.
    • jerry1333J

      CPU Usage of empty server

      Watching Ignoring Scheduled Pinned Locked Moved XCP-ng
      14
      3
      0 Votes
      14 Posts
      230 Views
      P
      @jerry1333 said: There is nothing else on that host and this is only host in pool but it's using 30% of cpu all the time? it's not using 30% of CPU, you see a graph of cumulated (switch is on) core consumption of your 32 cores. never switch this on. it adds up like that : 32x1%=32%, wrongfully letting you think you are at 30%ish CPU usage.
    • U

      Loss of connection during an action BUG

      Watching Ignoring Scheduled Pinned Locked Moved Xen Orchestra
      18
      3
      0 Votes
      18 Posts
      531 Views
      P
      @User-cxs peut etre un clnflit IP ou la VM prenait l'IP du master... courage pour la suite !
    • F

      Backing up from Replica triggers full backup

      Watching Ignoring Scheduled Pinned Locked Moved Backup
      14
      6
      1 Votes
      14 Posts
      420 Views
      florentF
      @Pilow open a dedicated topic on this . I will ping the relevant team there is it iscsi + CBT ?
    • M

      Mirror backup broken since XO 6.3.0 release, "Error: Cannot read properties of undefined (reading 'id')"

      Watching Ignoring Scheduled Pinned Locked Moved Backup
      13
      1 Votes
      13 Posts
      348 Views
      P
      @Pilow perfect!
    • T

      Application on VM causing BSOD

      Watching Ignoring Scheduled Pinned Locked Moved Compute
      13
      0 Votes
      13 Posts
      426 Views
      T
      @TeddyAstie Attached is the output you requested xen-cpuid -p.txt
    • C

      OIDC login - Internal Server Error

      Watching Ignoring Scheduled Pinned Locked Moved Advanced features
      12
      0 Votes
      12 Posts
      459 Views
      P
      @dlgroep Thank you, we will take thin/thick token into account and use 'claims' part for other properties.
    • S

      How to Setup IPMI in XO

      Watching Ignoring Scheduled Pinned Locked Moved Management
      30
      0 Votes
      30 Posts
      2k Views
      A
      Come on everyone! Click Here to vote to support HP IPMI info in XO!
    • O

      When the XCPNG host restart, it restarts running directly, instead of being in maintenance mode

      Watching Ignoring Scheduled Pinned Locked Moved Compute
      17
      0 Votes
      17 Posts
      560 Views
      P
      perhaps "in the context of a proceeding RPU, do not start halted VMs" ? or "boot only halted VMs that have HA enabled" ? but I can imagine corner cases where this is not wanted. some chicken & egg problem.