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.
  • if ACL is not free?

    3
    0 Votes
    3 Posts
    468 Views
    K
    @AtaxyaNetwork Thanks
  • Debian 12 (Bookworm) default template

    3
    0 Votes
    3 Posts
    1k Views
    escape222E
    @olivierlambert Thanks
  • Hosts have disappeared from XO Web UI

    30
    0 Votes
    30 Posts
    9k Views
    D
    @julien-f @julien-f All I have done is let ronivay's script do the builds daily on schedule if there is a new commit on the master branch. His script has not changed. There have been no new patches to the hosts. I don't have an explanation.
  • clone linode to local

    1
    0 Votes
    1 Posts
    123 Views
    No one has replied
  • SR_SOURCE_SPACE_INSUFFICIENT

    Solved
    4
    0 Votes
    4 Posts
    585 Views
    olivierlambertO
    XO saved the day
  • Check User creation Date/time

    3
    0 Votes
    3 Posts
    247 Views
    N
    @Danp Yes but unfortunately before of this incident audit is disabled
  • Move VMs between SRs

    4
    0 Votes
    4 Posts
    736 Views
    olivierlambertO
    No problem! Did you manage to do what you need?
  • XOA does not reliably autostart

    Solved
    4
    0 Votes
    4 Posts
    754 Views
    B
    Toggling it back and forth seems to have worked, thanks.
  • OIDC not redirecting back to XO

    22
    0 Votes
    22 Posts
    4k Views
    julien-fJ
    The fix is now merged on master and will be part of the next release.
  • DR - Failback Scenario

    5
    0 Votes
    5 Posts
    391 Views
    H
    That's great, we'll be watching the space.
  • How to restore vm and xo metadata from backups?

    2
    0 Votes
    2 Posts
    2k Views
    GheppyG
    I don't have experience with something like this, but I can do a mini lab with something like this, to test the steps below . What would I do. 0. Do you have metadata backup for XCP-ng? If YES 1.1. I would reinstall the server from scratch, before make a backup with Clonezilla with the boot disk of XCP-ng ; 1.2. I would reconnect iSCSI, without formatting it - reinitialize, only reconnecting (to not delete the data on it); 1.3. I would restore the metadata; 1.4. The result should be all the info about the VM that was on XPC-ng, and hopefully it also attaches the iSCSI disks. If NO 2.2. I would reinstall the server from scratch, before make a backup with Clonezilla with the boot disk of XCP-ng; 2.2. I would reconnect iSCSI, without formatting it - reinitialize, only reconnecting (to not delete the data on it); 2.3. I would redone the VMs from scratch and start attaching the disks to identify which and to which VMs they were attached before; 2.4. The result should be functional VMs In principle, if you have the disks intact, the data is there, you just have to restore the VMs (RAM, CPU, attached the correct disks, etc.) This is the menu for XCP-ng metadata backup, Backup/New. [image: 1686467766517-cf7e9ec4-0d85-4ab6-9a1a-1061cd40a685-image.png] [image: 1686467824225-129ea089-e38b-4cf6-aa04-f7b3020b23a3-image-resized.png]
  • Failing backups due to the Lock File

    5
    2
    0 Votes
    5 Posts
    808 Views
    B
    @olivierlambert Thank you! Updated to latest version of Xen Orchestra, commit b0e2e, and started backup again. Will update once it finishes. One thing that scares me is that now XOA is saying that XVA might be broken. [image: 1686296039914-206f4cb2-9efc-424f-808b-cf55c0c03e4c-image.png]
  • Host/Guest Console Scrolling

    7
    0 Votes
    7 Posts
    2k Views
    R
    @olivierlambert Hi there I also have this issue. Neither in XCP-NG-Center nor in XO I am able to use Shift + PgUp to scroll upwards. (Just nothing happens) I tested it with Ubuntu 18, 20 and also with Rocky 9.1 VMs. Is there a way to activate it? Many thanks, Cheers
  • xoa api SR space usage

    4
    0 Votes
    4 Posts
    408 Views
    V
    @jedimarcus thank you i will have a look!
  • Mirror Backup Testing, So Far Awesome!!

    12
    1 Votes
    12 Posts
    1k Views
    planedropP
    This is all so cool, love to see a platform under this level of development.
  • How do I create a new plugin?

    Unsolved
    7
    0 Votes
    7 Posts
    1k Views
    H
    @olivierlambert, To start I would like to get my backup notification sent to HomeAssistant.
  • XOA 5.83.0 Backups Failing

    4
    0 Votes
    4 Posts
    368 Views
    planedropP
    @olivierlambert Yeah no worries, was a minor issue overall anyway! Just figured I'd make my own post about it since the other post mentions CR but not Disaster Recovery, the fix definitely works for both though!
  • Backup remotes and resume

    5
    0 Votes
    5 Posts
    633 Views
    olivierlambertO
    @MrNaz Because the way the VHD disk is exported: it's only sequential, and the HTTP connection doesn't support "pause"/"resume" or "seek" into something. The protocol itself doesn't support those "commands" if you like. That's exactly why NBD was created in the first place.
  • Missing schedule at backup health

    5
    2
    0 Votes
    5 Posts
    350 Views
    florentF
    @Tristis-Oris said in Missing schedule at backup health: @florent it begins few days ago and increase every day. Probably after backup tasks - most of them happens at night. Update itself don't change this number. the number will only decrease when these backup will be merged after their retention period ends I will check on our lab if we're still creating some
  • XO/XOA CR not removing old VMs on destination SR

    Solved
    9
    0 Votes
    9 Posts
    692 Views
    olivierlambertO
    Thanks everyone for your feedback!