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
    • xerioX

      MTU change

      Watching Ignoring Scheduled Pinned Locked Moved Xen Orchestra
      12
      0 Votes
      12 Posts
      7k Views
      bleaderB
      @Andrew I did suspect that would be sufficient, but we need to think at feature level, and as mentionned there is no such thing we could do "quickly" for linux and other OSes. I anyway did a brain dump of my investigation before posting my previous message and we do now have an entry in the roadmap for it, which was not the case previously.
    • B

      Adding new host to pool fails - Stunnel SSL certiticate verification failure

      Watching Ignoring Scheduled Pinned Locked Moved Solved XCP-ng
      15
      0 Votes
      15 Posts
      332 Views
      B
      @LucienLassalle Interesting. I'm not sure I was all the way up to date when I upgraded to 8.3 and it's possible I was a month or two behind. I only upgraded because I ran across a need for the virtualized TPM support (which is cool to see implemented!). Thanks again for all the effort in looking at this!
    • E

      Trying to enable v2v and difficulty adding nbdinfo on xo 6

      Watching Ignoring Scheduled Pinned Locked Moved Migrate to XCP-ng
      11
      0 Votes
      11 Posts
      394 Views
      E
      @CGB Just refreshing XOA and the console didn't do it. I had to redeploy the XO appliance. Newer debian and binaries. export your config.toml and follow the steps like you are deploying a new xoa
    • A

      XO error/warning: Clean VM directory. unhandled error while checking alias.

      Watching Ignoring Scheduled Pinned Locked Moved Backup
      37
      1
      0 Votes
      37 Posts
      372 Views
      FagnerMoraesF
      @pierrebrunet Thanks.
    • R

      cifs-utils LPE (CVE-2026-46243) / 8.3 dom0 vulnerability inquiry

      Watching Ignoring Scheduled Pinned Locked Moved XCP-ng
      4
      0 Votes
      4 Posts
      159 Views
      R
      @LucienLassalle — Thanks Lucien, appreciate the detailed reply. Glad we landed on the same result independently, and the CI/testing rationale makes complete sense — stability matters more than rushing a same-day patch. Good to see June Updates #1 out covering Fragnesia, ptrace_may_dream, and Pintheft, and good to know CIFSwitch will likely be treated the same way. I'll keep checking the blog and the VSA registry. And noted on security@ for future reports. Thanks for the great work as always.
    • acebmxerA

      Install XO from sources.

      Watching Ignoring Scheduled Pinned Locked Moved Xen Orchestra
      26
      3 Votes
      26 Posts
      3k Views
      acebmxerA
      While looking into the following issue - https://xcp-ng.org/forum/topic/11976/trying-to-enable-v2v-and-difficulty-adding-nbdinfo-on-xo-6/10 I found a few issues with my install script... Looking for recommendations on the fix approach. I am noticing that are some confusion or inconsistencies with the documentation. Areas it suggest to use root and/or a non root account. Part of these issues would not be if the account used was root or with root access. The two failures Reason 1 — privileges (SERVICE_USER=xo-service, non-root): XO's button runs apt-get install ..., make install, and ldconfig with no sudo (confirmed in esxi.mjs source). As xo-service, those commands are permission-denied: it can't apt-install, can't write to /usr/local/..., can't run ldconfig. XO's own dependency checker even says V2V requires root (UID 0) — which is why your sample-xo-config.cfg:56 already warns "V2V import requires root." So yes — your instinct is correct. With SERVICE_USER=xo-service, the button cannot succeed no matter what. But Reason 2 — build tools absent: Even if you set SERVICE_USER=root and click the button, it will then try apt-get install -y git dh-autoreconf pkg-config make libxml2-dev ocaml libc-bin and compile from GitLab. That will work if the box has internet and apt is healthy — but it's a multi-minute source compile pulling ~hundreds of MB (ocaml!) every time, done live inside the web request. Pre-staging those packages via the installer makes the button fast and reliable instead of a long live compile. So, is the fix "just set SERVICE_USER=root"? To make the button function: yes, that is the necessary fix. Pre-installing build deps is an optional reliability/speed improvement on top. Given your answers, here's my refined proposal — minimal, docs-aligned: Proposed changes Add INSTALL_V2V_DEPS=false opt-in to sample-xo-config.cfg. When true, the installer pre-stages XO's exact build-dep list (git dh-autoreconf pkg-config make libxml2-dev ocaml libc-bin) on apt systems only, so the button compiles quickly instead of installing them live. Default false → no ocaml bloat on normal installs. Root guard (your "Warn only" preference): When INSTALL_V2V_DEPS=true and SERVICE_USER is non-root, print a prominent warning: "VMware V2V import requires xo-server to run as root (per XO docs). The in-XO 'install nbdinfo' button runs apt-get/make install without sudo and will fail as user '$SERVICE_USER'. Set SERVICE_USER=root to use V2V import." …and continue (don't abort). RHEL/dnf: if INSTALL_V2V_DEPS=true on a non-apt system, log "VMware V2V import is only officially supported on Debian 12/13 per XO docs — skipping V2V dependency setup." and do nothing. Keep the existing /usr/local/lib/vddk dir creation (it's correct — XO untars VDDK there), and don't touch APT contrib/multiverse or pre-compile nbdkit (XO compiles from source itself; distro packages are never used by the button). Docs: README row for INSTALL_V2V_DEPS + a sharpened note in sample-config that V2V needs SERVICE_USER=root, linking the official guide. This stays strictly within what XO's own code does, scopes the heavy deps behind opt-in, and surfaces the real root-user requirement you correctly identified. Shall I implement this? If yes, I'll make the edits and run shellcheck/bats afterward to verify nothing breaks. (I have not edited anything yet.) Prior to looking into this issue. I was trying to work on switching from standard user to root but that broke alot of things and will need rework. Dont belive it would be an issue if root was used to initially deploy xo.
    • stormiS

      XCP-ng 8.3 updates announcements and testing

      Watching Ignoring Scheduled Pinned Locked Moved News
      558
      1 Votes
      558 Posts
      262k Views
      acebmxerA
      Applied patches at work. 3 pools updated with zero issues.