Subcategories

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

    378 Topics
    3k Posts
    olivierlambertO
    Hi, Do you have any error message? What's happening? Anything visible or not?
  • ACLs, Self-service, Cloud-init, Load balancing...

    93 Topics
    783 Posts
    MK.ultraM
    @tmk said in Cloudbase-init on Windows: @jkatz I ran into the same issue when trying to configure a network adapter with cloudbase-init. The documentation says that the MAC address value is optional but in reality it is required. In my case I want Xen Orchestra to choose a unique MAC during deployment, and I since I am deploying from a template, the NIC name is a known value. The fix that ended up working for me was to modify the networkconfig.py file in cloudbase-init so that the NIC name is required and the MAC address is optional. I ended up making some additional changes to allow for the network-config v2 format along with the existing v1 support and some additional logic to aid in setting the dns search domains (I can't recall if this was originally supported or not but I had issues getting it to work with the original networkconfig.py file) This file needs to replace the existing one that is installed in the C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\Lib\site-packages\cloudbaseinit\plugins\common\ directory. To replace it you should make sure that the cloudbase-init service is stopped, then replace the file. Once this file is replaced, delete the pycache folder in the same parent folder as networkconfig.py - this will ensure that python recompiles this file on service start. Start the cloudbase-init service and confirm that you see a new pycache get created. I'm not a python programmer by trade so others may be able to point out areas for improvement but this ended up working for me and I wanted to share in case it could help others needing to deploy new servers without manually specifying a new MAC address. Below is an example network-config v2 format that works with the updated file. version: 2 ethernets: Ethernet 2: dhcp4: false addresses: - 10.20.30.10/24 nameservers: addresses: - 10.20.5.12 - 10.20.5.13 - 10.20.5.14 search: - intranet.domain.org - domain.org - public-domain.org routes: - to: default via: 10.20.30.1 Updated networkconfig.py file: networkconfig.py.txt Thank you for posting! I followed your directions verbatim and I'm still having trouble getting the network config to take. Does it work with Windows Server 2025?
  • All XO backup features: full and incremental, replication, mirrors...

    389 Topics
    4k Posts
    A
    @olivierlambert This happens to me too with a459015ca91c159123bb682f16237b4371a312a6. I did open an issue https://github.com/vatesfr/xen-orchestra/issues/8969 andrew64k created this issue in vatesfr/xen-orchestra open a459015 causes delta replication to always be full #8969
  • Everything related to Xen Orchestra's REST API

    68 Topics
    529 Posts
    olivierlambertO
    @lsouai-vates we should try to reproduce and if we can, to fix it ASAP. Thanks!
  • Terraform, Packer or any tool to do IaC

    35 Topics
    350 Posts
    J
    @manilx I have proposed to the IaC team of Vates, a MCP Server for Vates VMS. Which can be used by GitHub Copilot or similar, if used when doing IaC etc.
  • This topic is deleted!

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

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

    3
    0 Votes
    3 Posts
    462 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
    283 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
    571 Views
    J
    @Darkbeldin Parfait, merci ! I shall write to the Help email address!
  • Restoring Xen Orchestra from backup

    3
    0 Votes
    3 Posts
    561 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
    1k 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
    310 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
    2k 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
    290 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
    1k 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
    201 Views
    No one has replied
  • Update disk size via API?

    4
    0 Votes
    4 Posts
    465 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
    2k 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
    281 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
    7k Views
    olivierlambertO
    No, it's useless on Linux.
  • Issues synchronizing LDAP groups (Active Directory)

    bugs blocked
    16
    0 Votes
    16 Posts
    4k 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
    11k 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
    2k 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
  • XO Lite in xcp-ng 8.2

    18
    0 Votes
    18 Posts
    7k Views
    olivierlambertO
    @Brice it's included within XCP-ng pro support.