XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    • Profile
    • Following 0
    • Followers 1
    • Topics 18
    • Shares 0
    • Posts 468
    • Groups 0
    J Offline
    1. Home
    2. john.c
    3. Posts

    Posts

    Recent Best Controversial
    • RE: MFA for console access

      @poddingue One more thought on that—having a few of these IdPs in the official validation matrix would also help guide where improvements to XO's auth-oidc and auth-saml plugins should go.

      Even though OIDC and SAML are open standards, testing against newer or widely deployed providers like authentik and Pocket ID is a great way to catch subtle real-world edge cases before customers hit them—things like:

      • Group/role claim mapping—especially ensuring parity across both XO ACL v1 and the newer ACL v2 (RBAC) model in XO 6
      • Stricter modern defaults (like mandatory PKCE or short-lived token refreshes)
      • Redirect URI handling—especially how XO handles return flows and single logout (SLO) when no explicit post-logout redirect URI is configured or supported by the IdP

      Validating against a handful of popular self-hosted IdPs wouldn't just benefit the docs; it would give QA a clear baseline and help harden the auth plugins across both XO 5 and XO 6 for teams migrating over from VMware.

      posted in XCP-ng
      J
      john.c
    • RE: MFA for console access

      @poddingue said:

      Thanks for the list. 👍

      From what I read of the plugin, XO's OIDC sign-in isn't tied to Keycloak: it asks for a discovery URL, a client ID and a secret, which I'd expect any standard OpenID Connect provider to hand out.
      I haven't tried any of those four with it though, and I'd rather the docs didn't name a provider nobody has tested (call it my own caution more than anything), so I'll pass your list along with the note and let the docs folks decide.

      Have you already run XO against one of them? If so, a word on how it went would help a lot.

      @poddingue Not yet. But at least worth testing in a lab, also likely to encounter at least one of them eventually. Most likely Authentik as there’s over 1 million installations of it, including several big names like for example CloudFlare and University of Utah, Der Spiegel, Orange Business and many others.

      Especially if any of these installations are looking to migrate from VMware and are interested in Vates, for their infrastructure.

      Though may also encounter Pocket ID as it’s a Passkey native, IdP that’s worth covering as there may be signs of it being used in Mattermost, maybe Discord but most likely Mattermost.

      posted in XCP-ng
      J
      john.c
    • RE: MFA for console access

      @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

      posted in XCP-ng
      J
      john.c
    • RE: MFA for console access

      @poddingue said:

      Let me see what I can do, @john.c.
      Thanks! 👍

      Thanks @poddingue! Having it in the docs will be huge not just for VMware migrations, but for fresh setups too—making it easier for newcomers to get it right from day one, and giving everyone a clean link to point to whenever the question comes up in the future.

      posted in XCP-ng
      J
      john.c
    • RE: MFA for console access

      @poddingue If the above looks good and works as a best practice, it might be worth adding to the Xen Orchestra documentation. Alternatively, if this is already covered in the official Keycloak, Authentik, or Authelia docs, linking to or referencing those sections could be helpful.

      posted in XCP-ng
      J
      john.c
    • RE: MFA for console access

      Quick clarification on the above: Keycloak doesn't have to run as a VM—in fact, running it on bare metal (or separate out-of-band hardware) is best practice here. That way, you avoid a chicken-and-egg lockout if the IdP VM is migrating or offline during a Rolling Pool Update (RPU) or host reboot.

      Even better, running a pair or trio of bare-metal Keycloak instances in a cluster behind a load balancer eliminates any single point of failure—which is ideal if you ever scale SSO out across a broader network (like an academic or multi-service environment).

      posted in XCP-ng
      J
      john.c
    • RE: MFA for console access

      Since you mentioned getting a 2-button OnlyKey for work, setting up Keycloak now is a great foundation if you ever want to expand SSO across other network services.

      For XO specifically, you'll want to look at the auth-oidc or auth-saml plugins—XO doesn't do FIDO2 natively, so it hands off the hardware key prompt to Keycloak. Once that's working, you can use the exact same Keycloak instance to handle WebAuthn/MFA for other internal tools, pre-provision individualized keys/accounts for multiple users, and separate permissions by group. Just make sure to keep a local break-glass admin account on XO in case the Keycloak VM ever goes offline!

      @dkmuir Currently can’t do MFA on a per host level (XCP-ng) worth adding as feedback to https://feedback.vates.tech. Though if you are trying to do this for Xen Orchestra see the above for Greg_E.

      posted in XCP-ng
      J
      john.c
    • RE: MFA for console access

      @Greg_E said:

      In a similar case, I was looking to see if I can add a FIDO2 key for authentication to XO. I looked in the authentication plugins but it wasn't clear to me and I haven't had time to look into this deeper.

      If it matters, I would be using an Onlykey device which is FIDO2 compliant (Yubikey), I have the 6 button key, but probably buy the 2 button for work stuff and keep the 6 button for things at home.

      @greg_e To add to this: XO doesn't support FIDO2 hardware keys natively on its own, which is why you didn't see a direct option in the plugin list. Instead, XO delegates MFA and hardware key handling to an external Identity Provider (IdP).
      Setting up a Keycloak instance (or a lighter-weight alternative like Authentik or Authelia) is the right move here. Here is the general flow to get your OnlyKey working with XO:

      1. Enable the XO Plugin: In XO, go to Settings > Plugins and enable auth-oidc (OpenID Connect) or auth-saml. (Note: If you run XO from source rather than XOA, make sure the xo-server-auth-oidc package is installed).
      2. Configure your IdP: Create an OIDC/SAML client in Keycloak for XO, and enable WebAuthn / FIDO2 in Keycloak's authentication flows so it prompts for your OnlyKey.
      3. Link them: Point XO's OIDC plugin to your Keycloak realm's auto-discovery URL (.well-known/openid-configuration) along with the Client ID and Secret.

      Once linked, logging into XO will redirect you to Keycloak, where you can tap your OnlyKey for FIDO2/2FA before being sent back to XO

      posted in XCP-ng
      J
      john.c
    • RE: Backup failures after VHD to QCOW2 conversion

      @SeriouZ said:

      Thanks for your help! I have the SMlogs from both hosts ready, but they’re too large to upload here, even compressed

      Whats the best way to share them with you or Team-Storage? 😃

      @seriouz Have you tried using zstd at a high or ultra compression level, to see if you can get it smaller?

      You may need to use a Vates recommended or provided cloud temporary file storage service, outside of attaching to your forum post or PM!

      posted in Backup
      J
      john.c
    • RE: Rolling pool update

      @tjkreidl said:

      @john.c Note that a two-host pool running HA can run into the split-brain issue if one of the hosts fails; it's highly recommended to have at least three hosts in an HA pool (or look into HA-Lizard if running a pool with two hosts and HA).

      Right but also considering the in development Twinstor for when it goes stable and in production!

      posted in Xen Orchestra
      J
      john.c
    • RE: Rolling pool update

      @Octopuss said:

      @coolsport00 Yes I can see the appeal, but for a server sitting in the corner of the living room that basically only hosts a NAS, torrent seedbox and an all around appliances management platform, two hosts sounds like a complete overkill and a headache, haha.

      @octopuss Having two, three or more hosts may seem to be an overkill, however once you lose access to VMs, down etc due to updating hosts or the host crashes. You’ll then absolutely wish you had two or three hosts running XCP-ng!

      Combined with shared storage, so VMs can migrate between them for updates and if properly setup and stable HA (if suitable for the setup bearing in mind HA recommendations from Vates).

      Edit: Though 3 hosts are required and/or recommended for having HA using Vates’ native offering. Otherwise for a 2 host pool may need to look into something else for HA.

      posted in Xen Orchestra
      J
      john.c
    • RE: 🛰️ XO 6: dedicated thread for all your feedback!

      @Greg_E said:

      @john.c

      Uggg... I just updated yesterday so I better check to see if I need to upgrade again today. Starting to hate AI, and I'm guessing the developers are the same.

      That said, not exposed to the internet.

      [edit] regarding moving the backup, it was nice to have a front page single click to see the checkmarks on the jobs. Now it's two clicks. I'll adjust my morning routine.

      @greg_e It’s just Vates and software in their stack, just imagine what it’s like for developers and maintainers of Debian Linux! What with all the software in the distribution and all of it at times needed updating concurrently.

      To help them through these especially tough times may or would be a good idea to make a donation to Debian Linux, and/or other contributions.

      posted in Xen Orchestra
      J
      john.c
    • RE: 🛰️ XO 6: dedicated thread for all your feedback!

      @coolsport00 said:

      @john.c Nah..don't use those thankfully. Appreciate it!

      Maybe worth you starting to use BunkerWeb especially if the Xen Orchestra has absolutely to be remotely accessible on the internet. Though visibility on the internet is a definite no-no for Xen Orchestra.

      Would keep your instance from being hit by vulnerability exploits, like the one currently being actively exploited (https://docs.vates.tech/security-advisories/advisories/2026/vates-sa-2026-062/).

      posted in Xen Orchestra
      J
      john.c
    • RE: 🛰️ XO 6: dedicated thread for all your feedback!

      @coolsport00 said:

      @john.c which is why I use it 😄 It's been perfect up until yesterday..not sure what's going on. Will check that though @john.c . Thanks!

      Your welcome. Also if using a Web Application Firewall (WAF) would be best if you switched it to BunkerWeb, due to them being on Vates VAN! So will be highly tested for support of protecting Xen Orchestra and certified as compatible with such.

      posted in Xen Orchestra
      J
      john.c
    • RE: 🛰️ XO 6: dedicated thread for all your feedback!

      @coolsport00 said:

      I'm using Brave browser - v5 is fine but v6 XO is not. Not sure what the deal is. I cleared my XO cookies but still have the issue. Actually, it's now wholistic..not just Pool > Dashboard.

      image.jpeg

      Chrome works so I don't know. Weird. 😕 Thanks for confirming all is well guys. Appreciate you all!

      Brave has an inbuilt tracker list blocker, as well as either built-in or as an extension a script blocker. Worth checking in case it’s blocking things that Xen Orchestra needs.

      posted in Xen Orchestra
      J
      john.c
    • RE: [Security] VSA-2026-062: critical Xen Orchestra vulnerability fixed, please update

      @vmpr Popping it behind an instance of BunkerWeb (https://www.bunkerweb.io/) or similar, with Xen Orchestra on a new IP address would help. As BunkerWeb is what’s known as a Web Application Firewall.

      It will help to protect your instance of Xen Orchestra, especially if you change the IP address of the appliance, and only give that friend the one that goes through BunkerWeb. As always don’t expose Xen Orchestra to the Internet, but if it’s absolutely necessary always use something like BunkerWeb (with BunkerNET) and only provide the BunkerWeb based IP address!

      Also run a check on all of your hosts and may be best to roll them a fresh (in case there’s an Advanced Persistent Threat). As well as a fresh instance of Xen Orchestra, and maybe encourage your friend while also doing yourself to start using hardware security keys, preferably ones that support biometrics and PINs. Alternatively other secure enclaves with cryptographic credentials held there.

      Additionally opt into the new encrypted datastore for Xen Orchestra on the new fresh Xen Orchestra and XCP-ng. Also make sure it’s completely up to date!

      Also if the hosts support it ensure that Intel TME or similar is enabled on the fresh installs of XCP-ng.

      Finally rotate all passwords associated with that system, including your Vates account password, especially if it’s linked to the Xen Orchestra instance hit.

      posted in Xen Orchestra
      J
      john.c
    • RE: Broadcom removed public access to VDDK download links

      Hi @olivierlambert, proposing a dual-path approach with an OpenVDDK fallback helps manage edge cases, as well idiosyncratic actions that are specific to VDDK or OpenVDDK when reading VMware specifics on their side.

      posted in Migrate to XCP-ng
      J
      john.c
    • RE: Broadcom removed public access to VDDK download links

      @olivierlambert said:

      Hello @andrija.panic !

      I'm aware and I followed your work and announcements 😉 It's great!

      On our side, we rely on our solution since the end of September: https://github.com/vatesfr/xen-orchestra/blob/master/CHANGELOG.md#690-2026-09-30 : "[V2V] Migrations no longer need the VDDK library".

      We couldn't wait much more and we had to act very fast to remove this dependency.

      Hi @olivierlambert, thanks for the insight on vectura! Completely understand the need to move fast and gain full vertical integration over the V2V pipeline—it’s a great move for standard migrations.

      My suggestion to consider a dual-path approach with an OpenVDDK fallback is less about day-to-day operations and more about strategic, ecosystem-level insurance.

      If we look at how the Xen Project / Xen Foundation handles governance, it provides a perfect architectural blueprint for this problem:

      • Shared Governance vs. Vendor Control: For OpenVDDK to be a reliable fallback against Broadcom's moving goalposts, it ultimately needs a single, unified organizational structure (similar to a Linux Foundation sub-project). If Vates, Red Hat, and the CloudStack/Proxmox communities pool resources into a shared, neutrally governed utility, the burden of reverse-engineering VMware's disk-format shifts is distributed across the entire industry.

      • Isolating the Core Stack: Just like XCP-ng handles alternative storage plugins or drivers, OpenVDDK wouldn't need to be baked into your core engine. It could live as a completely decoupled, optional legacy transport layer. If vectura hits an unforeseen edge case, a specific CBT lock, or an old ESXi topology (like the legacy versions dropped in 6.9.0), the system has an automated valve to fall back on.

      • Focusing R&D Resources: By helping steer a shared industry standard for the low-level data extraction layer, Vates secures a massive legal and engineering buffer against VMware licensing and structural changes, allowing your internal teams to focus 100% of their energy on making Xen Orchestra the best frontend destination.

      It prevents Xen Orchestra from ever being caught by surprise, while still keeping your in-house binary as the primary choice.

      posted in Migrate to XCP-ng
      J
      john.c