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
    olivierlambertO
    @florent so it's like https://github.com/vatesfr/xen-orchestra/commit/a459015ca91c159123bb682f16237b4371a312a6 might introduced a regression? 0 fbeauchamp committed to vatesfr/xen-orchestra Fix(replication): VDI_NOT_MANAGED error (#8935) from ticket #40151
  • 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.
  • Pool local storage?

    Solved
    3
    0 Votes
    3 Posts
    633 Views
    D
    @olivierlambert Yes, I had just ejected and rejoined the host so I could reconfigure the network on the pool. Thanks for the information!
  • 0 Votes
    2 Posts
    414 Views
    olivierlambertO
    Do you have the XOA SDN controller enabled?
  • zen orshestra cummunity edit

    5
    0 Votes
    5 Posts
    395 Views
    jag5cofJ
    @DustinB thank you
  • Change Default Sort By

    3
    1
    0 Votes
    3 Posts
    263 Views
    pdoniasP
    @DustinB @olivierlambert I confirm it's not possible at the moment.
  • Migration failled

    Solved
    6
    0 Votes
    6 Posts
    429 Views
    RashidR
    @olivierlambert Thanks a lot. The Max vCPU was larger than the Physical CPU. Now it migrates successfully.
  • Missing Disks in VM

    15
    0 Votes
    15 Posts
    2k Views
    planedropP
    @Danp I agree with you here, but they also mentioned a "different newly created VM and attempted to install Windows 10 with two hard drives" and they only saw one disk, so was seeing if maybe the issue is related and there is something setup wrong. All disks should be visible to the Windows installer.
  • GPU pass-through Windows 11 - NO HOSTS AVAILABLE

    3
    2
    0 Votes
    3 Posts
    607 Views
    planedropP
    Yeah I'd check BIOS settings like @olivierlambert mentioned here. But also, you mention pass through, this isn't pass through this is vGPU which is different (and only supported by some GPUs in specific), which allows you to have a single GPU that can run multiple VMs. If you want passthrough you'll need to follow the docs here https://docs.xcp-ng.org/compute/ This will let you pass through the entire card, make sure to passthrough all devices that are part of the card (so HD audio and stuff too, everything that is under the same PCI address). I've done this with a few GPUs and it works great.
  • Restarting network when swopping SFP modules

    2
    0 Votes
    2 Posts
    476 Views
    planedropP
    I can't say for sure as I haven't tested it, but it may "just work" if you swap them out, a lot of systems do support swapping SFP modules without extra work being done. But again, never tested it at all myself.
  • Live Migrate between two stand alone pools fails

    Solved
    22
    0 Votes
    22 Posts
    2k Views
    D
    @Danp said in Live Migrate between two stand alone pools fails: It's difficult to know for sure where the problem lies since your XO isn't up to date. Wouldn't the host need to already exist in XO in order for it to be a migration target? Yeah, I had two host connected to this XO instance, just to help get an insight to what is where. I've disconnected the target host, and can see the VM on the desired host.
  • How to choose which specific NIC/port for Xen-Orchestra server to bind to?

    Solved
    6
    0 Votes
    6 Posts
    3k Views
    K
    @julien-f Thanks for explanation. Thank you
  • Error on vm.restart - invalid parameters

    7
    2
    0 Votes
    7 Posts
    562 Views
    Tristis OrisT
    @julien-f i only try to edit bypass method, that doesn't help. But already removed old job.
  • No Guest Tools - Windows Servers

    6
    1
    0 Votes
    6 Posts
    1k Views
    DanpD
    @DustinB Also see discussion here.
  • Adding Master Host to Existing Pool

    Solved
    11
    5
    0 Votes
    11 Posts
    3k Views
    olivierlambertO
    https://xen-orchestra.com/docs/troubleshooting.html#recover-web-login-password
  • Import VMWare error - HANDLE_INVALID

    Solved
    10
    0 Votes
    10 Posts
    1k Views
    olivierlambertO
    Thanks for your feedback and happy to see it works
  • Reverse Proxy Configuration - HAProxy

    Solved
    30
    0 Votes
    30 Posts
    8k Views
    julien-fJ
    @delaf Thank you!
  • read ECONNRESET when i try restore backup

    1
    0 Votes
    1 Posts
    266 Views
    No one has replied
  • Can't create new remote SMB Windows 11

    Solved
    4
    0 Votes
    4 Posts
    807 Views
    F
    @john-c the problem is really the user/password. I created a new user and all works fine!
  • cancel import

    4
    0 Votes
    4 Posts
    830 Views
    D
    @hitechhillbilly no problem.
  • XO config backup/export problem

    Solved
    4
    0 Votes
    4 Posts
    461 Views
    C
    @mkrumbholz Just tested it and it worked.
  • alert for network trafic (perf-alert plugin)

    8
    0 Votes
    8 Posts
    348 Views
    olivierlambertO
    That's correct, that's why I asked for a spec, so it's easier to build it while knowing exactly what's requested Okay so we can start simple I will make the issue on GH and we'll see how hard it is, to know when we can make it