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.
  • Remove a VM without Destroying the Disk

    5
    0 Votes
    5 Posts
    1k Views
    JSylvia007J
    @Anonabhar Thanks!! This worked exactly as you described!
  • Unable to create bonded network on slave hypervisor in pool

    8
    0 Votes
    8 Posts
    1k Views
    retroipR
    @olivierlambert Thank you for quick reply. correct, it is agiants pool. Going to rename and order them correctly. Thank you
  • CLI/SSH delete VMs that were set as "Protect from accidental deletion" in XO

    Solved
    16
    0 Votes
    16 Posts
    6k Views
    L
    I had to do the following to remove the reboot block: xe vm-param-remove param-name=blocked-operations param-key=hard_reboot uuid=$UUID And then: xe vm-reboot force=true vm=$UUID
  • Migrate from XOA to Built from Sources

    8
    0 Votes
    8 Posts
    1k Views
    olivierlambertO
    Thank you! You can make the difference by promoting the solution, that's part of how the community can give back
  • Backup and/or snapshot only the boot disk of a virtual machine.

    13
    0 Votes
    13 Posts
    3k Views
    J
    Ok. Great I wait for the release. Thanks
  • Question about using HUB as a XO built from sources

    4
    0 Votes
    4 Posts
    767 Views
    olivierlambertO
    Depends on what you expect from "manage", but once a template is deployed (or recipe applied), it's all regular VMs.
  • Issue staying logged into XO (source)

    5
    1
    0 Votes
    5 Posts
    607 Views
    olivierlambertO
    I think using a script for an initial test is OK, but if you want to really use it, it's better to follow our documentation and following the per-requisites by the book.
  • Pools don't appear under Settings > Servers on fresh build of XO

    Solved
    18
    1
    0 Votes
    18 Posts
    2k Views
    itservicesI
    @Danp Hi everyone. That "n 18" did it for me. My Xen Orchestra would not hold the connection, with the same "http connection time out". Thanks a bunch Regards Marc
  • Centralize the Server List?

    5
    0 Votes
    5 Posts
    545 Views
    olivierlambertO
    Hi, You posted in the XO section, so question: why not using Xen Orchestra?
  • libfuse.so: error adding symbols: File in wrong format

    45
    0 Votes
    45 Posts
    17k Views
    M
    @Mark-C Wouldn't have made it without your help! Super. So far everything seems to be working normally, except for my original issue on the other topic, posting there now. If any more issues come up I'll post them here and reference on this topic. Many thanks!!
  • XOA does not refresh quickly status of NICs

    4
    0 Votes
    4 Posts
    590 Views
    olivierlambertO
    @KPS This is an internal ticket. But I'm not against having a public issue as well
  • Show the bandwith of VM/ Host in differents units

    2
    1
    0 Votes
    2 Posts
    230 Views
    olivierlambertO
    It might be easier to configure this in the next XO UI Thanks for the feedback though
  • Ability to cloning/multiplay only one VHD.

    10
    0 Votes
    10 Posts
    785 Views
    olivierlambertO
    In essence, you can write any script you like in your VM that would be executed, test whatever you want in the database, and if it's OK, write a special key in the XenStore. XO will detect it and consider the backup health check done and working
  • Help Diagnose: Backup error spawn /usr/bin/node EAGAIN

    6
    0 Votes
    6 Posts
    1k Views
    planedropP
    What kind of backups are these? Incremental (delta), full, etc..? I think that'll help determining the issue, I had something similar once specifically with an incremental and was able to fix it. May not be related though since that was a while ago and on stable release channel for XOA.
  • VMware import stuck at "Importing..."

    13
    0 Votes
    13 Posts
    3k Views
    planedropP
    Hmmmmm I need to look back through some of my old posts and notes but I had a similar issue with a VM with large number of disks. The disks themselves being big wasn't the issue, it was just having a huge number of them that eventually cased a problem. Ended up migrating by moving a single VHD and rebuilding things (the specific system didn't really "need" all the VHDs so it was an easy fix for me, wouldn't be the case here haha). If you are trying to reduce the number of hosts though, why would migrating the VCSA help? If you're powering off a host then wouldn't you not need the VCSA to be running anyway? Or do you have more than 1 ESXi instance? Might be easiest to just migrate it to another ESXi host if that's the goal, since you won't need the VCSA once you fully move to XCP-ng (assuming you are doing so).
  • 0 Votes
    9 Posts
    1k Views
    olivierlambertO
    You can create a valid VHD file with the command uuidgen
  • XO6/XOLite Power state dropdown suggestion

    5
    1
    1 Votes
    5 Posts
    600 Views
    T
    @clemencebx Awesome, thanks!
  • How to install Tools for Windows 2019 VM?

    Solved
    3
    0 Votes
    3 Posts
    5k Views
    S
    @olivierlambert Thank you so much. Got it.
  • The host toolstack is still initialising. Please wait. - unable to do anything.

    Solved
    3
    0 Votes
    3 Posts
    1k Views
    S
    @Danp Ya, I normally restart the master first, but it was late and I was just trying to get them patched and restarted. I restarted 03 and everything came back up. Thanks!
  • Convert ESXI's VMDK file to VHD

    4
    0 Votes
    4 Posts
    3k Views
    olivierlambertO
    If you want to put VHD file in an existing NFS SR, you need to indeed have an UUID type. Note that the SR file structure should NOT have any subfolder into it. To generate an UUID, you can use uuidgen command.