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.
  • This topic is deleted!

    1
    1
    0 Votes
    1 Posts
    43 Views
    No one has replied
  • Help with stuck delta backups.

    9
    0 Votes
    9 Posts
    2k Views
    olivierlambertO
    You have a problem on your XCP-ng, this is not related to a XO issue. It's stuck doing a snapshot, which is really a basic operation that shouldn't fail at all. Double check your SMlog on the host.
  • Remotes not mounted after upgrade

    4
    0 Votes
    4 Posts
    857 Views
    2
    It looks like I can remove the remotes and set them up again, and configure the backup jobs to address the new share. That's okay, there are not too many.
  • How to start an XOA continuous replication image at the backup end?

    7
    0 Votes
    7 Posts
    926 Views
    olivierlambertO
    You need one XOA, connected to both pools. It will stream the VM content (delta) from the source to the destination. You don't need any directly link between your SR in both DCs. You DCs can be isolated with just one XOA connected to both, and it will work.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • Can't access Orchestra after build

    4
    1 Votes
    4 Posts
    673 Views
    B
    I was able to fix my issue by adding http to firewalld.
  • Delta backup failes if previous transfer isnt done.

    4
    1
    0 Votes
    4 Posts
    517 Views
    olivierlambertO
    No XCP-ng/XenServer workaround, it's a "built-in"/by design limitation (it's considered as "stalled"). So your goal would be to avoid these extremely long tasks (ie: to finish before the task is destroyed)
  • scheldued snapshots and manual snapshots

    Moved
    6
    1
    0 Votes
    6 Posts
    1k Views
    olivierlambertO
    You'll end up with a chain, yes (so every read will need to make "hops" on each member of the chain). Longer the chain, slower the operation. But it shouldn't be too catastrophic either (for a heavily IOPS loaded VM, you'll notice the difference, but not in other less IOPS hungry scenarios)
  • Changing delta backup schedules breaks backups.

    5
    0 Votes
    5 Posts
    460 Views
    ForzaF
    The error I get when changing snapshot schedule is [image: 1554793685216-delta-fail_1.png]
  • shanshot scheldue - no snapshots visible in XCP-center

    Moved
    5
    1
    0 Votes
    5 Posts
    660 Views
    akurzawaA
    Sure, thanks. I'm using xoa and desktop app simultaneously. I hope that the desktop app will be available for long time.
  • Delete Log Backup-NG

    2
    1
    0 Votes
    2 Posts
    796 Views
    olivierlambertO
    No, because those logs are useful in case of problem (to find a potential bug). However, they are garbage collected automatically (the oldest ones) after a while.
  • Unable to copy a machine on the same host.

    9
    1
    0 Votes
    9 Posts
    2k Views
    olivierlambertO
    All I can tell is that's not an usual issue. Never heard of problem of this kind before… So yeah, there is something weird. Could be related to NFS permissions maybe, or something between XCP-ng and your NFS host. It's not XCP-ng code directly, because otherwise everyone else using NFS will endure the same problems. So it's more a "combo" between XCP-ng and your NFS within your infrastructure. Please read the wiki on where to check logs (especially SMlog) to spot potential hints on where's the issue.
  • Limit backup speeds

    6
    0 Votes
    6 Posts
    1k Views
    nikadeN
    @S-Pam Having a VIF for management and one for storage-traffic is a good solution, we do it that way to avoid crippling management during backups.
  • Where are the logs for "Backup NG" kept?

    Moved
    3
    1
    0 Votes
    3 Posts
    655 Views
    D
    sorry mate - you are correct - will do
  • XO new boot delay feature not working

    Moved
    8
    0 Votes
    8 Posts
    1k Views
    P
    Any ideas for a more elegant way than to write a script? For my point of view vApps should work without HA mode but unfortunately it doesn't work on my XCP-ng server. Only console/script start of the vApp using xe appliance-start uuid= "set here the uuid of the vAppp" is working. But it is again rework for the next XCP-ng version, I think manually set vices in systemd are not persistent through an update. Will vApp supported also in future? there are some discussions about it, if really needed.
  • Hardware for Orchestra

    Moved
    15
    0 Votes
    15 Posts
    5k Views
    A
    sorry for that okay will change it
  • xoa 5.30, cannot restart the host after 12 updates applied

    Moved
    2
    2
    0 Votes
    2 Posts
    292 Views
    olivierlambertO
    A soft reboot will try to migrate existing VMs (ie running on this host) to another host in the pool. Using Xen motion, so only if there is a shared storage. If it fails, then you need a force reboot, that will shutdown the VM, and then reboot the host.
  • Auto Power On VMs when reboot host

    Moved
    10
    0 Votes
    10 Posts
    9k Views
    olivierlambertO
    IIRC, we based the button in XO to do both modification at the same time when you set it up for a VM (in the pool if it's not enabled and in the VM). However, it's been a while I didn't check the code, I'll take a look to be sure
  • How do you remotly manage XO

    Moved
    8
    0 Votes
    8 Posts
    3k Views
    akurzawaA
    Only thru VPN.
  • Email alerts

    Moved
    3
    0 Votes
    3 Posts
    2k Views
    akurzawaA
    Thank you