Subcategories

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

    407 Topics
    3k Posts
    D
    Thanks for the information. @Chico008, does the information at https://xcp-ng.org/blog/2025/10/30/xcp-ng-8-3-varstored-update-unbootable-vm-risk-and-remediation/ resolve the issue for you?
  • ACLs, Self-service, Cloud-init, Load balancing...

    96 Topics
    811 Posts
    olivierlambertO
    Indeed, and it's clearly stated at https://docs.xen-orchestra.com/community
  • All XO backup features: full and incremental, replication, mirrors...

    415 Topics
    4k Posts
    M
    Hey, I am experiencing the same issue using XO from sources (commit 4d77b79ce920925691d84b55169ea3b70f7a52f6), Node version 22, Debian 13. I have multiple backup jobs and only one wich is a full backup job is giving me issues. Most VMs can be backed up by this full backup job just fine but some error out with "body timeout error", e.g.: { "id": "1762017810483", "message": "transfer", "start": 1762017810483, "status": "failure", "end": 1762018134258, "result": { "name": "BodyTimeoutError", "code": "UND_ERR_BODY_TIMEOUT", "message": "Body Timeout Error", "stack": "BodyTimeoutError: Body Timeout Error\n at FastTimer.onParserTimeout [as _onTimeout] (/etc/xen-orchestra/node_modules/undici/lib/dispatcher/client-h1.js:646:28)\n at Timeout.onTick [as _onTimeout] (/etc/xen-orchestra/node_modules/undici/lib/util/timers.js:162:13)\n at listOnTimeout (node:internal/timers:588:17)\n at process.processTimers (node:internal/timers:523:7)" } } XO from sources VM has 8 vCPU and 8GB RAM. Link speed of the XCP-ng hosts is 50 Gbit/s. XO VM can reach 20 Gbit/s to the NAS in iperf. Zstd is enabled for this backup job. It appears that only big VMs (as in disk size) have this issue. The VMs that have this issue on the full backup job can be backed up just fine via delta backup job. I read in another thread that this issue can be caused by dom0 hardware constrains but dom0 has 16 vCPU and is at ~40% CPU usage while backups are running. RAM usage sits at 2GB out of 8GB used. I changed my full backup job to GZIP compression and will see if this helps. Will report back. I really need compression due to the large virtual disks of some VMs... Best regards MajorP
  • Everything related to Xen Orchestra's REST API

    70 Topics
    548 Posts
    D
    @olivierlambert Fun fact -lah is short for lazy ass human AI is coming... [image: 1761837446934-feb6ff1a-7269-4c37-84b8-8ed1d64c3d68-image.png]
  • Terraform, Packer or any tool to do IaC

    39 Topics
    376 Posts
    olivierlambertO
    @Cyrille is back next week
  • 0 Votes
    8 Posts
    2k Views
    R
    @olivierlambert @gduperrey Thanks for clearing that up. Appreciate the responses.
  • File restore not finding any option

    backup file level restore
    18
    2
    0 Votes
    18 Posts
    3k Views
    D
    @splastunov said in File restore not finding any option: If nothing will help and you can't import xva with import VM, I have solution. Deploy new VM with disk x4 times greater than backup file. OS Ubuntu 16.04 or later. Copy backup. Take attention. You need always copy backup. Do not move it. Install xva-img https://github.com/eriklax/xva-img add-apt-repository ppa:ubuntu-toolchain-r/test && apt-get update && apt-get install -y gcc-7 cd to xva-img dir and run next command cmake ./ make install Extract xva file tar -xf my-virtual-machine.xva -C my-virtual-machine chmod -R 755 my-virtual-machine In folder my-virtual-machine you will find some directory like Ref :1, but maybe with another number. Remember this number. Create raw disk from extracted. Replace 1 with number from previous step. xva-img -p disk-export my-virtual-machine/Ref\:1/ disk.raw Install qemu-utils apt install qemu-utils Convert raw to vhd qemu-img convert -f raw -O vpc disk.raw [vhd-name-you-like].vhd Copy vhd to some SR. I'm using local SRs, so in my case path is /var/run/sr-mount/[sr-uuid] Go to the host, cd to SR folder, get VHD uuid, rename VHD cd /var/run/sr-mount/[sr-uuid] vhd-util read -p -n [vhd-name-you-like_from-step-8].vhd mv [vhd-name-you-like_from-step-8].vhd [uuid].vhd Rescan SR Attach VHD to existing VM or deploy new one Get you files wow. I am getting on with this in parallel. Thank you again! Results for both suggestions and requests are coming!
  • 0 Votes
    15 Posts
    2k Views
    F
    @florent I would love to....but I transitioned from Hyper-V a few months ago. No VMWare to be found around here. Without fail, these OVAs will be downloads from a variety of applications. Thanks again!
  • Linguiring VDI Export task after backup fails

    7
    2
    0 Votes
    7 Posts
    763 Views
    olivierlambertO
    A badly formated VHD can indeed trigger this, nice catch!
  • [XO] Export pool metadata not finish...

    10
    0 Votes
    10 Posts
    1k Views
    S
    @Darkbeldin Yes, btw right now works normal after 3-5 days with problem...
  • Long Backup Task Goes Away from List

    4
    0 Votes
    4 Posts
    349 Views
    olivierlambertO
    This is documented in our official doc IIRC
  • Continuous replication failing

    10
    0 Votes
    10 Posts
    1k Views
    M
    Update: I disabled the CR job and created a new one, which did successfully start - so I'm hoping this fixed it
  • delayed_ack needed?

    4
    0 Votes
    4 Posts
    457 Views
    olivierlambertO
    I am no iSCSI expert, I don't know if this settings exists, but before tinkering I would do some benchmarks.
  • Continous Replication Network

    8
    0 Votes
    8 Posts
    877 Views
    planedropP
    @vincentp I'd personally go with a 10GbE switch just to be sure there are no bottlenecks from that, I don't really think you'll hit full 10GbE for a replication job but it's better to alleviate that IMO.
  • Backups show as started but no tasks running

    Solved
    4
    0 Votes
    4 Posts
    549 Views
    V
    @Darkbeldin worked perfectly thanks.
  • 10 gig on different subnet

    6
    0 Votes
    6 Posts
    686 Views
    planedropP
    @abelaguilar Sounds good, yeah I think that is the easiest method to go about it, rather than direct attached networking.
  • How to get 10gbe speeds on guest VMs?

    Solved
    6
    0 Votes
    6 Posts
    6k Views
    T
    @RaHu In theory you would want to change the MTU of parent interface in OPNSense to 9000. In my case testing is not possible since I run all vlans off a since interface (2x10gbe NIC) and do not want to change the MTU of systems outside my virtual environment. Anyways, with the change mentioned above you achieve 10gbe speeds between VMs.
  • Second ip for hosts interface

    12
    0 Votes
    12 Posts
    2k Views
    fohdeeshaF
    @SNSNSN Indeed, these would typically at least be isolated via vlans at least (one vlan for iscsi traffic, one for iscsi). There's no point in having them in two different subnets if they're in the same network and vlan, the traffic isn't isolated at all. You might as well have them in the same subnet if you're doing that, in which case you only need 1 IP on the XCP-ng management NIC.
  • what speed do you get - import from VMware

    4
    0 Votes
    4 Posts
    537 Views
    olivierlambertO
    What do you mean by "performance to local storage was equivalent"?
  • "Pay for Premium or we corrupt your database backups"

    5
    0 Votes
    5 Posts
    952 Views
    S
    @KimmoJ I wonder how much you pays to Vmware? + Probably you have to pay also to your backup software...
  • Packer issues

    8
    0 Votes
    8 Posts
    2k Views
    D
    @rochemike sorry for the late reply! If we already have an ISO on an SR, do we even need to mount the ISO for a network build of Centos/RHEL? Isn't... shouldn't it be possible for the ISO to be mounted by the new build VM as source for creating the new VM, instead of using network build? That is exactly what packer-plugin-xenserver#56 accomplishes. The new VM mounts the guest tools to the DVD - which I don't even want to use as I prefer to install a package afterwards. Is it possible to mount the RHEL/Centos ISO instead? I believe the ISO and guest tools are treated the same -- both VBDs are attached as cds. If you can identify what is different about them in the UI or from the xe cli that would help me understand what you trying to describe. As for what is possible, if what you want to configure is accessible via the XCP-ng / Xenserver API the packer plugin could be enhanced to perform that action. Hope this helps explain more on the potential possibilities.
  • Error importing large vhd file

    Solved
    17
    0 Votes
    17 Posts
    3k Views
    olivierlambertO
    No worries, happy to help!
  • restore backup mac adress

    5
    0 Votes
    5 Posts
    490 Views
    S
    @Andrew in my case , the backup is restore from smb share but i don't think the problem from here
  • XO (Delta) Backup to BackBlaze B2 with Error: getaddrinfo EAI_AGAIN--Workaround

    Solved
    4
    0 Votes
    4 Posts
    545 Views
    olivierlambertO
    That's exactly why our doc is precise on this with a big yellow warning block: https://xen-orchestra.com/docs/community.html#report-a-bug
  • VM stuck on old host after migration, non-responsive

    5
    0 Votes
    5 Posts
    1k Views
    mauzillaM
    @dredge999 yeah in hindsight thats what I should have done I wonder if I can restore the config files and have the VM operational again. It's more getting it to stop now without a host restart