Subcategories

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

    487 Topics
    4k Posts
    C
    Hi all, I need some help regarding HA. I have a 3 node cluster running xcp-ng 8.3 (002 is the master) [13:55 dacshyp002 ~]# xe host-list uuid ( RO) : 6b99f1ab-6f4c-4a8d-b766-d16a8a942bdf name-label ( RW): dacshyp003 name-description ( RW): Default install uuid ( RO) : d99e150c-079a-4092-8909-ad1a36e07dec name-label ( RW): dacshyp001 name-description ( RW): Default install uuid ( RO) : 41a2a448-a5dc-44c6-be44-c07540d75c60 name-label ( RW): dacshyp002 name-description ( RW): Default install Last Thursday I enabled HA on the pool and also on some om the VM's. On Friday I also did an "rolling pool update" Today I had a "spontaneous" reboot of the dacshyp001 and dacshyp003. Boot time of dacshyp001: [Mon Sep 21 11:21:31 2026] Linux version 4.19.0+1 (mockbuild@1efe98ffea2245bcb4c11893890153ac) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-28) (GCC)) #1 SMP Thu Aug 13 13:06:11 UTC 2026 Around that time I also see the following message in the xensource.log: Sep 21 11:21:08 dacshyp002 xapi: [debug||20398 ha_monitor|HA monitor D:7b5068fa6bfc|xapi_ha_vm_failover] Setting host dacshyp001 to dead Sep 21 11:21:28 dacshyp002 xapi: [debug||20398 ha_monitor|HA monitor D:7b5068fa6bfc|xapi_ha_vm_failover] Setting host dacshyp001 to dead Sep 21 11:21:48 dacshyp002 xapi: [debug||20398 ha_monitor|HA monitor D:7b5068fa6bfc|xapi_ha_vm_failover] Setting host dacshyp001 to dead I will attached all logging around this time. I am trying to understand what triggered the reboot and how I can troubleshoot this. I am running XO community commit 6a441 . I am aware this is not the latest version. Before upgrading I want to know the cause of the reboot. Also ignore the error: /var/lib/xcp/xapi|dispatch:VDI.get_by_uuid D:1f5b4c8d329e|backtrace] VDI.get_by_uuid D:9df5c0255224 failed with exception Db_exn.Read_missing_uuid("VDI", "", "9219113f-65e4-4368-b42d-1b8bdc7614a9") I will create another ticket for this. HA-problem.txt Thanks in advance. Carlo
  • ACLs, Self-service, Cloud-init, Load balancing...

    106 Topics
    869 Posts
    T
    @mpiton Thanks for looking into this, I guess it wasn't apparent that I needed to click the Save Configuration button for that plugin. I did that and confirmed that the secret now survives an xo-server restart. Thanks again!
  • All XO backup features: full and incremental, replication, mirrors...

    533 Topics
    6k Posts
    poddingueP
    6.8.2 went out, and it carries florent's proxy patch, so the thing that was stopping you switching channels has cleared. Before you do, though, the 6.8.2 changelog lists exactly one bug fix, the fetch failed proxy one, with xo-server at 5.208.3 and the proxy at 0.31.10, and there's nothing in it about metadata backups or BodyTimeoutError. Your own post above points the same way, since you're seeing the stall on sources at the latest commit, and that commit already has the proxy fix in it. So I'd treat the metadata timeout as a separate bug that 6.8.2 won't touch, and I couldn't find an open issue covering it, though I might well have searched the wrong words. Might be worth a mention to @Team-XO-Backend, mostly so the metadata half doesn't quietly get filed as fixed by 6.8.2.
  • Everything related to Xen Orchestra's REST API

    88 Topics
    654 Posts
    poddingueP
    Pretty cool, @samuelolavo, thanks for clarifying!
  • Terraform, Packer or any tool to do IaC

    52 Topics
    487 Posts
    poddingueP
    You're not blind, and your fingerprint is right. I pulled packer-plugin-xenserver_v0.11.4_SHA256SUMS.sig off the GitHub release and ran gpg --list-packets on it, and it reports issuer fpr v4 0DD2E92A7A0F682BC29F87073084D82948625D89, which is exactly what you pasted. It doesn't match the XCP-ng key because it isn't ours. The plugin our docs point at is ddelnano/packer-plugin-xenserver, maintained outside Vates, so it's signed with the maintainer's key while 34AC2EB6... only signs XCP-ng RPMs. I couldn't find that key published anywhere either. It's not on keys.openpgp.org or keyserver.ubuntu.com, it isn't in the repo, and it isn't among the 11 keys at github.com/ddelnano.gpg. That looks like something worth raising on the plugin's own issue tracker, and you'd file it better than I would since you're the one trying to verify a download. I'd also say our IaC docs could stand to mention the plugin isn't ours, which is what sent you looking at the wrong key in the first place.
  • 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
    6k 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
    2k Views
    olivierlambertO
    Great!
  • 'yarn build' failure

    19
    1 Votes
    19 Posts
    5k 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
    3k 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
    878 Views
    DarkbeldinD
    To change your IP address see doc here
  • Installation form sources missing xo-server module

    7
    0 Votes
    7 Posts
    2k Views
    DanpD
    @julien-f I believe that you already updated the docs, but that occurred after the postings above. You may want to review the section discussing forever-service to be sure it doesn't need modified.
  • restoring META

    7
    0 Votes
    7 Posts
    3k Views
    C
    @s-pam i'd say use them, always use the. Only a few KB of space and could be every handy. We have 3 servers in the pool so overlooked requirement for full pool recovery. (p.s we didn't fail, it's during DR testing it was flagged) we had the backups on already and if this had been a real issue, would have saved a lot of bacon!! turn it on ! (and check you can get it without a running XOA for quicker restore in full meltdown.)
  • Build from source Error

    Solved
    12
    0 Votes
    12 Posts
    2k Views
    olivierlambertO
    Thanks for the report!
  • NTP Settings XOA?

    13
    2
    0 Votes
    13 Posts
    9k Views
    olivierlambertO
    This section has nothing to do with XOA IP address, but useful to restrict some VMs to some IP address. I agree it's unclear. But as I said, for now, there's 0 GUI to configure the system per se. That's why I said it could be an addition sure, but there's nothing yet, so adding it will take some time or efforts, and it's not a priority as we speak (our backlog is already pretty big). But again, as an Open Source project, we are welcoming contributions!
  • 0 Votes
    2 Posts
    544 Views
    olivierlambertO
    To pick a pool: it's up to you to decide, depending on available pool storage capacity, speed. Same for compute and network. It's very very specific to your own needs, there's no universal rules. Host selection for a VM: it's not decided by XO but by XAPI (except if you specifically ask to boot on a host). IIRC, it's a mix of load and memory available, but if you want to dig further, it should be written in the XAPI code somewhere
  • USB Hard drives for VM exports

    13
    0 Votes
    13 Posts
    6k Views
    IndyJI
    @indyj FYI when I ran this test again it worked. this time: I ran it as a "Delta" backup. And then rescanned the removable media. I was then able to restore an individual file from the backup on USB media.
  • creating trunked connections through physical interfaces.

    3
    0 Votes
    3 Posts
    1k Views
    fohdeeshaF
    @garrya Hi, it sounds like you've set up VLAN interfaces correctly on the XCP-ng side, but the switch they are connected to also needs to be aware of VLAN tags to pass them, or else it will only pass untagged traffic as you noticed. You'll need a smart/managed switch with VLAN capability to do so
  • Authentication via Active Directory

    3
    0 Votes
    3 Posts
    2k Views
    B
    @deoccultist Sadly, none of this seemed to make any difference.