Subcategories

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

    380 Topics
    3k Posts
    C
    I have upgraded from 8.2.1 to 8.3. No I cant see any stats anymore. But I get a lot of these messages: { "id": "0mfjnqn6i", "properties": { "method": "vm.stats", "params": { "id": "2dd9279e-1f06-0151-6b9a-1ebf29d48edc" }, "name": "API call: vm.stats", "userId": "7a3187b0-312e-43f9-9870-cfd591078f02", "type": "api.call" }, "start": 1757852076761, "status": "failure", "updatedAt": 1757852076845, "end": 1757852076845, "result": { "errno": -111, "code": "ECONNREFUSED", "syscall": "connect", "address": "127.0.0.1", "port": 443, "message": "connect ECONNREFUSED 127.0.0.1:443", "name": "Error", "stack": "Error: connect ECONNREFUSED 127.0.0.1:443\n at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)\n at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:128:17)" } } To me it looks like XOA tries to load the data from 127.0.0.1. I have another pool connected to that XOA. Also 8.3. No issues. Therefore I assume it is not my XOA that causes that problem. I also update to the latest version via git pull. No change. Anyone and idea why this is? BR C
  • 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
    utopianfishU
    @nikade My 10gb nic are directly connected to my hosts.. i dont have a 10gb switch.. the mgmt is connected via switch ports...
  • 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.
  • XOA deploy error

    Solved xoa deploy error xcp-ng 8.3
    28
    1
    1 Votes
    28 Posts
    11k Views
    nathanael-hN
    @HamiltonWDS Thanks for the report. As it works with wget let use it! I'll switch from curl to wget in doc. In the meantime some colleagues will investigate more.
  • SAML Auth with Azure AD

    15
    1 Votes
    15 Posts
    3k Views
    olivierlambertO
    Sure, happy to have a PR on our doc!
  • XOA Failing on Check-in

    19
    1
    0 Votes
    19 Posts
    1k Views
    olivierlambertO
    Thank you very much for the clear explanation @HamiltonWDS ! This will be really helpful so we find a solution for that. We might default to IPv4 for a lot higher latency, and in the future maybe having closer location mirrors. Let me discuss this internally and schedule an action for that.
  • How do you clone a VM to another host?

    11
    0 Votes
    11 Posts
    6k Views
    D
    The simple answer here is to use the Continuous Replication backup type. It'll copy the VM to another host on whatever schedule you set. It couldn't be simpler.
  • Hub and Templates

    2
    0 Votes
    2 Posts
    232 Views
    olivierlambertO
    Hi! Yes, we'll develop the hub in the future, we just lack the resource internally to prioritize this against the rest, but as we a growing fast, expect more things coming in here
  • Guest Tools Recognized as Wrong Version

    4
    0 Votes
    4 Posts
    458 Views
    olivierlambertO
    I have no idea for the legacy Linux tools, they are badly coded and you can get rid of them entirely We've been using them in prod since almost a year without any issue. 1.0 will come soon but it's already very stable and safe (it's written in Rust). Our goal is to get them in all Linux distro upstream ASAP.
  • Backup to S3 aborted what permissions are required?

    backup aws
    26
    0 Votes
    26 Posts
    7k Views
    A
    Posted this as I personally found this configuration quite involved, and the permissions earlier in the thread were insufficient to make it work when using AWS KMS for bucket encryption as well as the XO provided encryption secret.
  • How it works the NBD? I don't see improvements

    7
    0 Votes
    7 Posts
    833 Views
    M
    @olivierlambert If you want me to check anything else, just tell me and I will test for you. Many Thanks BR Marco
  • Cloud Config success

    cloudinit config
    7
    3 Votes
    7 Posts
    2k Views
    M
    @mtcoffee Thank you. Just what I need.
  • Warm Migration HOST_CANNOT_ATTACH_NETWORK

    3
    0 Votes
    3 Posts
    224 Views
    J
    @nick-lloyd So looked at the network ports on the host it is going to. They show disconnected due to they are in a bond lacp so the 2 network ports show as disconnected but the bond shows as connected. Also have other VMs running on the receiving host so know the bond is working.
  • possible bug for cpu stats in XOA 5.101.0

    4
    2
    0 Votes
    4 Posts
    221 Views
    J
    Doesn’t the status history go back 1 year? Thanks for the info I’ll restart it and clear it
  • Can't copy between hosts

    8
    0 Votes
    8 Posts
    478 Views
    olivierlambertO
    Check XO Lite and XO 6, it will be closer to your habits, but not XenCenter is only community supported (we don't want to support it at Vates)
  • Ubuntu 22.04 template

    3
    0 Votes
    3 Posts
    271 Views
    F
    @olivierlambert said in Ubuntu 22.04 template: Is your XCP-ng fully up to date I am running 8.3 latest. I also found this guide since which helped #https://docs.xcp-ng.org/guides/create-use-custom-xcpng-ubuntu-templates/
  • XOA - Console freezing every few seconds consistently.

    Solved
    13
    0 Votes
    13 Posts
    866 Views
    olivierlambertO
    Great news, nice catch
  • Cannot Download Exported VM After Export Task Completes Successfully

    Unsolved
    18
    2
    0 Votes
    18 Posts
    1k Views
    K
    @olivierlambert Yep. Here's the video of the test - https://www.youtube.com/watch?v=tiVdR74PNjw
  • SR_BACKEND_FAILURE_108 | Unable to Add a Second NFS Storage Repository

    Solved
    4
    0 Votes
    4 Posts
    392 Views
    K
    @olivierlambert You're most welcome. XCP-ng + Xen Orchestra is a solid solution and I would very much like to see it get adopted within my organization, so I'll do anything (legal of course) to work through these problems and share the solutions, so the entire community can benefit.
  • Dynamic cloudinit network config [FEATURE REQUEST]

    7
    1
    0 Votes
    7 Posts
    634 Views
    D
    @julien-f Would that be something like this for a dynamic network config as an example? network: version: 1 config: - type: physical name: enX0 subnets: - type: static address: 192.168.99.{index}/24 gateway: 192.168.99.1 - type: nameserver address: - 172.31.31.1 - 192.168.45.11 search: - example.tld I plan to test this at some point, but I don't do a whole lot of bulk provisioning myself. Just curious.
  • Ubuntu 24.04 Cloud Image Template Not Working

    14
    0 Votes
    14 Posts
    3k Views
    D
    @encryptblockr said in Ubuntu 24.04 Cloud Image Template Not Working: did you mount the guest tools cdrom to the cloud image before you created a template from it? No, I just make my base images (for the end template) as generic as possible, and I do all mounts, package installs, accounts, keys, including the xe-guest utils package all in the user-data config for cloud-init. Makes the configurations more uniform across all stacks I have to maintain and scales really well with jinja templates. also what is point of {name}% in below? can you explain? where does it get {name} from and what is % use? That pulls the hostname from metadata that is provided by the nocloud datasource. If you ever want to see all the metadata available (for example, say your provisioning plane does dynamic configuration from some backend IAS platform, and you need logic that renders metadata to run different configurations; run the following after login: cloud-init query -a For example, I run different configurations based on what the 'distro' value is - example: cloud-init query -f {{v1.distro}} {% if distro in ['rocky', 'ol', 'centos', 'fedora', 'redhat', 'almalinux'] -%} //do the rpm things// This allows us to run completely different configuration settings based on what distro its being run in, or even what virtualization platform it is running on. Some platforms won't use the hostname, or fqdn meta values, so I have some if logic that only adds it when vendordata is null, example; {% if vendordata == '' %} fqdn: {name} {% endif %} Probably more than you wanted to know, but that's a brief summary of cloud-init metadata.
  • [SOLVED] How to install guest tools via apt?

    Solved
    2
    2
    0 Votes
    2 Posts
    3k Views
    E
    so i imported a new VM and made sure i mounted the guest-tools iso to it before converting it to template i just tried this and it worked!!! #cloud-config hostname: someotheruser ssh_authorized_keys: - ssh-rsa AAAAxxx - ssh-rsa AAAAxxx - ssh-ed25519 AAAAxxx runcmd: - [mkdir, -p, /mnt/guest-tools] - [mount, /dev/cdrom, /mnt/guest-tools] - [bash, /mnt/guest-tools/Linux/install.sh] - [umount, /dev/cdrom] - [rm, -rf, /mnt/guest-tools]
  • Can backups be "imported"?

    4
    0 Votes
    4 Posts
    736 Views
    J
    @olivierlambert Based on what you mentioned about losing everything and rebuilding, if you reconnect to the NFS share, will you be able to see the VMs listed below, or would additional steps be required to recover them? Thanks! [image: 1733646346634-a2bede49-af10-45e8-9014-7c70143688cf-image.png]