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

    poddingue

    @poddingue

    Vates 🪐
    83
    Reputation
    74
    Profile views
    251
    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: Veeam and XO backup CBT. How to avoid conflict?

      @zorro So with purge off, Veeam stayed clean for a few nights, which fits what I saw in the lab test.
      If I read the docs right, the cost is that XO's reference snapshot keeps its data on the SR again, which you'd notice more on thick-provisioned storage: https://docs.xen-orchestra.com/backups-and-dr/backup-types/incremental_backups#purge-snapshot-data-cbt.
      Storage hasn't said yet whether purge breaking another tool's chain is expected, so I'd still call this a workaround rather than the answer.

      If a CBT warning comes back when you add the other VMs, the Veeam task id and the time would probably help them. And keeping both makes sense to me, since Veeam doesn't do the cross-site replication you need XO for.

      posted in Backup
      poddingueP
      poddingue
    • RE: Bulk "Disconnect from all hosts" action does not work for selected Storage Repositories

      I had a look at the XO5 code. If I'm reading it right, the bulk action hands the list of SRs to Promise.all together with the function that should disconnect each one, but Promise.all only takes the list, so the disconnect calls never go out.
      The single-SR action calls the API directly, which would explain why doing it from each SR's page works.
      The bulk "Reconnect to all hosts" looks like it's written the same way, if you feel like checking it.
      Until it's fixed, one SR at a time is the only workaround I know of.
      Might be worth a mention to @Team-XO-Frontend, they'll know better than me if there's more to it.

      posted in Management
      poddingueP
      poddingue
    • RE: [XO5] Small UI inconsitency in Backup restore - Missing "Refresh backup list" when in Metadata-section

      Thanks @jr-m4, reporting the small ones is useful too. 👍

      From what I can see in the code, the VM view of the restore page has that refresh button and the Metadata view only has a link back, so I think your screenshots show a real gap and not a glitch on your side.
      I honestly don't know whether XO 5 still takes this kind of small UI fix now that most of the work goes into XO 6, so I'll leave that to @Team-XO-Frontend to decide.

      posted in Backup
      poddingueP
      poddingue
    • RE: Veeam and XO backup CBT. How to avoid conflict?

      @zorro I tried to reproduce this on a small lab host with plain xe commands on XCP-ng 8.3, not with XO and Veeam themselves.
      I think your read is right: both tools end up on the same CBT chain. When a newer snapshot sitting between Veeam's reference and the live disk has had its data purged and is then deleted, the changed-block query from the older snapshot fails with exactly your SR_BACKEND_FAILURE_460 ... Source and target VDI are unrelated, and if I read XO's code right, that purge-then-delete is what the "Purge snapshot data" option does on each run. When that middle snapshot is a normal one, deleting it doesn't break anything in my test. So turning purge off might well avoid it (I think XO then keeps a full snapshot on the host instead), but please treat that as a lead rather than an answer. @Team-Storage will know whether that's expected; until then @acebmxer's one-tool-per-VM advice is the safe one.

      posted in Backup
      poddingueP
      poddingue
    • RE: XOA Unable to connect xo server every 30s

      Thanks @cocoon, and I owe a correction: when I said in https://xcp-ng.org/forum/post/104865 that 6.4 would make these alerts disappear for good, I overstated it. 🤦

      If I'm reading the code right this time, the XO server sends a ping every 30 seconds stamped with its own clock (https://github.com/vatesfr/xen-orchestra/blob/master/@xen-orchestra/rest-api/src/events/event.class.mts), and the browser compares that stamp with its own clock and shows the banner once the gap passes 40 seconds (https://github.com/vatesfr/xen-orchestra/blob/master/@xen-orchestra/web-core/lib/packages/remote-resource/sse.store.ts).

      So https://github.com/vatesfr/xen-orchestra/pull/9681 widened the margin from 32 to 40 seconds, but a browser whose clock runs ahead of the XO server by more than about 10 seconds would still see it. 🤷

      That might be why @GregBinSD saw it on the Windows PC and not on the tablet, though that's only a guess on my part. Comparing two different clocks looks fragile to me, but @Team-XO-Frontend will know far better than I do whether there's a reason it's done that way.

      posted in Xen Orchestra
      poddingueP
      poddingue
    • RE: Incremental Backup Question

      Hi, @Velocity1192 . 👋

      On v6 first: creating and editing backup jobs still happens in XO 5 for now, XO 6 shows the jobs but doesn't create them yet (https://docs.xen-orchestra.com/backups-and-dr/backups-in-xo6). 🤷

      For the schedule, @abudef asked almost the same question earlier this year. @Pilow's answer there is clearer than anything I'd write: https://xcp-ng.org/forum/post/104108.
      As I read it, you either use one daily schedule plus the "Full backup interval" setting (the full lands N runs after the chain starts), or two schedules on the same job with "Force full backup" ticked on the Sunday one.
      That second way is how you get to pick the day, and he says not to mix the two. One thing to expect, from @Danp in another thread (https://xcp-ng.org/forum/post/91943) : the oldest backup is always a full and old deltas get merged into it, so for a while you'll see two fulls on the remote rather than weeks 1 and 2 being deleted. I don't think the scheduler can say "every other Sunday". I might be wrong there; someone who runs this kind of plan may know a trick.

      posted in Backup
      poddingueP
      poddingue
    • RE: Node.js October 21, 2026 Security Releases

      @acebmxer I haven't run your script, so I can't vouch for the log lines, but the systemctl status check looks like the safer of the two to me. It shows the binary the service is really running. Whichever node comes first in your shell can be a different one if more than one Node is installed. For XOA I'd go with what @Danp said above.

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

      @blueh2o thanks for the log. In that run 16 of the 56 VMs failed this way, and each one names a different missing base, so it doesn't look like one damaged chain to me.
      That's past what I can work out on my own, so @Team-XO-Backend, this one has a version and a full job log attached above now if someone can take a look.

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

      The same error came up last year (https://xcp-ng.org/forum/topic/11086/how-do-i-diagnose-a-missing-vdi-error-with-mirror-backups), and @florent's advice there was to delete the most recent backups of the failing VM on the mirror target, so they get transferred again from the source.

      You already wiped the target and it came back, so I suspect yours is a different case, but I don't know the mirror code well enough to say why.
      The XO version and the job log @acebmxer asked for would narrow it down, and with those it might be one for @Team-XO-Backend.

      posted in Backup
      poddingueP
      poddingue
    • RE: Incremental backup fails on a 3 TB qcow2 disk: value is out of range ... <= 4294967295 in computeVhdBatAndFileSize

      Good to hear block mode did it. 🎉

      If I'm reading XO's troubleshooting page right, that 5-minute wait is a setting you can raise: httpInactivityTimeout under [xapiOptions] in a file like /etc/xo-server/config.httpInactivityTimeout.toml, then a restart of xo-server (https://docs.xen-orchestra.com/backups-and-dr/backup_troubleshooting#error-http-connection-has-timed-out).
      That path is the XOA one, and I don't know where the ronivay installer keeps its config, so check that first. The page calls it a workaround and says the slow host is the real thing to look at, which could fit your SMR-disk theory, but I haven't tried anything close to a 3 TB qcow2 delta myself.

      For the close() error, unless I'm misreading the code, XO closes the source after the failed start and only logs a warning before falling back to a full, so I'd guess it's noise from the timeout and not a second bug. 🤷

      The stuck tapdisks look more like one for @Team-Storage, and I don't know if a keep-alive during the delta computation is planned.

      posted in Backup
      poddingueP
      poddingue