Subcategories

  • VMs, hosts, pools, networks and all other usual management tasks.

    375 Topics
    3k Posts
    M
    @Danp Hi, I'll try this. Thank you very much. Best regards Mattmurdock78
  • ACLs, Self-service, Cloud-init, Load balancing...

    93 Topics
    782 Posts
    T
    @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
  • All XO backup features: full and incremental, replication, mirrors...

    388 Topics
    4k Posts
    olivierlambertO
    Use XO to connect on the host with the 10G network IPs addresses.
  • 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.
  • Delta Backup transferred thru slow management network...

    8
    0 Votes
    8 Posts
    1k Views
    I
    @darkbeldin Any additional idea, why this still happens after the suggested change? Many thanks!
  • VM Migration stuck at 0% VM metadata import

    2
    1
    0 Votes
    2 Posts
    1k Views
    olivierlambertO
    Please check your XOA is fully up to date
  • Delta backup Questions

    2
    0 Votes
    2 Posts
    284 Views
    olivierlambertO
    The initial job will take some time, but it will be fine after that. You can modify the job after getting your second or third run, to see how much data between each run is generated
  • Performance enancement for backups possibe?

    feature to groom
    5
    0 Votes
    5 Posts
    881 Views
    julien-fJ
    Ok, let me know
  • Encrypt server passwords in database

    4
    0 Votes
    4 Posts
    603 Views
    olivierlambertO
    I'm not an English native speaker, it wasn't meant to be passive aggressive at all. I just told you that @julien-f already explained the initial reasons (also telling you we are aware of that fact). Also, XO 6 work is a major rework of the whole thing, and this will be taken into account on our redesign. A note, however: if someone can slip into your XOA, password, tokens and XAPI access are available in memory (regardless the fact you have encryption or not). In that case, a passphrase won't change anything. That's why we decided to remove any default password in the XO virtual Appliance template, so nobody still use default creds as a "known" entry point. And finally, as Xen Orchestra is fully Open Source, your contributions are very welcome
  • [SOLVED] Migrate XO from sources to another machine

    Solved
    3
    0 Votes
    3 Posts
    470 Views
    xiscoX
    @danp hi I did it but, no network shares have been imported and neither backup jobs. will try to reboot machine Well Rebooting did the job, thanks @Danp
  • XOA Hub

    xoa
    7
    0 Votes
    7 Posts
    1k Views
    olivierlambertO
    Can you give some details? How do you imagine to work with that? Because it might be done via RunX at some point I think
  • s3 backups with minio using https and various CAs

    5
    1
    0 Votes
    5 Posts
    892 Views
    nraynaudN
    @sidsanders Hi, I gave a look at your issue, it seems that it is often associated with the ssl certificate missing the middle of the Merkle chain. here are a couple of explanations: https://serverfault.com/questions/693033/unable-to-use-builtin-ca-bundle-to-verify-godaddy-sha2-ssl-certificate https://www.npmjs.com/package/ssl-root-cas I suspect that the certificate you gave to minio was incomplete. Note that the chain of certificate should not include the root certificate, only all the certificates in the chain minus the root. Nico.
  • Disaster Recovery Backups - Remove 'Auto-Start' field?

    8
    0 Votes
    8 Posts
    988 Views
    T
    I do not get this problem on XCP-ng 8.1, just to add more information.
  • Import problem which Mikrotik Cloud Hosted Router

    10
    0 Votes
    10 Posts
    3k Views
    nraynaudN
    I think the issue is solved, you can follow the fix here: https://github.com/vatesfr/xen-orchestra/pull/5903 nraynaud opened this pull request in vatesfr/xen-orchestra closed fix(xo-server/{disk,vm}.import): fix import of very small VMDK files #5903
  • xoa setup static ip

    11
    0 Votes
    11 Posts
    16k Views
    kdmK
    @tony Yes, that's the setting I was talking about. OKay. I've no idea what VIF-locking is, so I'll leave it there! Thanks again.
  • Ubuntu 20.04 Cloud Image

    14
    0 Votes
    14 Posts
    4k Views
    T
    @encryptblockr Why don't you just download the official cloud image from ubuntu? It's not worth the headache lol. https://cloud-images.ubuntu.com/releases/focal/release/ubuntu-20.04-server-cloudimg-amd64.ova
  • Override migration network for Metadata backup when pool default is set

    1
    0 Votes
    1 Posts
    340 Views
    No one has replied
  • CANNOT_EVACUATE_HOST VM_REQUIRES_SR

    7
    0 Votes
    7 Posts
    2k Views
    olivierlambertO
    More or less yeah, but you are adding more moving pieces.
  • cloud-init disk not created when cloning a cloud-init ready template

    7
    0 Votes
    7 Posts
    482 Views
    olivierlambertO
    Oh okay, so it's not a NAT issue then (thought XOA and the host were not together). Might be this issue then, please comment in the GH issue you posted to report you have the same problem edit: with your log too!
  • Created cloud config, but can't select it when creating a new VM.

    36
    3
    0 Votes
    36 Posts
    14k Views
    fohdeeshaF
    @dr4s1l-0 @Dr4s1l-0 you will not see the config drive mounted in your system, cloud-init only mounts it temporarily very early on in the boot process, copies the found config files off of it, and unmounts it. Mounting it manually will just cause more issues. You can probably see it being mounted early on in the logs in /var/log/cloud-init.log Cloud-init has introduced a ton of bugs this year and has no documentation regarding them, it has been a nightmare to try and track down these issues - I have a support customer with the same issue on recent versions of ubuntu and I've gotten nowhere. At this point I think it's best to take it up with the upstream project, cloud-init - from the XOA/XCP perspective we're doing everything we can, resulting in presenting a properly configured config drive - any issue after that is the cloud-init package
  • Talk to xo-server with PHP?

    5
    0 Votes
    5 Posts
    716 Views
    olivierlambertO
    See also https://xcp-ng.org/forum/topic/4538/xoa-json-rpc-call-basic-exemple
  • NO_HOSTS_AVAILABLE vs Not Enough memory Available

    Solved
    6
    0 Votes
    6 Posts
    1k Views
    olivierlambertO
    Short answer: yes.
  • Thousands of tasks Xapi#getResource /rrd_updates (on xcp-ng-01) 0%

    Solved community
    9
    1
    0 Votes
    9 Posts
    2k Views
    M
    @olivierlambert Thanks. As always you guys are great. Thanks for this opensource project! Tasks have cleared up.
  • Feature request: Show cron job summary for all backups

    feature in backlog
    6
    1
    0 Votes
    6 Posts
    905 Views
    julien-fJ
    @marcungeschikts Yes, it's the third point of the GitHub issue