Subcategories

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

    499 Topics
    4k Posts
    I
    @tjkreidl everything looks normal. I also shared SOS report with @goulven I hope I'll get a feedback on slowness.
  • 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...

    550 Topics
    6k Posts
    Z
    Hi, I think I'm hitting the same issue, on the same versions (sm-3.2.12-25.2, blktap-3.55.5-12.3, XCP-ng 8.3, XOA stable fully updated). In my case it's incremental replication between two local EXT qcow2 SRs (source Xcpng-02, target Xcpng-03). It's consistent rather than intermittent, and only one VM's 425 GiB disk (~341 GiB used) is affected; 15 other VMs replicate incrementally fine. A fresh reseed doesn't help: the full succeeds, then the next incremental fails again. CBT on or off made no difference. My disks were never VHD. They were imported from VMware directly as qcow2. I traced the timing on the target host, in case it helps narrow it down: 18:58:00 qcow2-to-stdout.py <replica disk> --diff <replica snapshot> (tapdisk 2181814) 19:04:57 tap-ctl close -p 2181814 -m 4 -t 120 failed ... Connection timed out, status=110 -> SR_BACKEND_FAILURE_1200 on VBD.unplug_force (xo-server: BodyTimeoutError, "Couldn't disconnect ... from dom0", "can't compute delta ..., fall back to a full") 19:06:59 same tap-ctl close timeout on retry 19:08:14 qcow-tool failed, returning VDI_IO_ERROR ... BrokenPipeError: [Errno 32] Broken pipe The smaller disk of the same VM (~93 GiB used) completes the same diff in about 3 minutes. qemu-img map on these files takes under 2 seconds, so the time seems to be inside the diff itself. From a quick read of qcow2-to-stdout.py, --diff appears to read and compare all allocated clusters, so for a large disk it can run more than 5 minutes without sending anything. Here's what I think is happening, though I may be wrong: The diff runs for a long time without sending any data back to XO. After about 5 minutes of silence, xo-server gives up (BodyTimeoutError) and tries to unplug the disk. The unplug fails because the diff is still reading the disk through tapdisk, so tap-ctl close times out (SR_BACKEND_FAILURE_1200). If that's right, the 1200 error and the stuck VBD are side effects. The real problem would be how long the diff takes on a large disk.
  • 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
    509 Posts
    enkaskalE
    @poddingue no worries and thanks for reporting your findings
  • S3 Remote

    12
    0 Votes
    12 Posts
    4k Views
    F
    @lawrencesystems said in S3 Remote: I was hoping to avoid this method as my pfsense is not connected at 10G. Thank you for the clarification. Happy I could help.
  • un-zstd .xva files exported with XOA?

    Solved
    3
    0 Votes
    3 Posts
    703 Views
    ForzaF
    @olivierlambert said in un-zstd .xva files exported with XOA?: Hi! Again, before starting to talk about technical solution, can you explain the use case? If you have zstd installed on your machine, yes. It's a tar with compression (gzip or zstd). But then it won't be trivial to assemble VM data (but you can exctract metadata easily!) I didn't really mean disassemble the .xva, but rather create an uncompressed .xva that has broader support/portability. The zstd command line tool seems to be able to uncompress it just fine. Thanks.
  • Reset Xen Orchestra Community Edition Web Password

    2
    0 Votes
    2 Posts
    11k Views
    olivierlambertO
    Hey there! It's a good thing to start by reading our doc. If you enter "Password" in the search field, you would have find: https://xen-orchestra.com/docs/troubleshooting.html#recover-web-login-password As you are using Xen Orchestra into production, may I suggest to go for XOA with pro support at some point?
  • Automating VM creation via Terraform

    7
    0 Votes
    7 Posts
    4k Views
    E
    @newknowledge Thanks, I'll try it out later.
  • Pool Metadata backup sometimes fails when using multiple remotes

    4
    5
    0 Votes
    4 Posts
    741 Views
    ForzaF
    @olivierlambert Maybe. Ive created a support ticket for now. Hopefully you can see if the problem is a configuration mistake on our end or a problem in XO. Thanks.
  • Multiple internal networks in pool for each user

    2
    0 Votes
    2 Posts
    1k Views
    T
    @jfrelik Similar issue here - still trying to figure this out. https://xcp-ng.org/forum/topic/4209/xcp-ng-and-network-virtualisation-help
  • Ansible dynamic inventory and XO

    11
    0 Votes
    11 Posts
    3k Views
    olivierlambertO
    Nice
  • xo-cli - Get alarms

    Solved
    8
    1
    0 Votes
    8 Posts
    2k Views
    olivierlambertO
    You are welcome Enjoy! (great thing about xo cli is that you can get alarms of all your hosts from a single endpoint)
  • XOA migrate the XO itself

    Unsolved
    2
    0 Votes
    2 Posts
    1k Views
    olivierlambertO
    You can't, indeed, live migrate a VM from Intel to AMD (or vice-versa), for obvious reason (the VM will try to call Intel specific instructions after migrating on an AMD CPU, the result would be… a crash!) We had a similar migration ourselves (in our own prod), from Intel to AMD. And we decided to use Continuous Replication to make a first "backup" on destination (the full) while the original VMs were running (no service interruption). Then, we shut down the VMs, make another round of replication (delta, very fast) and then we booted on destination.
  • New VMs created in Xen Orchestra reboot every couple of minutes

    5
    0 Votes
    5 Posts
    1k Views
    R
    @olivierlambert That socket issue was not what was causing the problem, I went through setting by setting and if I choose 2GB of memory for a VM I get constant reboots when using XOA. I was able to repeat the issue with a number of OSs not just RHEL 8 (and variants). I havent went through and compared the differences between XOA and XenCenter yet.
  • Multiple remotes in a backup - how is retention calculated

    5
    0 Votes
    5 Posts
    2k Views
    badrAZB
    @s-pam said in Multiple remotes in a backup - how is retention calculated: OK Great. So if I set retention to 10, it would keep 10 copies on each remote? Yes. it will keep 10 copies on each remote.
  • 0 Votes
    1 Posts
    1k Views
    No one has replied
  • Error: SR_BACKEND_FAILURE_109(, The snapshot chain is too long, )

    6
    0 Votes
    6 Posts
    3k Views
    olivierlambertO
    In theory, Xen Orchestra got a protection against this issue (see https://xen-orchestra.com/docs/backup_troubleshooting.html#vdi-chain-protection ) So you have to find what's causing a long chain outside XO. You can check in XO, in the Advanced tab of the SR view, if there's VDI to coalesce. Or maybe very long chain for other reasons, there's a tool we made called xapi-explore-sr.
  • Backups/VM Migrations Slow

    4
    0 Votes
    4 Posts
    2k Views
    olivierlambertO
    Use CR instead of DR then, it will send only the diff to the other host, so it will be faster.
  • Cannot migrate VM from 7.5/7.6 to 8.2 INTERNAL_ERROR

    4
    0 Votes
    4 Posts
    1k Views
    M
    I can migrate this VM from another host (7.6) to the 8.2 host just fine: [image: 29412a19-7047-4feb-a82e-1b3d3ce61a94-image.png] Im not sure what the agent actually is, thats why im guessing this might be related [image: eb67e1dd-0979-4b17-94a8-b3d4f72397a5-image.png] VM that fails: [image: 153e71d2-3779-4894-b990-3b4f6b02e032-image.png]
  • -1 Votes
    10 Posts
    2k Views
    olivierlambertO
    It's not that easy to block some screens. But that's an interesting suggestion, I'll pass that to @pdonias
  • Multiple VM exports fails with unknown error

    7
    0 Votes
    7 Posts
    3k Views
    DanpD
    @nodesocket Depends on your setup. For mine, I use sudo systemctl restart xo-server.service. You could also just restart the VM.
  • ova problems

    Solved community
    20
    0 Votes
    20 Posts
    6k Views
    olivierlambertO
    @s-pam said in ova problems: @crazytoo Best way to be sure it to boot the VM using a live-cd, for example systemrescue-cd or ubuntu live-dvd. Then you can use tools like gparted to inspect your disk image from inside the booted vm. That's exactly what I advised to do earlier, but it seems it was missed the first time I think that's the best approach to understand what's going on in the VM disk.
  • xoa update "your appliance is too old, please deploy a new one"

    2
    0 Votes
    2 Posts
    825 Views
    olivierlambertO
    Mainly a more recent version of Debian.
  • Duplicate entries in backup restore?

    3
    1
    0 Votes
    3 Posts
    440 Views
    ForzaF
    @jedimarcus No. But I think the problem could be an issue where I merged two remote backup trees.