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.
  • Unable to install Advanced Telemetry

    4
    0 Votes
    4 Posts
    457 Views
    gskgerG
    @hitechhillbilly What XCP-ng version are you runing? With XOA Premium up-to-date and the Enterprise support plan, I think it is best to open a ticket and let the support team have a look (especially for a productive environment).
  • Imports from VMware take a long time

    4
    2
    0 Votes
    4 Posts
    996 Views
    H
    So I think I figured out my issue. The VMs I was importing were reading off the local storage of the ESX server which is a single SSD. Once I started one that was reading off the the storage device, it went much, much faster. I still have an issue with something else on imports, but I will open a ticket since I have support. Thank you for the help.
  • XOA Backup View High Network Usage

    3
    2
    0 Votes
    3 Posts
    311 Views
    planedropP
    @olivierlambert Sounds good, thanks as always! Not a big deal by any means, just figured I'd mention it.
  • Export list of Backup results (to TXT or CSV)

    5
    0 Votes
    5 Posts
    332 Views
    K
    @DustinB said in Export list of Backup results (to TXT or CSV): @KPS That might be sufficient for now if you can share it with me. I assume you mean if the backup files are deleted there is nothing to detect, correct? If the backup-files are deleted, the script does still "count" them, as it only parses the logs.
  • Backup fails only on master with VM_NO_SUSPEND_SR

    20
    0 Votes
    20 Posts
    1k Views
    olivierlambertO
    It's completely unrelated
  • Moving hypervisors to a new pool with VMs on local storage

    9
    0 Votes
    9 Posts
    580 Views
    H
    Yeah, I was going to but wanted to put it as a discussion with other people. Maybe someone else has had similar situation. I'll open a support ticket now. Thanks.
  • Shared SR between two pools?

    5
    0 Votes
    5 Posts
    1k Views
    ajpri1998A
    It is possible to have both AMD and Intel in the same pool. My homelab had it until recently when I upgraded RAM and retired the optiplexes just recently. Live migration will not work, however, shared storage will work. You just have to shutdown the VM and "Start on" the specific host. In the VM Advanced tab.
  • Updated Permissions Matrix for XO documentation

    4
    0 Votes
    4 Posts
    458 Views
    D
    @olivierlambert said in Updated Permissions Matrix for XO documentation: Hi! Thanks for your recap, however: ACLs will be massively revamped in the future (but it's already good to have a view at the moment) I'm not sure about the viewer permission regarding VM console I converted that to a Markdown, I did however lose the header column (wasn't really sure how to do that). Anyways let me know what you think, and the Viewer permissions I really wasn't sure what else would be granted, seems like its only meant to generate reports from XO for a given system/host.
  • XO Proxy not working

    23
    7
    0 Votes
    23 Posts
    8k Views
    olivierlambertO
    We made the proxy with the smallest attack surface possible, so I would say it's pretty safe. But indeed, and as usual, it's a perpetual balance benefits and costs
  • Self Service naming policies ?

    5
    0 Votes
    5 Posts
    656 Views
    D
    @olivierlambert Yes. Using Cloudbase-init. I'd like to use something like - hostname: uk-xcp-{something} Where {something} is a number that XO keeps track of per group so that for a new VM {something} is unique.
  • SAML Force ReAuth

    9
    0 Votes
    9 Posts
    966 Views
    julien-fJ
    @danielspahiu Thank you!
  • 10GB xfer speed

    11
    0 Votes
    11 Posts
    3k Views
    olivierlambertO
    That's exactly what I said When you create a SR into an NFS path, it will create a new folder with a unique ID (UUID). Then, all vhd files must be there "flat" (no subfolder). Also, the only format working is <uuid>.vhd, nothing else. You can generate an UUID pretty easily with uuidgen.
  • "An error has occurred" message on every VM's Disks tab

    5
    1
    0 Votes
    5 Posts
    510 Views
    JamfoFLJ
    @Andrew Thank you Andrew... sorry it took me a while to get back to you. It seems every time I have to go and update Node they change the method you need to do so and it takes me forever to figure out what I'm supposed to do. I still haven't figured that out, but that's on me. However, restarting the toolstack did not fix the issue, but restarting the XO Ubuntu host server did. I've not seen anything like that before, where I've had to reboot the entire host server after applying commits... but if it works, I shall not argue! Thank you again for all of your help. I hope you have a wonderful weekend and a fantastic holiday season.
  • 404 Error Migration from VMware

    4
    0 Votes
    4 Posts
    541 Views
    olivierlambertO
    @kenkaniff412 said in 404 Error Migration from VMware: 404 Not Found https://10.15.47.11/folder/5ef46e5c-6682-c9cd-48af-e4434b3e0130/vsan://5205fb491e65dc99-62e26f64d9b34c60/60f46e5c-8ca4-eea4-a0ff-e4434b3e0130?dcPath=ha-datacenter&dsName=VxRail-Virtual-SAN-Datastore-5364d40d-1687-4c72-b904-248c54599994 I was talking about this URI @florent Look at the /vsan:// part in the middle
  • Recover Admin Password when XOA CLI is not installed

    8
    0 Votes
    8 Posts
    1k Views
    julien-fJ
    @Pechkin000 It should be installed alongside xo-server, it depends how you installed XO on this. But still, it requires root access for security.
  • Managing vAPPs with XOA

    10
    0 Votes
    10 Posts
    1k Views
    olivierlambertO
    That's a bit re-inventing the wheel vs Terraform maybe?
  • In XOA, change Virtual disk properties (device position)

    4
    0 Votes
    4 Posts
    750 Views
    olivierlambertO
    Even if we add an UI to change it, I'm not sure that would be possible (or a good idea) to do it live
  • Need some customization in xen-orchestra

    3
    0 Votes
    3 Posts
    209 Views
    P
    Hey @olivierlambert, Thank you for update.
  • xo-upload-ova error

    7
    0 Votes
    7 Posts
    575 Views
    florentF
    @mdavico I will re test it tomorrow, to ensure the recent update didn't impact the cli
  • Backup to Azure?

    4
    0 Votes
    4 Posts
    898 Views
    A
    @poltushima As there is no S3 support in Azure Blob Storage, no you can't use XO for direct backup to Azure. There are S3 proxy projects (here's one) that could make it work.