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
  • XCP-ng latest - newly imaged CentOS Stream 8 hosts don't do kernel updates

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    stormiS
    I don't see any obvious settting, and XCP-ng won't interfere with a guest OS installation, so the root cause for this missing GRUB_ENABLE_BLSCFG=true must be somewhere in the installation process, triggered by I-don't-know-what when being installed in an XCP-ng guest.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    23 Views
    No one has replied
  • NBD Backup not working

    23
    0 Votes
    23 Posts
    5k Views
    florentF
    @KLSsandman yes NBD is only used for delta backups
  • Backups never finish

    3
    0 Votes
    3 Posts
    1k Views
    julien-fJ
    @magicker If you are able to deploy an official XOA and reproduce the problem in it, I'll be able to investigate once you open a support tunnel: https://xen-orchestra.com/docs/xoa.html#support-tunnel
  • Managing HA-cluster in case of dead master

    2
    0 Votes
    2 Posts
    636 Views
    olivierlambertO
    Hi, The best practice is just to connect XOA to the master. You are thinking as if this situation will happen on regular basis, but it won't, and if it does you have a bigger problem than an XOA disconnection. If you have a backup job with email reporting, you'll be notified if XOA lost connection to the pool. There's nothing specific to do.
  • Scalability of XOA

    5
    0 Votes
    5 Posts
    1k Views
    J
    @Darkbeldin Parfait, merci ! I shall write to the Help email address!
  • Restoring Xen Orchestra from backup

    3
    0 Votes
    3 Posts
    1k Views
    A
    @olivierlambert Oh I see, thanks for the help.
  • First New Local Storage - "No VDIs in this storage"

    Solved
    6
    1
    0 Votes
    6 Posts
    2k Views
    olivierlambertO
    Yes, you need to get them flat in the folder, it doesn't crawl subfolders.
  • Website XOA XCP-NG missing

    2
    0 Votes
    2 Posts
    774 Views
    olivierlambertO
    Very likely indeed. We hope to recreate the XO website from scratch at some point, but it doesn't mean we'll let this slip Thanks a lot for the report, adding @Marc-pezin in the loop
  • Backing up the VM that is running Xen Orchestra

    Solved
    10
    0 Votes
    10 Posts
    4k Views
    olivierlambertO
    Ah the issue make sense now No worries about asking here, happy to see it works for you now
  • Backup warning: incorrect backup size

    7
    1
    0 Votes
    7 Posts
    796 Views
    M
    @julien-f Thx. I can safely ignore this then.....
  • Backup - Error: Lock file is already being held

    Solved
    5
    0 Votes
    5 Posts
    2k Views
    D
    @olivierlambert Got it, sorry I glossed right over the updates. Ran the updates and everything is green with success. Thanks for taking the time to answer my noob questions!
  • Correct Template for installed OS?

    1
    0 Votes
    1 Posts
    407 Views
    No one has replied
  • Update disk size via API?

    4
    0 Votes
    4 Posts
    1k Views
    olivierlambertO
    You can with the JSON-RPC API. The REST API is still very young, and we only started to modify objects during January release.
  • Xen Orchestra Load Balancer - turning on hosts

    20
    0 Votes
    20 Posts
    6k Views
    ronan-aR
    @berish-lohith Just FYI I created a card in our backlog, I don't see too many blocking points to implement it correctly.
  • CR endless run on backup tab

    2
    1
    0 Votes
    2 Posts
    624 Views
    A
    @Gheppy @julien-f I have the same problem.... post 6940 Check Dashboard->Health and look at the bottom to see if the Importing VMs are still there. So far, no solution, other than to rollback to a working version.
  • What is Viridian?

    4
    0 Votes
    4 Posts
    9k Views
    olivierlambertO
    No, it's useless on Linux.
  • Issues synchronizing LDAP groups (Active Directory)

    bugs blocked
    16
    0 Votes
    16 Posts
    9k Views
    TheNorthernLightT
    @cjackson The reason the login is just username, is because you've specified sAMAccountName. If you want to use email address, change this to UserPrincipleName. Obviously, verify the UPN in your AD box, but that should be the persons email address if your domain it setup correctly. I dont believe most LDAP query tools support nested group security (its a common issue). Not an excuse, just an observation btw.
  • auth-ldap (v0.6.4) - LDAP authentication plugin for XO-Server

    21
    0 Votes
    21 Posts
    18k Views
    C
    I had a lot of trouble getting the LDAP integration to work with Active Directory domain controllers, and i kept finding this post over and over. So i wanted to share my configuration and make it easier on others trying to do the same thing in the future. Using this config i was able to get everything working, but i found a few limitations: Xen Orchestra cannot find any group members where the member has the "Primary Group" attribute set. Only direct members of a group are recognized (nested groups don't work). When signing in, i have to specify "username" instead of "username@cxlab.domain.com" Groups are created by clicking "Synchronize LDAP groups", however users are not created until they sign into XOA the first time. Users are not deleted from Xen Orchestra when they are removed from the domain. (but they can no longer log in to XOA) auth-ldap (v0.10.6) - LDAP authentication plugin for XO-Server Auto-load at server start [checked] Configuration URI: ldap://domaincontroller1.cxlab.domain.com **Certificate Authorities** Check certificate [disabled] Use StartTLS [disabled] Base: DC=cxlab,DC=domain,DC=com **Credentials** dn: cxadmin@cxlab.domain.com password: ****************** User filter: (sAMAccountName={{name}}) ID attribute: dn **Synchronize groups** [checked] Fill information (optional) Base: CN=Users,DC=cxlab,DC=domain,DC=com Filter: (ObjectClass=group) ID attribute: dn Display name attribute: cn **Members mapping** Group attribute: member User attribute: dn
  • Enable NBD Backups for a network

    3
    0 Votes
    3 Posts
    3k Views
    florentF
    hi @lawrencesystems You still need to enable it in config fr now. I hope we 'll be able to improve the ui to enable it on a per backup setting later The nbd protocol use the 10809 port in TCP by default. XO only read from this port f the host. The Nbd setting is used for the whole xo, regardeless of the pool The lock have been replaced by a select, which is more self explanatory . I think the main control pint is to check if there is multiple NBD network for a VM, XO use the first one returned by the Xapi, and it may be , for example, a managemet network as opposed to a backup / high speed one Regards