XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    • Profile
    • Following 0
    • Followers 2
    • Topics 1
    • Shares 0
    • Posts 290
    • Groups 2
    poddingueP Online
    1. Home
    2. poddingue

    poddingue

    @poddingue

    Vates 🪐
    101
    Reputation
    80
    Profile views
    290
    Posts
    2
    Followers
    0
    Following
    Joined
    Last Online

    poddingue Unfollow Follow
    Vates 🪐 Admin
    • RE: 🛰️ XO 6: dedicated thread for all your feedback!

      @MajorP93: Thanks for expressing yourself regarding that, and I'll be transparent about the thinking behind it.

      Filing those on GitHub isn't me asking anyone to stop using the forum, quite the opposite in fact. 😉
      The forum is where real conversations happen, and that's valuable in a way a GitHub issue never quite is. But forum threads scroll, get buried, and developers can't easily maintain a stable backlog out of them. GitHub gives the team a place where things don't disappear or get buried.

      Think of it as belt and suspenders (which I need now that I'm getting old 🤣 ). The discussion lives here, the tracking lives there. My goal as community manager is to be the relay between the two, so you don't have to worry about it.
      File things here, talk about them here, and I'll make sure what matters makes it into the right repo.
      Or at least, that's the plan. Mine. 🤔

      posted in Xen Orchestra
      poddingueP
      poddingue
    • RE: Error mirroring full backups to backblaze b2

      Thanks for the detailed write-up, Pedro.
      I'm not a backup expert, far from it. but you might be right that https://github.com/vatesfr/xen-orchestra/pull/9396 only fixed the size estimation for direct full backups, not the mirror path. 🤔
      Your error is the same as the maximum size allowed one, just twelve bytes over 209715200000. Before this turns into a GitHub issue, it would help to know whether it reproduces on a fresh mirror job and whether bumping minPartSize actually cleared it, so we can be sure it's the mirror code and not the B2 remote settings.
      The object storage docs list Backblaze B2 as supported (https://docs.xen-orchestra.com/xo5/object-storage-support#supported-storage-providers) but don't say much about part-size tuning.
      If it's awkward to test in isolation, a mention to @Team-XO-Backend is probably the quickest route, since they own the backup job code.
      The XVA checksum warnings in your second screenshot look like a separate non-blocking clean VM directory step rather than the cause.
      I hope that points somewhere useful! 🤞

      posted in Backup
      poddingueP
      poddingue
    • RE: VMWARE to XCP-ng migration of 2TB disk

      Following up since the situation changed: QCOW2 went GA in XO 6.5 (released 2026-05-28), so the old ~2TB VHD ceiling is gone.
      A disk at exactly 2TB, and well beyond it, is fine now without shrinking to 1.99TB first. When acebmxer and john.c replied, it was still a release candidate; it's the stable story now. I haven't migrated a disk quite that size myself, so I won't promise it's totally painless, but the format limit that was blocking you isn't there anymore.
      The release blog has the details if you want to read up before the migration: https://xen-orchestra.com/blog/xen-orchestra-6-5/

      posted in Migrate to XCP-ng
      poddingueP
      poddingue
    • Running Kubernetes on XCP-ng? Help us test the CSI driver v0.4.0

      The Kubernetes CSI driver for Xen Orchestra just hit v0.4.0, and we want it on more real clusters before it reaches a stable release candidate. If you run Kubernetes on XCP-ng VMs, this is a good time to give it a proper workout.

      What's new in v0.4.0:

      • Local-storage support
      • Automatic pool-discovery fallback
      • Kubernetes metadata now lives in Xen Orchestra VDI tags instead of the deprecated other_config. That change also drops the old requirement for Xen Orchestra 6.4 or newer, so the driver runs on more deployments now.

      ⚠️ Read this before you upgrade. v0.4.0 is a breaking change. The Kubernetes metadata moved from other_config to VDI tags, so you must migrate before upgrading from v0.3.0. Do not upgrade in place: follow the v0.3.0 to v0.4.0 migration guide in the release notes, then move to v0.4.0.

      What helps us most is hearing how it behaves on your own setup: what works, what breaks, which storage backend you use, and which flavour of Kubernetes you run (k3s, full k8s, or something else). Edge cases on real clusters are the ones we don't see in our own testing.

      Where to report: start right here in this thread. It keeps everything visible to the community and lets others on the same setup jump in. If something turns out to be a reproducible bug, we'll move it to a GitHub issue on the repo so the team can track it to a fix.

      Release notes and migration guide: https://github.com/vatesfr/xenorchestra-csi-driver/releases/tag/v0.4.0

      posted in Infrastructure as Code
      poddingueP
      poddingue
    • RE: XCP-ng Shutdown Hangs When an SR Is Unavailable

      Glad it's working, and thanks for posting the script, the next NUT user will want it (I hope I'll be able to experiment with NUT in the coming weeks, so I could very well be "the next NUT user").

      I tried the PBD part on a lab host running 8.3: xe pbd-list never prints a storage-type line, so that grep finds nothing and step 2 quietly unplugs no PBDs. The 2>/dev/null hides it, and --force isn't an option pbd-unplug knows about. My wild guess is that ejecting the CDs is what fixed it for you.
      If you want the unplug to really happen, going through the SR type works on my side, though I only tested it against an ISO SR, not SMB: 🤷

      H=$(xe host-list hostname=$(hostname) --minimal)
      for t in nfs smb iso lvmoiscsi; do
        for sr in $(xe sr-list type=$t --minimal | tr , ' '); do
          for pbd in $(xe pbd-list sr-uuid=$sr host-uuid=$H currently-attached=true --minimal | tr , ' '); do
            xe pbd-unplug uuid=$pbd
          done
        done
      done
      

      Block iSCSI SRs show up as lvmoiscsi, which is why it's not iscsi in the list. @Forza's point about hard mounts may still bite if the share is already gone when the unplug runs; I don't know enough about the SMB side to say.

      posted in XCP-ng
      poddingueP
      poddingue
    • RE: Windows VM (PostgreSQL) repeatedly freezes – domain goes to permanent -b----, QEMU receives SIGTERM, console/RDP die

      The docs have a section for this symptom, Windows Server 2025 hanging at 0% CPU: https://docs.xcp-ng.org/troubleshooting/windows-pv-tools#windows-server-2025-hangs-randomly-with-0-cpu .

      Besides the Viridian flags you've already set, it says to revert useplatformclock and useplatformtick with bcdedit if they were ever set in the guest.

      Your earlier thread showed a VM created from the "Other install media" template, so it's worth checking which template this one came from, since the Windows templates bring their own Viridian settings.
      I don't think the QEMU SIGTERM is the cause, though: when I force-shut down a VM on a lab host, qemu-dm logged that exact terminating on signal 15 line, sent by xenopsd-xc (ps -o comm -p 1526469 will tell you on yours), so yours most likely just matches your forced shutdown around 10:20 on 5 Oct.
      If it freezes again after that, the memory dump procedure further down the same page (https://docs.xcp-ng.org/troubleshooting/windows-pv-tools#how-to-gather-kernel-memory-dumps-for-in-depth-troubleshooting) is likely what people who know Windows guests better than me would want to see. 🤷

      posted in XCP-ng
      poddingueP
      poddingue
    • RE: Enable Maintenance Mode = Host Not Enough Memory

      Good to hear Restart got maintenance mode going.

      I agree it shouldn't depend on spotting the one VM left on best-effort, and the Feeder item you found is the right home for that idea, so a vote plus a line about your production plans will do more there than anything I can add. 👍

      About 7146: its description says it only changes the evacuation when HA tolerates zero host failures, which is basically the two-host case.
      I had that wrong in my first reply. 🤦
      If your 3-host pool is set to tolerate one failure (my guess, I haven't seen your config), it wouldn't change anything for you.

      posted in XCP-ng
      poddingueP
      poddingue
    • RE: VM Display Resolution

      It was too tempting not to test, so I went and tested the other half.
      On an 8.3 host I set the preferred resolution to 800x600 in the OVMF menu on a UEFI Debian VM, turned that VM into a template, and cloned it.
      The clone came up at 800x600.
      A control clone of the same original, with nothing set, came up at 1024x768.
      So your workaround holds, the resolution really does ride along into VMs built from the template.

      For anyone who wants to poke at it, the setting is a UEFI variable called PlatformConfig under GUID 7235c51c-0c80-4cab-87ac-3b084a6304b1. It only appears in NVRAM once you commit it in the menu, and it stores width and height as plain little-endian integers, which is why it travels with the VM record.

      One thing I didn't expect: the OVMF help text says the mode list is filtered against video RAM size, but the VM I used had the default 4 MB and still offered everything up to 1280x1024.
      So you may not need to raise videoram for the common ones.

      ⚠ Fair warning though, I measured the console at the firmware stage rather than after the distro's own driver takes over, so a guest that sets its own mode later could still override it.
      At least, that's my understanding. 🤷

      posted in XCP-ng
      poddingueP
      poddingue
    • RE: Autostart behaviour after upgrade 8.2 -> 8.3

      Thanks for coming back with the actual cause instead of leaving it hanging. 👍
      To me, a permissions reset on /etc/rc.d/rc.local would explain it completely, and it fails in the worst way, since nothing complains at boot and the VMs just never start.
      It also looks worth documenting, because our own troubleshooting page tells people to append a clocksource workaround to /etc/rc.local without mentioning the executable bit either, so anyone following that could end up with a workaround that quietly does nothing.
      I haven't tested whether the 8.2 to 8.3 upgrade resets that bit every time or just happened to in your case, so that half stays your finding, not mine.

      I'm curious what you turn up on the colon versus equals behaviour.

      posted in XCP-ng
      poddingueP
      poddingue
    • RE: Autostart behaviour after upgrade 8.2 -> 8.3

      Hey, thanks for writing this up with the actual commands and the screenshot, that really helps. 👍

      Not sure why rc.local + vApps stopped working after your 8.2 to 8.3 jump. rc.local is more your own dom0-level script than something XCP-ng promises to keep stable across releases, so something underneath may well have shifted, but I can't point to what.

      On the delay question, there does seem to be a per-VM "start-delay" parameter. I ran into it replying to a pretty similar issue a couple days ago, if you want to compare notes: https://xcp-ng.org/forum/topic/12388. There are also the "appliance" CLI commands, the vApp equivalent, though from another recent thread it looked like nobody's fully sure how start order and delay actually interact there: https://xcp-ng.org/forum/topic/12149. So I think the capability is there, just not pulled together in one place.

      The colon-vs-equals thing is interesting. I honestly don't know xe's map-param parsing well enough to say if that's expected or a rough edge. Maybe someone closer to the CLI internals can say whether it should just reject that instead of creating duplicate entries. Given how scattered this all is, might be worth flagging to @Team-Documentation-Knowledge-Management.

      Hope some of that's useful, others probably know xe's internals better than me though.

      posted in XCP-ng
      poddingueP
      poddingue
    • RE: Bad Performance CPU? get-cpufreq-para failed

      Adding the Dell answer here so all three vendors sit together, thanks to @flakpyro in another thread. On iDRAC9 it's Configuration, BIOS Settings, System Profile Settings, with System Profile set to Performance Per Watt (OS); CPU Power Management then shows OS DBPM (https://xcp-ng.org/forum/post/109888). He saw it on a PowerEdge R360, and the host needed a reboot, same as the HPE one (https://xcp-ng.org/forum/post/109898). As far as I can tell from what people reported, the pattern is the same on all three: the setting that hands control to the OS is the one that works, not the "maximum performance" one. Supermicro and AMD hosts are still missing, so if you run one, the setting name and whether it needed a reboot would help.

      posted in Compute
      poddingueP
      poddingue
    • RE: Missing vdi which is a base for a delta

      Thanks, an empty folder on the Synology changes things. There's nothing on the target to delete, so at least for this VM the target can't be the side missing a piece. I had it the wrong way round on the 20th. 🤦

      Going back to the code, when the target has nothing, the mirror queues every backup Ark holds for that VM, oldest first and per source job. It only stops with this error when one of them is a delta whose parent isn't on the target.
      With nothing there, that would mean the oldest backup on Ark for 7da38127 is itself a delta with no key behind it, which sounds like the keyless chains you found on the 18th. 🤔

      Could you check in the restore view whether the oldest Ark backup of that VM shows a key tag, job by job, since you have several delta jobs feeding Ark?
      The mirror page in the docs assumes the chain on the source starts with a key (https://docs.xen-orchestra.com/backups-and-dr/backup-types/mirror_backup#synchronizing-algorithm-for-incremental-backups), and I don't know yet how Ark ends up with a chain that doesn't, so my reading of the code could still be off.

      posted in Backup
      poddingueP
      poddingue
    • RE: Host time and XOA time are not consistent with each other

      No worries about the screenshots: both commands print plain text, so you can paste the output straight into a code block (three backticks on the line before and after) and no link is needed. 🤷

      On the host, chronyc sources should show one line starting with ^*, which is the server it actually syncs from; if none starts with ^*, I think the host isn't synced at all.

      On the XO VM, timedatectl has a System clock synchronized: line that should say yes. If it's XOA, it uses systemd-timesyncd and you can change its servers with xoa network ntp, as described here: https://docs.xen-orchestra.com/getting-started/configuration#setting-a-custom-ntp-server .

      @DustinB's idea of pointing the hosts and every VM at the same internal NTP server is the cleaner fix in the long run, but I'd still like to see the two outputs to understand why it only shows up after a reboot.

      posted in Xen Orchestra
      poddingueP
      poddingue
    • RE: Create VM with XO Lite GUI

      Welcome! 👋

      As @ph7 and @acebmxer said, the New VM button is at the top right once you select the pool (it's in @acebmxer's screenshot). If it isn't there for you, updating the host is the next step, as he suggested.

      Since your server has to stay offline, though, I think yum update will only work against a local mirror of the XCP-ng repositories. The updates page says the dom0 needs either internet access or a local mirror, with the baseurl lines in /etc/yum.repos.d/xcp-ng.repo pointed at it (https://docs.xcp-ng.org/management/updates/).

      I haven't set up a mirror like that myself, so others here may know a simpler way for a single offline host.

      posted in XO Lite
      poddingueP
      poddingue
    • RE: Google Chat/ Google Groups Transport Plugin

      Looking through the repo, I don't see a Google Chat transport today, only email, XMPP, Slack/Mattermost, Nagios and Icinga 2, plus the web-hooks plugin. 🤷

      For Google Groups I'd guess you don't need a plugin at all: a group is a mailing list, so putting its address in the backup-reports recipients with transport-email set up should work, though I haven't tried it and the group has to accept mail from outside senders.

      Chat is harder. transport-slack sends Slack-specific fields like channel with the text, so I wouldn't count on a Chat webhook accepting them. The web-hooks plugin doesn't help much either, since it sends raw JSON rather than a formatted message (https://docs.xen-orchestra.com/backups-and-dr/backup_reports#web-hooks).

      If a native Chat transport matters to you, it could be worth posting it on https://feedback.vates.tech so others can vote on it. Someone here may already relay that JSON into Chat with a small script, you never know...

      posted in Xen Orchestra
      poddingueP
      poddingue
    • RE: Host time and XOA time are not consistent with each other

      @tjkreidl has it right, I think: the host and the XO VM each keep their own clock, so both of them need a working NTP source. The page he means is probably this one: https://docs.xcp-ng.org/management/hosts-pools#time-synchronization-ntp.
      There are two older threads with this warning, and in both it seems to have come down to one side not reaching any NTP server, once because NTP was never set on the host (https://xcp-ng.org/forum/post/86396) and once because DNS broke after an update (https://xcp-ng.org/forum/post/97429).

      Could you run chronyc sources on the host and timedatectl on the XO VM right after a reboot, and tell us whether you're on XOA or XO built from sources? Olivier mentioned in one of those threads that XOA comes with an NTP client while a from-sources install leaves that part to you, but I'm not sure that alone explains why it shows up after every reboot.

      posted in Xen Orchestra
      poddingueP
      poddingue
    • RE: Missing vdi which is a base for a delta

      @blueh2o I think the two things you saw fit together, at least going by what I see in the mirror code. The 1 differencing tag only says that this one backup's disk is a delta, which is normal for an incremental; the key sits further back in the chain, which I think is why the health check could still rebuild the whole ~280 GiB disk.
      And as I wrote a few posts up, the mirror reads the parent of each delta on Ark and then asks each target whether it already has it, so last night's error would mean the Synology is missing d08f1acc for that one VM (fb7fca7d), not that Ark is broken.
      That brings us back to Florent's suggestion from the older thread, deleting that VM's most recent backups on the Synology so they get sent again, though I can't tell you why the Synology lost that base in the first place. At least it's down to one VM out of 56 last night, against 16 in October.

      posted in Backup
      poddingueP
      poddingue
    • RE: Backups in OX v6

      @flakpyro from your screenshot and a look at the code, I think the VM name is already stored on each of those "backup VM" tasks, but the XO 6 task list just shows the generic label instead, so it might be a small change rather than a big missing piece (I haven't checked whether the side panel shows it).
      It could be worth its own post on feedback.vates.tech so it gets votes.
      The closest one I found is about the job's detail panel rather than the task list: https://feedback.vates.tech/posts/60/xo6-backup-summary-is-a-stacked-jumbled-and-cryptic

      posted in Backup
      poddingueP
      poddingue
    • RE: iscsi shows "No Storage Repositories Detected"

      From your discovery output, the target still seems to be there, which is a good start. The docs have a section for the SR part: https://docs.xcp-ng.org/storage/manage-srs#reattach-a-forgotten-sr (with xe sr-probe just below it to find the IQN and LUN, though I haven't tried it on iSCSI myself).
      Before you go further, though, there's something Olivier explained in a similar thread: the VM definitions (name, CPU, RAM, which disks) live in the host's database, not on the SR, so after a reinstall the disks can come back, but the VMs as they were only return with a metadata backup; otherwise it means recreating them and attaching the disks (https://xcp-ng.org/forum/post/93504).
      Did you have an XCP-ng metadata backup job in XO, or one from the host console? Also, from what I read in the LVM storage driver, creating a new SR on that LUN would wipe it, so I'd be careful not to click through anything that offers to create one. Your post got cut off at "Other things d", could you tell us what else you tried?
      @Team-Storage, could someone check I haven't steered okynnor wrong here?

      posted in Compute
      poddingueP
      poddingue
    • RE: [XO6] Bug: Working in multiple XO6 in tabs, breaks the "eye"-sidebar

      I tried your steps on a lab XOA running 6.10, and I could reproduce it, but only once I had unpinned the side panel. With the panel pinned (the pin button at the top of the panel), switching tabs left it alone in my test, so that might do as a workaround for now.
      Did you unpin it at some point, or is your browser window on the narrow side? From a quick look at the code, I think the open or closed state of that panel is kept in the browser's local storage, which all tabs of the same site share, so one tab closing it closes it for the others, though I may be misreading it. You have the steps written down already, so I'd pass them to @Team-XO-Frontend; whether it's meant to work that way is their call, not mine.

      posted in Xen Orchestra
      poddingueP
      poddingue