• MFA for console access

    Unsolved XCP-ng
    12
    0 Votes
    12 Posts
    456 Views
    J
    @poddingue said: Most of it turns out to be in the XO docs already. The passkeys section covers Keycloak, the WebAuthn flow and a Yubikey as second factor: https://docs.xen-orchestra.com/security/user-management/authentication-providers#enabling-passkeys-in-xoa-with-keycloak. What I couldn't find on that page are your two operational points, keeping a local admin account for when the IdP is down and not hosting the IdP only on the pool XO manages. I tried it on an XO built from sources with the OIDC plugin turned on: the login page still offers "Sign in with password" next to the OpenID Connect button, and a local admin could still log in, so a break-glass account should keep working, though I only had a dummy client, not a real Keycloak. I'll see about getting a short note with those two points added to that page. @Greg_E, if a second factor without an IdP is enough for you, XO also does TOTP for local accounts (same page), though that's not a hardware key. @poddingue Since Keycloak is already covered, it would also be worth mentioning (or linking to) newer, lightweight self-hosted IdPs—especially those written in Go or Rust—which have large, active user bases and are very easy to deploy as a dedicated duo or trio on bare metal separate from the Vates stack: • Authelia (Go): https://authelia.com • Pocket ID (Go): https://pocket-id.org • Kanidm (Rust): https://kanidm.com • authentik (Go/Python): https://goauthentik.io
  • Requirements for Migration Via Storage Network

    Solved Management
    3
    0 Votes
    3 Posts
    78 Views
    C
    @poddingue Thank-you - that explanation of how it works is very helpful. The logs showed it is indeed a PIF error that causes the failure (that results in the above INTERNAL_ERROR): "message": "PIF is not attached" What was interesting is that the PIF identified as causing the error is the Storage Network PIF on the Master host (which is functioning fine as VMs are using it). Realized that this is caused by both XCP-ng hosts being directly cabled to bridged ports on the Truenas with no switch in between) - as the two hosts do not communicate with each other but only with the SR over the Storage Network. Perhaps this thread might be helpful to someone with a similar setup that runs into the same silly mistake.
  • XCP-ng 8.3 updates announcements and testing

    Pinned News
    838
    1 Votes
    838 Posts
    1m Views
    gduperreyG
    @Greg_E As stated at the beginning of the blog post: "Host reboots are necessary after this update."
  • Missing vdi which is a base for a delta

    Unsolved Backup
    23
    0 Votes
    23 Posts
    2k Views
    B
    @poddingue No, last night there were no missing vdis. That is the entire list for that VM at the moment. The only failures last night were 4c422bc5 (Lock file is already being held) - that is in the same mirror job we've been discussing; and 12446df8 in the daily delta job to Ark, also lock file is already being held.
  • 🛰️ XO 6: dedicated thread for all your feedback!

    Pinned Xen Orchestra
    352
    7 Votes
    352 Posts
    251k Views
    julienXOvatesJ
    @jr-m4 said: I propose that when the task for RPU is listed. That it would show and name the pool it is doing the RPU for. I noticed this since I did two RPUs at the same time for two different pools. And as such, just looking at the task-title, they don't really tell me much. [image: image.jpeg] Thanks for this suggestion @jr-m4 , we actually already had that in mind (adding object name in the task). Also we're checking how to improve the percentage progress in Tasks... !
  • Endless "Xapi#getResource /rrd_update" - again

    Solved Xen Orchestra
    6
    0 Votes
    6 Posts
    109 Views
    J
    So far, setting the backup network seems to have solved the issue. I'm marking this as solved in the meantime. Thanks again everyone! And especially @danp who gave the winning answer
  • Backup failures after VHD to QCOW2 conversion

    Unsolved Backup
    15
    0 Votes
    15 Posts
    1k Views
    S
    I’ve now correlated the XO and host logs, which helps narrow down where the time is spent. The qemu-img info and qemu-img map calls complete within seconds, but the subsequent host-side QCOW2 diff-export process remains active much longer. For example: 09:47:13 Executing …/qcow2-to-stdout.py <snapshot> --diff <reference> … 10:08:57 ConnectionResetError: [Errno 104] Connection reset by peer At exactly 10:08:57, XO logs: xo:fs:abstract INFO will output stream For another VM, the corresponding interval was approximately 18 minutes, again ending when XO opened the backup output streams. This points to the preparation of the QCOW2 diff stream as the main delay. The connection resets may be caused by XO closing the preparatory HTTP stream before continuing through NBD, rather than an actual backup failure.
  • 9 Votes
    69 Posts
    21k Views
    C
    @benapetr Two possible (cosmetic & function) fixes - names not showing for VMs under Memory & nicer Min and Max Memory settings indicators along with option to "Edit" them: [image: Nameless - Copy.png] (Names themselves redacted below) [image: Names - Copy.png]
  • 0 Votes
    2 Posts
    201 Views
    poddingueP
    Unlike the NAS-outage hang in https://xcp-ng.org/forum/topic/12563, this one doesn't seem to need an outage at all: @acebmxer found the same leftover .nfs files after disabling a remote in that thread (https://xcp-ng.org/forum/post/109662) and wrote it up as "Test 2" on https://github.com/vatesfr/xen-orchestra/issues/10741. I tried three disable/enable cycles from xo-cli, on an XO from sources at your commit 54051163e and on a regular XOA on 5.213.4, and I only got half of what you describe. Creating the remote already opens two keepers, test or no test. Disabling only ever closes one of them, so one stays open (two did on one of the XOA runs) and the share stays mounted even after I delete the remote, but the count never grew for me: it came back to the same number every cycle. I'm not a dev and may be missing a path, but from what I read in _mount.js at that commit, _sync() seems to close the previous keeper before opening a new one, which would lean towards your "several handlers for the same remote" idea rather than an overwrite, and since the extra one shows up at creation, I guess that's the step I'd look at first. Were you toggling from the web UI, and how far apart were your cycles? That's the one difference I can't rule out on my side. Maybe a separate GitHub issue linked from #10741 would be cleaner than another comment there, since yours happens without the NAS going away (not sure which the devs prefer), and a mention to @Team-XO-Backend might help the right people see it.
  • Bad Performance CPU? get-cpufreq-para failed

    Unsolved Compute
    27
    0 Votes
    27 Posts
    7k Views
    F
    @poddingue One more thing to mention on Lenovos is CPU Pstate control needs to be set to "Legacy" for the OS to be able to control clocks. This is found on the same BIOS menu as the "Power/Performance Bias " option. I had to set this on a number of SR250V3 servers to allow xenpm to report anything.
  • Host time and XOA time are not consistent with each other

    Unsolved Xen Orchestra
    11
    0 Votes
    11 Posts
    590 Views
    O
    @poddingue said: add a server <your-ntp-server> iburst I am sorry for being stupid, I don't understand Linux at all, but where should I add it? edit: nevermind, I got it. [image: image.jpeg] I guess it should work now.
  • Backup job creation is available, feedback welcome

    Backup
    11
    5
    4 Votes
    11 Posts
    454 Views
    V
    Having backup retention before planning seems backwards to me. I wish planning or review visualised the schedule and retention as simple as the pictures in the documentation makes it seem. Adding what backup is expected to occur (Full, differential, incremental, key, etc) to next runs would go a long way. https://docs.xen-orchestra.com/backups-and-dr/backup-types/incremental_backups
  • 0 Votes
    21 Posts
    3k Views
    nathanael-hN
    @jr-m4 Hello we tested with Podman, and I can confirm... It works with Podman Also we rebased the branch on Xen Orchestra master, and added a Docker view in the tree view on the left side. Let us know what you think about this
  • CPU frequency governor: performance vs. ondemand

    Hardware
    6
    0 Votes
    6 Posts
    178 Views
    olivierlambertO
    It's for historical reasons. We'd like to get it perf by default too at some point.
  • 0 Votes
    22 Posts
    3k Views
    olivierlambertO
    Excellent news, thanks for the feedback @mike.potapov
  • iscsi shows "No Storage Repositories Detected"

    Unsolved Compute
    8
    0 Votes
    8 Posts
    503 Views
    okynnorO
    @Danp Thanks Danp again for your questions and help. Can you believe that Google AI was able to help me solve this problem? It did. Something this complex, it's able to do. Commands I entered in the hopes that it helps some else who could get as desperate. But if AI can help, that is amazing too. xcp-ng-iscsi-fix.txt
  • 0 Votes
    7 Posts
    1k Views
    C
    ccooke said: Does it look like you need to examine anything? I'm okay keeping it as-is for another day or two, but it would be good to know. For what it's worth, I have now wiped and restored from backup. Sorry, couldn't wait any longer! Also for what it's worth - I think your answer was clear here, and this one should probably be marked as solved. If there's any sane instructions that anyone else can use to repair the xostor SR if this happens - or if the best thing to do is wipe and restore due to potential risk - it would be good to have some guidance. But I'm entirely happy
  • [Fixed] 2026-11-24 12:56: Latest commits don't compile

    Solved Xen Orchestra
    3
    1
    0 Votes
    3 Posts
    257 Views
    J
    The latest commit 467c0130fc7edf810ed2293f5350284794969ee3 compiles. And I believe that this was fixed with commit 82dabbf0cd19abb84491810e8aa183f3a8ea18f0 Cheers
  • Install XO from sources.

    Xen Orchestra
    48
    3 Votes
    48 Posts
    16k Views
    S
    @acebmxer Thanks, new build works now!
  • PV tools ISO not shown since 8.3

    Unsolved XO Lite
    7
    2
    0 Votes
    7 Posts
    422 Views
    DanpD
    If I delete that VM, XCP-ng doesn't regonize that and by thus it also doesn't offer to deploy a new XOA, instead the link then points to an not existing IP-address (website). See https://xcp-ng.org/forum/topic/11824/redeploy-xoa-via-button/3?_=1795517283339 for a prior discussion on this topic. I don't see a notification/info that creating a new VM only shows images which are bootable. The XCP-ng Tools SR is flagged as the system provided tools SR (is-tools-sr=true), and AFAIK this is why its contents are excluded when creating a new VM.