• VM autostart stopped working

    Unsolved XCP-ng
    7
    0 Votes
    7 Posts
    241 Views
    poddingueP
    The bit that makes it read backwards is that the delay runs after the start, not before it. In the XAPI code the VM is booted and then the call just sits there for start-delay seconds before returning, so the one you set it on is already up. What waits is whatever was going to happen next. Which is why it belongs to vApps rather than to autostart. An appliance groups VMs, and order decides which group goes first. The blocking start is what creates the gap between them (https://docs.xcp-ng.org/vms/vm-lifecycle#vapps). Autostart on its own has no ordering at all, so you are not missing something obvious there. What I cannot tell you yet is whether an appliance gets started on a host reboot at all, or only when you run appliance-start yourself. I would rather try that on a test host than guess, so let me come back to you on it. Meanwhile there is an open request for your exact case, a VM that should wait for another VM: https://github.com/vatesfr/xen-orchestra/issues/8433. Your NAS and seedbox example would be worth adding to it.
  • v6 UI VDI's not being shown all the time.

    Solved Xen Orchestra
    6
    3
    0 Votes
    6 Posts
    341 Views
    poddingueP
    @acebmxer No problem, that's excellent news, thanks for the feedback!
  • VDI migration SR selection broken?

    Xen Orchestra
    2
    0 Votes
    2 Posts
    14 Views
    J
    I forgot to mention: XOA Premium Current version: 6.6.2 (stable channel)
  • is Xo Proxy available in community version

    Xen Orchestra
    10
    0 Votes
    10 Posts
    3k Views
    acebmxerA
    @bogdantomasciuc Hello, Yes my script does offer to install xo-proxy and handles some of the licensing issues. You may give my script a try and let me know if you having any further issues i can try to work them out. I advise setting up a new vm for XO as the two script are not compatible that i am aware of. https://xcp-ng.org/forum/topic/11895/install-xo-from-sources. https://github.com/acebmxer/install_xen_orchestra/
  • [PACKER] soucis avec cd_files

    French (Français)
    17
    1 Votes
    17 Posts
    432 Views
    AtaxyaNetworkA
    Déja une piste intéressante, on dirait que pour une raison quelconque l'iso est mount deux fois [image: 1786437651889-14d66748-1d54-411a-b62a-a3691d6decd9-image.jpeg]
  • 0 Votes
    27 Posts
    3k Views
    poddingueP
    The July updates batch that went out on 28 July carries xapi-26.1.11-1.3.xcpng8.3, and @kagbasi-wgsdac has since confirmed on https://github.com/xcp-ng/xcp/issues/825 that three days after patching his disks are all visible again and reverting a snapshot no longer duplicates VDIs. The blog entry for that batch names the fix as non-snapshotted VBDs staying attached after VM.revert, a regression from xapi-26.1.4-3.3: https://xcp-ng.org/blog/2026/07/28/july-2026-updates-1-for-xcp-ng-8-3-lts/. Host reboots are needed. That stops new damage, but it does not unstamp VDIs that were already hit, so if disks are still hidden after you patch you probably still want the repair script at https://xcp-ng.org/forum/post/105564. My post above also had the mechanism wrong, and @kagbasi-wgsdac corrected it: the field being wrongly written is snapshot-of on base disks, not is-a-snapshot. If anyone is still watching disks disappear on a fully updated pool, please say so here, because that would be something new rather than the tail of this one.
  • 1 Votes
    7 Posts
    472 Views
    poddingueP
    XO 6.7.0 went out on 30 July, and the changelog carries Bastien's fix under Backups as "Fix failed status on successful retry", pointing at PR https://github.com/vatesfr/xen-orchestra/pull/10129 and back at this thread: https://xen-orchestra.com/blog/xen-orchestra-6-7/. Given what you said about keeping the backup XOA on a version you trust, I would not rush it, but that is the version to look for when you do move. I have not exercised the retry path myself, so if a retried VM still reports the job as failed after you upgrade, it is worth saying so here.
  • XCP-ng 8.3 updates announcements and testing

    Pinned News
    631
    1 Votes
    631 Posts
    492k Views
    A
    @bleader XOA 6.7 premium (updated last friday - latest channel), as all updates on XCP-ng 8.3 from latests available updates on same day (not testing, ci or other repos)
  • 0 Votes
    89 Posts
    8k Views
    G
    @christopher-petzel Great news! I will test and report after it is available in a global update. Thank you Christopher.
  • PCIe Pass-through lanes and lane performance

    Unsolved Compute
    44
    0 Votes
    44 Posts
    5k Views
    pandusenP
    @andriy.sultanov @andriy.sultanov said: @pandusen As Teddy said above, you can't passthrough a PCI bridge, so there's no PCI devices xapi shouldn't omit here. I am not trying to pass through the bridge only the end points. The Intel arc's have 2 end points: The GPU and the Sound device. "xe pci-list" only reveals the GPU, not the sound device. (this works for nvidia and AMD) But "going the xen-cmdline way" shouldn't break anything, that's what xe pci-disable-dom0-access does behind the scenes. What issues did you see? Which steps did you follow? the sound device is available in the lspci list and can be passed through using CLI. But doing so, (using CLI for passtrough) undoes everything done using xe or the passthrough gui in XO. and results in this: https://xcp-ng.org/forum/topic/10609/xcp-ng-8.3-pci-passthrough-issue so yes, its does break something.
  • Smart Reboot blocked in XO, and no Rolling Pool Update

    Unsolved XCP-ng
    3
    0 Votes
    3 Posts
    91 Views
    AtaxyaNetworkA
    @djingo Hi ! Does all your VMs have guest tools ?
  • Backup failures with odd connection refused errors

    Unsolved Backup
    2
    0 Votes
    2 Posts
    79 Views
    poddingueP
    From the log you attached, the failure is on session.login_with_password, and XO tries ::1:443 and then 127.0.0.1:443. So it is XO trying to reach a host, not your remote, and whatever address it holds for that host is resolving to loopback. You rebuilt one of the three nodes and you moved XO into Docker, so my guess is the host came back into the pool with a hostname instead of an IP, and that name does not resolve inside the container the way it did for the script install. It would fit the rest too: migration goes host to host over the management address, copying does not, which is why one works and the other doesn't. Could you paste the output of xe host-list params=uuid,name-label,address? I am guessing here, and @Team-XAPI-Network will know much better than me whether resetting that address is the right move.
  • Error mirroring full backups to backblaze b2

    Unsolved Backup
    28
    2
    0 Votes
    28 Posts
    3k Views
    P
    @pierrebrunet Hi! I'm on vacation now, so sorry for the delay. In the meantime I've been analyzing these issues and it seems these are somewhat expected and still happen with minpartsize set to 100M. My next step is to increase the AWS_MAX_ATTEMPTS from the default 3 attempts to 10. This might reduce the number of failed VMs and avoid the need to retry the full VM backup. From AI research, it seems rclone uses 10 attempts instead of the AWS SDK default. Here are some stats of my weekly full backup to B2: "00 Weekly Full Backblaze" ran xxxx → xxxxx — 34.1 hours total, moving ~2.86 TiB across 89 VMs. Final status: failure (more on that below, because it's misleading) -> this is related to XO reporting the backup as a failure even though the follow up retry succeded which is a known issue. Every one of the 7 first-attempt errors shows attempts: 3 in the SDK metadata — the default budget was exhausted in all cases -> 7 of 89 VMs failed on the initial attempt. Error mix: 5× Backblaze InternalError 500, 1× ECONNRESET, 1× EPIPE The 7 failed first attempts burned ~7.1 hours of cumulative transfer time Even though XO does not expose AWS_MAX_ATTEMPTS parameter I might be able to set it using an environment variable. I'll give a try when I'm back at the office. Tks, Pedro
  • Native Ceph RBD SM driver for XCP-ng

    Development
    20
    3 Votes
    20 Posts
    5k Views
    Maelstrom96M
    @benapetr Good news, seems like the latest version for SM will implement vdi_revert which should work nicely with Ceph RBD. The only thing now is to have the newer Ceph kernel drivers in XCP-ng since the current driver is very old... (v12 I believe, we're now at v20, soon v22)
  • CBT: the thread to centralize your feedback

    Pinned Backup
    456
    1 Votes
    456 Posts
    812k Views
    G
    Hello, Just a feedback. I am having trouble using CBT Backups with NBD. Host Details: XCP-NG Version : 8.3 latest (stable) Xen Orchestra: latest:stable (From Source) The first full backup always seems to work. The delta backup gives the error: 'HANDLE_INVALID' the writer IncrementalXapiWriter has failed the step writer.checkBaseVdis() with error HANDLE_INVALID(VBD, OpaqueRef:xxxxx). It won't be used anymore in this job execution. Start: 2026-08-09 14:01 End: 2026-08-09 14:01 Duration: a few seconds Error: HANDLE_INVALID(VBD, OpaqueRef:xxxxxx) This is a XenServer/XCP-ng error
  • 0 Votes
    3 Posts
    56 Views
    olivierlambertO
    No problem, this is always good to have feedback and cases showing an error and the explanation
  • Existing AD Users Cannot Login to XOCE but New Users Can

    Solved Xen Orchestra
    19
    0 Votes
    19 Posts
    4k Views
    K
    RESOLVED — root cause found, three years later. Leaving a full write-up for anyone who lands here from a search. Short version: this was never an XO bug, and it was never intermittent. The answer was sitting in the very first test-cli.js output I posted back in May 2023, and I misread it — as did everyone else in this thread, myself very much included. The line that mattered failed to bind as CN=Agbasi\, Kismet,...: 80090308: LdapErr: DSID-0C090434, comment: AcceptSecurityContext error, data 569, v4f7c We all pattern-matched AcceptSecurityContext error to "bad credentials" and moved on. But the meaning is entirely carried by the data field, which is the underlying Win32 status in hex: data 52e = 0x52E = 1326 = ERROR_LOGON_FAILURE — this is the "wrong password" one data 525 = 1317 = ERROR_NO_SUCH_USER data 532 = 1330 = password expired data 775 = 1909 = account locked out data 569 = 0x569 = 1385 = ERROR_LOGON_TYPE_NOT_GRANTED I was getting 569, not 52e. My password was correct all along. AD validated it, then refused the logon type. Why that happens xo-server-auth-ldap verifies a password the only way LDAP allows — it re-binds to the directory as the user. Against Active Directory, an LDAP simple bind to a DC is processed as a Type 3 (network) logon on that DC. So if an account is caught by "Deny access to this computer from the network" (SeDenyNetworkLogonRight) in the Default Domain Controllers Policy (or any other WINNING GPO, for that matter), it cannot complete an LDAP bind — no matter how correct the password is, and no matter which LDAP client is asking. My environment uses a tiered admin model. Non-domain-admin admin groups are explicitly denied network logon to the DCs. My admin account is in those groups. Hence 569, every single time, by design. Why it looked intermittent It wasn't. I sampled it either side of a config change. I could prove a bind had succeeded recently, because my LDAP-only XO account (no local password on the record at all) minted an API token on 28 July. Then on 31 July I restored RBAC settings on the Default Domain Controllers Policy that had drifted at some point — I found that during unrelated PKI work. GptTmpl.inf last-write confirms it. The token's last successful use is about eleven hours before that edit. Two deterministic states, one config change in the middle. That's the whole "intermittency." My 2023 "seven security groups" theory was wrong For the record, since it's still up there and someone will find it: I removed group memberships one at a time until auth worked, and concluded there was a membership count limit. There isn't. My own control test disproved it at the time — adding fifteen groups never reproduced the failure — and I should have taken that seriously instead of filing it under "weird." The variable was never the count. It was which group. One of the removals happened to drop the account out of a denied group. My other closing theory in this thread — special-character handling in the username or password — was also wrong. Getting 569 back proves AD parsed the escaped DN (CN=Agbasi\, Kismet), found the object, and got as far as evaluating the password. A mangled DN gives you 525 or a DN syntax error, not a logon-rights rejection. ldapts and passport were behaving correctly throughout. How to check this in 60 seconds Run the plugin test CLI and note the data value. Convert hex → decimal, look it up in Microsoft's System Error Codes list. On the DC, look for Security event 4625 with Sub Status 0xC000015B (STATUS_LOGON_TYPE_NOT_GRANTED). Fastest test of all — from a workstation, as the affected account: net use \\dc01\sysvol. If network logon to the DC is denied, this fails too, and you've confirmed it without touching XO at all. Check the policy directly: $p = "\\mydomain.net\SYSVOL\mydomain.net\Policies\{6AC1786C-016F-11D2-945F-00C04fB984F9}" + "\Machine\Microsoft\Windows NT\SecEdit\GptTmpl.inf" Select-String -Path $p -Pattern "SeDenyNetworkLogonRight|SeNetworkLogonRight" Resolve the SIDs and see whether your user is in any of the denied groups. Also worth checking your grant side: if Access this computer from the network doesn't list Authenticated Users directly, ordinary users are probably getting it transitively via Pre-Windows 2000 Compatible Access. Worth confirming before you assume a plain non-privileged account will work. What I am NOT doing Removing those groups from the deny right. It's doing exactly what I rebuilt it to do. Restoring an app login by handing admin groups network access to the DCs for SMB/RPC/LDAP is a bad trade, and I'd just be undoing my own remediation. Fix Interim: local XO accounts for the admins who need them. No AD objects created, nothing to unwind later, per-user attribution preserved in the audit log. Long term: federate XO through Keycloak (OIDC) instead of LDAP. Kerberos ticket issuance is a KDC service operation and is not gated by SeNetworkLogonRight — which is exactly why these accounts log into workstations all day while failing an LDAP bind. ️ Important if you go the Keycloak route: Keycloak's LDAP user federation validates passwords by doing an LDAP bind. Configure it that way and you'll hit data 569 inside Keycloak instead of inside XO and gain nothing. Password validation has to be delegated to Kerberos/GSSAPI. This will bite you on anything else you point at LDAP too — Bitwarden, NPM, TrueNAS, the lot. Worth solving once at the IdP. One request for Vates @olivierlambert @julien-f — you were right that it was environmental, and I owe you both thanks for the time you put in back in 2023. That said, there's a real (small) improvement available here. xo-server collapses every auth provider exception into a generic invalid credentials, and the plugin only emits the actual AD error at DEBUG. The DC told us precisely what was wrong on the very first attempt — it just never reached anywhere a user would look. Surfacing the LDAP result code and the AD data sub-code at INFO on failure, and in the plugin test output in the UI, would turn this class of problem from a multi-year hunt into a single-session diagnosis. Happy to open an issue on GitHub with the full reproduction if that's useful. Hope this saves someone else three years. If you found this thread by searching data 569, *ERROR_LOGON_TYPE_NOT_GRANTED**, or "LDAP invalid credentials but password is correct" — check your Deny access to this computer from the network user right first. That's almost certainly it.
  • 0 Votes
    5 Posts
    135 Views
    M
    Hard reboot sorted itself out
  • XOA Updater fails

    Unsolved Xen Orchestra
    4
    0 Votes
    4 Posts
    564 Views
    andibingA
    @john.c said: nd need to be cleared, before re-attempting the update. Checking the logs will help Just for completeness... it kept doing this after all the typical diagnosis steps. So never found a solution Definitely wasn't cache or disc space related. In the end I built the XOA from source on the same VM and that worked fine. Although subsequent to that I've moved XOA to the containerised version thus saving an extra VM!.
  • XCP-ng Windows PV tools announcements

    Moved News
    94
    0 Votes
    94 Posts
    30k Views
    C
    @dinhngtu Fantastic - thank you for thinking of and including that!