Subcategories

  • VMs, hosts, pools, networks and all other usual management tasks.

    498 Topics
    4k Posts
    F
    Looks like we ended up with a corrupt duplicate install in the MSI installer database. After some googling and learning how the installer determines the currently installed version from the tools github page i was able to come up with a command to check what version windows thought was installed, i noticed on working installs no error was output however on broken servers the command would end with an error. PS C:\xcpng-winpv-9.2.445.0-Release-x64\xcpng-winpv-9.2.445.0-Release-x64\package> $Installer.ProductsEx("", "", 7) | ForEach-Object { [PSCustomObject]@{ ProductName = $_.InstallProperty("ProductName") ProductVersion = $_.InstallProperty("VersionString") ProductCode = $_.ProductCode() } } | Where-Object { $_.ProductName -like "*XCP-ng*" } ProductName ProductVersion ProductCode ----------- -------------- ----------- XCP-ng Windows Guest Tools 9.2.385.0 {A9CDEFA1-AB19-426F-8065-64331E634A62} InstallProperty At line:2 char:5 + [PSCustomObject]@{ + ~~~~~~~~~~~~~~~~~~ + CategoryInfo : OperationStopped: (:) [], COMException + FullyQualifiedErrorId : System.Runtime.InteropServices.COMException I fed this output to Calude for a bit help and to shed some light on the issue and its solution, it first had me check for duplicate install entries: [image: image.jpeg] After confirming the presence of a unreadable entry it was able to create a powershell script to remove the bad entry. From the LLMs output: This script computes the packed GUID itself (no hand-conversion errors), exports a backup of each key, and does a dry run by default so you can see what it would delete. Run it from an elevated, 64-bit PowerShell. How to use it: Run it as is. It prints the packed GUID (confirm it matches 970CA0A0E00DBC0488B2F1DE377268AA) and lists which keys exist. If the list looks right, set $DryRun = $false and run again. It tries msiexec /x first and only falls back to registry deletion if that fails. Note that on the real run it attempts the msiexec step before any registry work, and the registry section runs even if msiexec fails. Re-run your listing script. Only the 9.2.385.0 row should remain. Caveats: This leaves a few residual references behind, such as entries in ...\Installer\UserData\S-1-5-18\Components and ...\Installer\UpgradeCodes. Windows Installer ignores these once the product keys are gone, so they’re harmless for your purposes. If the bad entry turns out to be a per-user install rather than machine-wide, the keys will live under a user SID instead of S-1-5-18. The “Not present” lines would tell you that. In that case, tell me and I’ll adjust the paths. The backup .reg files let you restore anything with a double-click if something goes wrong. fix_xcptools.txt I am by no means anywhere near an expert in powershell as i spend most of my time on Linux, this all AI generated but it was able to remove the entry and get the installer moving along on VMs where it would no proceed prior.
  • ACLs, Self-service, Cloud-init, Load balancing...

    107 Topics
    877 Posts
    Bastien NolletB
    Hello @ludalm13, Thanks for your contribution and sorry for not giving an answer earlier. We initially planned to review your PR while doing some additional work on the audit plugin, but our planning evolved and that work was postponed. We'll review your PR in the following days.
  • All XO backup features: full and incremental, replication, mirrors...

    549 Topics
    6k Posts
    S
    Hi everyone Here are the logs (anonymized) for one complete backup run. Thanks for taking a look!
  • Everything related to Xen Orchestra's REST API

    89 Topics
    656 Posts
    P
    Hi, This was fixed in Latest. But if you need to stay on Stable, you can open a ticket to have a patch.
  • Terraform, Packer or any tool to do IaC

    54 Topics
    507 Posts
    D
    For anyone else who steps through this, I've also installed the latest xen-guest-agent with the below process. Repeat for each host in the environment, 1 at a time from your Helper VM. ### ssh into your helper ### oc debug node/fedora-cmp-1/2/3 chroot /host cd /var/tmp curl -LO https://gitlab.com/xen-project/xen-guest-agent/-/jobs/6041686376/artifacts/raw/RPMS/x86_64/xen-guest-agent-0.4.0-0.fc37.x86_64.rpm sudo rpm-ostree install /var/tmp/xen-guest-agent-0.4.0-0.fc37.x86_64.rpm mkdir /var/tmp/xga && cd /var/tmp/xga rpm2cpio ../xen-guest-agent-0.4.0-0.fc37.x86_64.rpm | cpio -idmv ### From your helper... DRAIN YOUR WORKERS ### oc adm drain fedora-cmp-1/2/3 --ignore-daemonsets --delete-emptydir-data ### log back into fedora-cmp-1/2/3... ### sudo systemctl reboot ### from helper ### oc adm uncordon fedora-cmp-1/2/3 ### login to fedora-cmp-1/2/3 ### chroot /host sudo systemctl enable --now xen-guest-agent And then from XO this is what your VMs will look like. [image: image.jpeg]
  • Remote Connection Failed.

    5
    0 Votes
    5 Posts
    3k Views
    olivierlambertO
    This means your NFS server doesn't support NFSv3.
  • Zen Orchestra lite

    6
    0 Votes
    6 Posts
    2k Views
    olivierlambertO
    This is not exposed in XAPI, so it might require to write a XAPI plugin.
  • Update script

    Solved
    7
    0 Votes
    7 Posts
    3k Views
    H
    @mrnaz look for the (first) error in your terminal where you execute the script to upgrade. Probably you need to upgrade the yarn or node version.
  • Multiple schedules == different backup sets?

    4
    0 Votes
    4 Posts
    907 Views
    ForzaF
    @mauzilla I've done so that I have two separate backup jobs incremental every 4 hours, with exception on weekends. Retention usually 8 days weekly full backups, zstd compression, every Sunday night. This way we have a separate backup from the incremental chain. We also are able to do more maintenance jobs on the nfs server etc during the off hours on the weekend.
  • Delta backup footer1 !== footer2 error

    Solved
    20
    0 Votes
    20 Posts
    5k Views
    A
    @mrnaz the fixed it in version 5.58.1. So update helped.
  • New Backup setup failures

    11
    1
    0 Votes
    11 Posts
    2k Views
    olivierlambertO
    No worries, just explained how hard it is to support uncontrolled environments Enjoy XO!
  • POOL and hosts dissapeared

    7
    0 Votes
    7 Posts
    3k Views
    DanpD
    @xfen said in POOL and hosts dissapeared: Is it safe to disconnect (remove) the highlighted server and add everything back. Yes
  • This topic is deleted!

    1
    1
    0 Votes
    1 Posts
    8 Views
    No one has replied
  • XOA and recipes

    xoa-recipe
    3
    0 Votes
    3 Posts
    2k Views
    S
    @olivierlambert Thanks, We had been looking at Terraform so I guess we'll keep heading down that path for the time being.
  • XOA json-rpc call basic exemple

    12
    0 Votes
    12 Posts
    7k Views
    mco-systemM
    Hello @mbaron, Your blog helped me to get a better understanding of the different steps involved in jsonrpc. Thank you for sharing your code samples.
  • repost: Backup to cold spare

    Solved
    5
    0 Votes
    5 Posts
    1k Views
    olivierlambertO
    You are welcome @Justin-Goldberg ! Enjoy
  • Questions: Delta backup initial seed

    8
    0 Votes
    8 Posts
    3k Views
    olivierlambertO
    Great!
  • 'yarn build' failure

    19
    1 Votes
    19 Posts
    6k Views
    A
    @julien-f thx for the quick fix. works perfectly now.
  • Backup error: "no writers left"

    6
    0 Votes
    6 Posts
    2k Views
    julien-fJ
    @vmpr Not much, this is a system issue which means that it's either due to your NFS server or to the connection between your XO and the NFS server. First, try to unmount the share and restart xo-server, if it keeps happening, restart the whole machine on which XO is. If that does not help, you should mount the share manually and do some tests directly on it.
  • Backup solutions?

    2
    0 Votes
    2 Posts
    1k Views
    olivierlambertO
    Most users are relying NFS shares. However, we are open to build something for tapes. The problem is: we have no knowledge on that technology nor have any tape system in our lab. If there's enough traction for this, or even sponsored dev to do it, we'll be happy to work on that!
  • What happens when a delta backup fails?

    9
    0 Votes
    9 Posts
    2k Views
    julien-fJ
    @olivierlambert XO does not test the full VHD structure because that would be too long, but does check both the begining and the end of the file (and all other VHDs in the chain) before each backup to make sure the files were not truncated. For full backup we are using a simple heuristic to attempt to validate XVA files, but it's very basic and unfortunately it does not applies to compressed files.
  • 0 Votes
    8 Posts
    5k Views
    D
    @danp Thanks for the tips... Ran the command to do a force rebuild and started up ok now... sudo curl https://raw.githubusercontent.com/Jarli01/xenorchestra_updater/master/xo-update.sh | bash -s -- -f
  • Hourly Error: "fs_usage"

    Solved
    11
    0 Votes
    11 Posts
    4k Views
    M
    Have created an SMB share and shoved them all there - problem seems to have gone away. Thanks for the help!
  • Yarn install error with latest XO github update

    Solved
    7
    0 Votes
    7 Posts
    4k Views
    P
    For the installation of the correct node version for some major Linux distributions please follow the installation instructions in this readme: https://github.com/nodesource/distributions/blob/master/README.md The Ubuntu section worked for me.
  • Backup Strategy

    2
    0 Votes
    2 Posts
    948 Views
    DarkbeldinD
    To change your IP address see doc here