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.
  • XO Dashboard

    3
    1
    0 Votes
    3 Posts
    389 Views
    F
    @gskger Thank you. I tough it would be but wanted to be sure
  • Connecting xen to vault

    5
    0 Votes
    5 Posts
    318 Views
    S
    @olivierlambert its custom config, not any bug. Ill point it out what i mean below. I have standard ubuntu template -> I would like my vm to be already customize, when its created, because its faster and easier when everything is in one place -> So for that i have created cloud-init for eg.-> #cloud-config hostname: <hostname> package_update: true package_upgrade: true write_files: - path: /etc/ssl/certs/mydomain.crt content: | <certificate data> - path: /etc/ssl/private/mydomain.key content: | <private key data> runcmd: - apt-get update - DEBIAN_FRONTEND=noninteractive apt-get upgrade -y So my main problem is that this, particular cloud-init has fixed <certificate data> and <private key data>, that i would like to not be passed as a plain text, because it is a secret. To me its not done (for now) with best practices, but its very comfortable. So finally, i am wondering what is the best solution, for not putting secrets as a plain text, but rather keep them as a secret. I could create templates and later delete cloud-config with those data, but it would be more flexible, if there would be any chance to connect it to Hashicorp Vault or something that will dynamically fetch secrets.
  • XO task watcher issue/CR broken

    Solved
    71
    0 Votes
    71 Posts
    23k Views
    JamfoFLJ
    @julien-f I just wanted to update and let you know that whatever changes you made fixed the issue for me permanently! I have been able to routinely update since that time and have had no further issues. Thanks for all of your hard work, Julien-f!
  • Bug: 55k Snapshot

    Solved
    6
    1
    0 Votes
    6 Posts
    605 Views
    olivierlambertO
    I think we fixed this bug in latest
  • self signed certificate in certificate chain

    19
    0 Votes
    19 Posts
    6k Views
    E
    FWIW I just got bit by this same thing, spending half a day yesterday kicking the wall. I think I got about 2/3 of the way just by trial and error on the cert's. Would love to see this doc'd with the proper method, using an in-house local CA (not a public CA).
  • Delta Backups using wrong Base Backup

    Solved
    3
    3
    0 Votes
    3 Posts
    348 Views
    H
    @Andrew okay now I understand! Thanks a lot!!!
  • Adding VMs to "smart mode" DR / Delta backup? (FIXED)

    Solved
    5
    0 Votes
    5 Posts
    570 Views
    Z
    @olivierlambert The update has fixed it, thanks!
  • NFS SR VMs data lost

    Solved
    5
    2
    0 Votes
    5 Posts
    1k Views
    T
    @olivierlambert ... Thank you Olivier, I feel so stupid... I found everything back as you said Thank you very much ! Now I understood my mistake Best regards, Martin
  • Installing XOA on XCP-ng 8.3.0 alpha

    15
    0 Votes
    15 Posts
    5k Views
    D
    @olivierlambert Oh, this makes more sense now. I somehow mixed up the appliance with the actual XO platform. Will go through the docs. Thanks!
  • Trouble doing Continuous Replication on pool (XOA)

    15
    0 Votes
    15 Posts
    901 Views
    olivierlambertO
    Also a dmesg might be interesting
  • XOA stuck on Importing stage

    7
    3
    0 Votes
    7 Posts
    732 Views
    olivierlambertO
    I can only assume that the nested mechanism is blocking the network at some stage, but I don't have time myself to investigate deeper.
  • VMware import 404 error

    27
    0 Votes
    27 Posts
    3k Views
    S
    @florent
  • error when modifying backup metadata

    3
    0 Votes
    3 Posts
    306 Views
    julien-fJ
    @Gheppy It should be fixed, thanks for your report! https://github.com/vatesfr/xen-orchestra/commit/b5578eadf7356098ac2fa4af63b75b18d34ba558 0 julien-f committed to vatesfr/xen-orchestra fix(xo-server/sr.{create,set}): name can be empty Fixes https://xcp-ng.org/forum/post/59937 Introduced by 65168c853
  • Continuous Replication on a large VM

    6
    0 Votes
    6 Posts
    1k Views
    J
    @Gheppy cool thanks. Good to see some real-world experience with a similar setup!
  • OpenId Login via Keycloak

    16
    0 Votes
    16 Posts
    2k Views
    julien-fJ
    @prononext @mandrav The problem of empty username has been fixed in master. The support of email for username field is currently in review in the PR linked in my previous message and will be available soon Thanks for your help!
  • USB Passthrough of licensing dongle

    9
    0 Votes
    9 Posts
    3k Views
    K
    I am using USB-servers from SEH and Silex. Both of them are working. Silex can provide higher Performance - SEH is IMHO nicer for license-dongels, etc.
  • XOA - Browse backups and filter by Remote

    2
    0 Votes
    2 Posts
    82 Views
    DarkbeldinD
    @KPS Hi, I don't think it's possible but I could be wrong perhaps an advance filter could do that.
  • 0 Votes
    5 Posts
    702 Views
    julien-fJ
    @hannes Full backup interval (and Force full backup in the schedule settings) forces the job to do a full export of the disk and not a delta based on a previous one. It is not impacted by the retention as XO will always makes sure every chain has at least a full export at the beginning so that all backups are viable. Which means you will have multiple full backups, always one at the beginning, and, those that have been triggered by the settings above.
  • How to turn imported Windows VHD disk into VM?

    12
    3
    0 Votes
    12 Posts
    2k Views
    J
    @rk9268vc sorry if this is too simple but I just went through this and had the same error in your screen shot.. .my problem was finding the correct uuid,, then my second problem was forgetting to change the VHD to vhd as the program I used left the letters in caps.
  • xcp having issues with dates for vms

    Solved date
    8
    1
    0 Votes
    8 Posts
    717 Views
    D
    @julien-f thank you, much appreciated!