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.
  • cannot mount NFS remote

    solved
    2
    0 Votes
    2 Posts
    639 Views
    D
    OK I got it. I didn't think that the host was using apparmor, but it actually does. So it must be started using --cap-add sys_admin --security-opt apparmor:unconfined Now it works.
  • xo-cli --register produces "invalid parameters" errors in xo logs

    Solved
    18
    0 Votes
    18 Posts
    2k Views
    M
    @julien-f OK, server upgrade it is. Thanks for a prompt reply. Appreciate it.
  • Migrate to new server and backups

    6
    0 Votes
    6 Posts
    654 Views
    DanpD
    Ok. You threw me a curve ball when you mentioned the "[XO Backup blah blah]" stuff. I think you are referring to the snapshots. If so, then yes they get transferred over when you migrate the VMs.
  • NFS for ISO and VDI doesn't recognize subdirectory path

    8
    2
    0 Votes
    8 Posts
    1k Views
    gskgerG
    @Darkbeldin Mh, in the SMlog it is ls /tmp/nfs -1 --color=never. Thats the number one but should that be the letter l? With the number one, lsreturns. [17:31 h01 ~]# ls /tmp/nfs -1 --color=never test textfile
  • Backup Error with sufficient Space

    xenorchestra backup hdd
    7
    2
    0 Votes
    7 Posts
    1k Views
    DarkbeldinD
    @felipefonsecabh You need to check the specific checkbox: https://xen-orchestra.com/docs/full_backups.html#backup-without-snapshot
  • S3 Backup "Please Match The Requested Format"

    38
    1
    0 Votes
    38 Posts
    7k Views
    V
    Assuming I have the setting in the correct place, I'm not seeing any significant difference whether the setting is there or not. without setting Duration: 10 minutes Size: 41.71 GiB Speed: 72.5 MiB/s with setting Duration: 10 minutes Size: 41.71 GiB Speed: 72.87 MiB/s CPU usage appears to be about the same.
  • pool disappear after VM migration

    10
    0 Votes
    10 Posts
    907 Views
    DarkbeldinD
    @Momtez-Medini Please open a support ticket even without subscription we will help you there.
  • 10 gig secondary network

    6
    0 Votes
    6 Posts
    660 Views
    fohdeeshaF
    @abelaguilar indeed you do not have to fill out the dns and gateway fields - in fact as you surmised you shouldn't. Where you getting an error or something when leaving them blank? The only mandatory fields are IP and netmask.
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • 0 Votes
    5 Posts
    319 Views
    Daikon-RadishD
    So it looks like the warm migration of the first VM I tried migrating works, but after trying to migrate another VM, I'm getting a new error message: "Warm migration: task has already ended" Is there any particular process that I'm missing to mark the first VM as successfully migrated? **edit: Maybe I'm just impatient because after waiting another couple of minutes it looks like it's migrating OK.. LOL
  • Hot add hardware

    hot-add
    6
    0 Votes
    6 Posts
    1k Views
    D
    @lawrencesystems I am looking at it right now. Thank you!!
  • Cannot upload / import OVAs using xo-upload-ova / XO UI

    1
    0 Votes
    1 Posts
    250 Views
    No one has replied
  • XO Self service wrong quota calculations...

    3
    0 Votes
    3 Posts
    254 Views
    S
    @olivierlambert Thanks, I just opened 1.
  • Migrated XO VM with broken network

    2
    0 Votes
    2 Posts
    380 Views
    splastunovS
    You can try to "attach" broken VIF to some network and then delete it. Try to use this command xe vif-move If that doesn't work, you can shut down the XO VM, detach the disk, deploy a new VM without a disk, attach the XO disk to the new VM.
  • Convert CentOS 8.0 Template to Red Hat 9

    5
    0 Votes
    5 Posts
    303 Views
    F
    @olivierlambert can you help me with this please?
  • Patching to a specific version

    9
    0 Votes
    9 Posts
    1k Views
    mauzillaM
    works like a charm, thank you gents!
  • 0 Votes
    8 Posts
    2k Views
    R
    @olivierlambert @gduperrey Thanks for clearing that up. Appreciate the responses.
  • File restore not finding any option

    backup file level restore
    18
    2
    0 Votes
    18 Posts
    2k Views
    D
    @splastunov said in File restore not finding any option: If nothing will help and you can't import xva with import VM, I have solution. Deploy new VM with disk x4 times greater than backup file. OS Ubuntu 16.04 or later. Copy backup. Take attention. You need always copy backup. Do not move it. Install xva-img https://github.com/eriklax/xva-img add-apt-repository ppa:ubuntu-toolchain-r/test && apt-get update && apt-get install -y gcc-7 cd to xva-img dir and run next command cmake ./ make install Extract xva file tar -xf my-virtual-machine.xva -C my-virtual-machine chmod -R 755 my-virtual-machine In folder my-virtual-machine you will find some directory like Ref :1, but maybe with another number. Remember this number. Create raw disk from extracted. Replace 1 with number from previous step. xva-img -p disk-export my-virtual-machine/Ref\:1/ disk.raw Install qemu-utils apt install qemu-utils Convert raw to vhd qemu-img convert -f raw -O vpc disk.raw [vhd-name-you-like].vhd Copy vhd to some SR. I'm using local SRs, so in my case path is /var/run/sr-mount/[sr-uuid] Go to the host, cd to SR folder, get VHD uuid, rename VHD cd /var/run/sr-mount/[sr-uuid] vhd-util read -p -n [vhd-name-you-like_from-step-8].vhd mv [vhd-name-you-like_from-step-8].vhd [uuid].vhd Rescan SR Attach VHD to existing VM or deploy new one Get you files wow. I am getting on with this in parallel. Thank you again! Results for both suggestions and requests are coming!
  • 0 Votes
    15 Posts
    1k Views
    F
    @florent I would love to....but I transitioned from Hyper-V a few months ago. No VMWare to be found around here. Without fail, these OVAs will be downloads from a variety of applications. Thanks again!
  • Linguiring VDI Export task after backup fails

    7
    2
    0 Votes
    7 Posts
    620 Views
    olivierlambertO
    A badly formated VHD can indeed trigger this, nice catch!