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]
  • Xen Orchestra VM freezes after first login

    12
    0 Votes
    12 Posts
    14k Views
    olivierlambertO
    Or just follow the official documentation… https://xen-orchestra.com/docs/from_the_sources.html
  • XOA Error when installing

    Solved
    107
    1
    0 Votes
    107 Posts
    76k Views
    G
    I did the manual installation via the XVA. It worked for me.
  • Nag-Screens

    30
    0 Votes
    30 Posts
    15k Views
    olivierlambertO
    Thanks for the suggestion, but don't you think we never thought to that before? I start to think you are considering us as 2 people in a garage. We are crunching numbers on a regular basis, and it never computes with those models. Proxmox is here since a long time, with a strong and "large" use base allowing to use this model. This is not the case for us now. So on short term, this is not doable. But be assured we are continuously working on testing various models to see what's the best fit.
  • XOA Backup/Restore Screen - enhancement suggestions

    2
    2 Votes
    2 Posts
    984 Views
    olivierlambertO
    You should use GitHub and create an issue. This will be taken into account for XO 6 web UI
  • Question about live migration and a few others...

    3
    0 Votes
    3 Posts
    2k Views
    B
    @rkelley You nailed it for item 2. Was driving me crazy! Ok, that does make sense for item #1 and was kinda what I was thinking. But it does lead one to believe you can't live migrate anything with a single host even if you have shared/remote storage available unless you poke around and experiment with different buttons like i did.
  • Get an 'Disconnected' Information under the 'XOA' Icon

    3
    1
    0 Votes
    3 Posts
    1k Views
    DanpD
    That's "normal" if you are running XO (from the sources) and not XOA (the pre-built appliance)
  • Install Plugins XO from sources

    4
    0 Votes
    4 Posts
    2k Views
    F
    @Danp Thanks for pointing me in the right direction. I was following an older howto where --global was not specified. That was my first problem - now fixed! Second problem was that I had installed into the root directory of Centos7 so the paths for creating the links were different. Once I had found the correct paths and created the links all was good. Thanks again. Frank.
  • Tasks Page: Hard to read / Hard to use

    3
    0 Votes
    3 Posts
    1k Views
    D
    @fx991 the SR scans can and have been helpful in detecting storage issues for me. Sometimes when my ISO library goes offline but XCP-ng has not detected the failure and still shows it as connected I usually notice it from the long running SR scans that get stuck. The "Connection to VM console..." task is when you have a console window open to a VM or Host...hence the reason why you can't cancel/end it...if you want to get rid of it then close all open console windows
  • Missing SMLog file on XCP-NG 8.0 /var/log directory

    1
    2
    0 Votes
    1 Posts
    784 Views
    No one has replied
  • multiple network cards in VM

    12
    1
    0 Votes
    12 Posts
    4k Views
    pdoniasP
    I already opened one: https://github.com/vatesfr/xen-orchestra/issues/4882.
  • Jobs not running error: no value for `user_ip`

    7
    0 Votes
    7 Posts
    2k Views
    C
    I can already confirm that I could trigger 2 Jobs manually in XO and it run successfully. Thanks! The scheduled ones I will see tomorrow and report if it would fail, but it is not expected.
  • Change boot order

    Solved
    3
    0 Votes
    3 Posts
    3k Views
    ForzaF
    Thanks! Found it.
  • host.call_plugin Running

    6
    0 Votes
    6 Posts
    2k Views
    olivierlambertO
    It could, I don't know what XCP-ng Center can do in details. But again, this is NOT a problem. I said it 3 times, why do you think it's still related to your coalesce problems?
  • XOA VM creation with static memory

    2
    0 Votes
    2 Posts
    1k Views
    olivierlambertO
    It's the default parameter of your template. XCP-ng Center is probably forcing fixed memory, XO is just doing template recommendation. You can change values at creation in "Advanced" section.
  • first attemp with XOCE

    12
    0 Votes
    12 Posts
    3k Views
    olivierlambertO
    Exactly like how it's displayed in the documentation.
  • Backup Interupted

    3
    0 Votes
    3 Posts
    882 Views
    olivierlambertO
    Try to switch to NFS and report if you have the same issue.
  • Building Xen Orchestra from Source: FreeBSD xo-web:build _ Error: null

    Solved
    3
    0 Votes
    3 Posts
    1k Views
    P
    @Danp As soon as I read that, I thought "I think I've been down this road before." Sure enough. I gave it 2G of RAM and it wouldn't build. I gave it 4G of RAM and I watched using systat and that final step went to about 52% of RAM usage. It has completed. I routinely run Xen Orchestra on a 1G VM because it's rarely used and it runs fine that way. But building it clearly takes a lot more RAM. I'll update my internal notes. It might be worth it to update the building from source docs to mention having enough RAM. Thanks for hitting the nail on the head with that advice!
  • Backup jobs run twice after upgrade to 5.76.2

    35
    0 Votes
    35 Posts
    15k Views
    olivierlambertO
    XOA got its own numbering, unrelated to xo-server or xo-web: it'a all a matter of a coherent "whole", including dependencies etc. Thing we can't provide when built on sources. Please test and report You can switch to latest too, doesn't matter.
  • XO from source: webui lockout recover-account not working

    8
    0 Votes
    8 Posts
    3k Views
    G
    Hi Julien, i already did that. localadmin is the user i also use for the xo-server. did not elaborate that further on a test system.
  • HUB Templates

    Solved
    29
    0 Votes
    29 Posts
    23k Views
    luiscamaralL
    @luiscamaral Let me reply to myself. If you update xoa it will show user and password as in bellow description: Template for Alpine Linux 3.10, with 'root' username and 'xohub' password, DHCP enabled