Subcategories

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

    476 Topics
    4k Posts
    acebmxerA
    So if i set VMs to Best-effort or disabled for HA i get not enough memory. @pkgw Do you have Twinstore configured and/or HA enabled? If no I will continue my issues at the twinstore post. If i set to restart i get this.... host.setMaintenanceMode { "id": "35233210-4e37-4703-9bf6-9e8a9c24df9f", "maintenance": true } { "code": "HA_OPERATION_WOULD_BREAK_FAILOVER_PLAN", "params": [], "call": { "duration": 5, "method": "host.disable", "params": [ "* session id *", "OpaqueRef:d9bd976f-445c-8244-1b56-879f446efc12" ] }, "message": "HA_OPERATION_WOULD_BREAK_FAILOVER_PLAN()", "name": "XapiError", "stack": "XapiError: HA_OPERATION_WOULD_BREAK_FAILOVER_PLAN() at XapiError.wrap (file:///opt/xen-orchestra/packages/xen-api/_XapiError.mjs:16:12) at file:///opt/xen-orchestra/packages/xen-api/transports/json-rpc.mjs:38:21 at runNextTicks (node:internal/process/task_queues:65:5) at processImmediate (node:internal/timers:472:9)" }
  • ACLs, Self-service, Cloud-init, Load balancing...

    105 Topics
    864 Posts
    M
    Is a centralized XOA server "managing" two remote Proxy-fronted XCP clusters supported with the SDN Controller Plugin? We are looking to deploy an architecture similar to this blog post from 2022: https://xen-orchestra.com/blog/xo-proxy-a-concrete-guide/
  • All XO backup features: full and incremental, replication, mirrors...

    515 Topics
    5k Posts
    itservicesI
    Hi @simonp. The problem is gone with commit 44e5b!!! Up-to-date XCP-NG host and XenOrchestra VM were restarted after updating XenOrchestra. I just initiated a full backup and all VMs - including my problematic machine - were backed up successfully without error. Awesome! I will wait with closing until the scheduled delta backup is completed successfully, too. Edit: Scheduled backup ran without issue. The problem seems to have been resolved! Thanks for all your work and assistance Regards, Marc
  • Everything related to Xen Orchestra's REST API

    86 Topics
    645 Posts
    J
    Hello I'm pulling stats for all VMs to understand CPU usage. We're a bit behind the curve in terms of XO versions, but these questions hopefully are still relevant. If using a granularity of days, the interval is set to 86400 (understandably) but the endTimestamp varies. Running this on June 9th @ ~1740 we get timestamps for both Mon Jun 8 01:00:00 AM BST 2026 and Tues Jun 9 01:00:00 AM BST 2026. Does this average across the day? Why is the timestamp 0100? Why would there be different timestamps between VMs (all are running) and does that mean that the figures are misaligned in the results? These are retrieved via curl and a bash script, a bit hacky, but for clarity the request is: ++ curl -X GET -s -H accept:application/json -b authenticationToken=[[REDACTED]] -o [[REDACTED]] 'https://[[REDACTED]]/rest/v0/vms/[[REDACTED]]/stats?granularity=days' Really keen to know if we can control the start and endtime, as well as provide a manual interval, as well as the aggregation strategy (min, max, average). Are any of these possible? Lastly, is cpuUsage the percentage as per the dashboard, but averaged over all CPUs? Thanks so much in advance. James
  • Terraform, Packer or any tool to do IaC

    51 Topics
    471 Posts
    poddingueP
    The Kubernetes CSI driver for Xen Orchestra just hit v0.4.0, and we want it on more real clusters before it reaches a stable release candidate. If you run Kubernetes on XCP-ng VMs, this is a good time to give it a proper workout. What's new in v0.4.0: Local-storage support Automatic pool-discovery fallback Kubernetes metadata now lives in Xen Orchestra VDI tags instead of the deprecated other_config. That change also drops the old requirement for Xen Orchestra 6.4 or newer, so the driver runs on more deployments now. ️ Read this before you upgrade. v0.4.0 is a breaking change. The Kubernetes metadata moved from other_config to VDI tags, so you must migrate before upgrading from v0.3.0. Do not upgrade in place: follow the v0.3.0 to v0.4.0 migration guide in the release notes, then move to v0.4.0. What helps us most is hearing how it behaves on your own setup: what works, what breaks, which storage backend you use, and which flavour of Kubernetes you run (k3s, full k8s, or something else). Edge cases on real clusters are the ones we don't see in our own testing. Where to report: start right here in this thread. It keeps everything visible to the community and lets others on the same setup jump in. If something turns out to be a reproducible bug, we'll move it to a GitHub issue on the repo so the team can track it to a fix. Release notes and migration guide: https://github.com/vatesfr/xenorchestra-csi-driver/releases/tag/v0.4.0
  • xo-cli vm.migrate mapVifsNetworks object syntax

    3
    0 Votes
    3 Posts
    576 Views
    olivierlambertO
    @julien-f I think someone should update the doc with a real example
  • Xen Orchestra Quick Deploy Fails

    5
    1
    0 Votes
    5 Posts
    3k Views
    P
    @Danp Good catch, can't believe I missed that. Unfortunately, that produced a new error; Error code: SR_BACKEND_FAILURE_77 Error parameters: , Logical Volume group creation failed, From some googling around it appears the issue is that the disks still have a zfs_member tag on them. lsblk -f produces this: NAME FSTYPE LABEL UUID MOUNTPOINT sdd zfs_memb ├─sdd2 zfs_memb data 305869021769108511 └─sdd1 zfs_memb sdb linux_ra localhost:127 1d7d1927-dfdb-c8a8-4af1-b25c2b355a7a └─md127 zfs_memb boot-pool 17799519329276801846 ├─md127p5 ext3 logs-efkbam 0deeb614-6788-45f9-92b7-0f6acc05da6d /var/log ├─md127p3 zfs_memb boot-pool 17799519329276801846 ├─md127p1 ext3 root-efkbam 62e0f462-29f8-4c2a-8df7-bed45c144a4a / ├─md127p6 swap swap-efkbam 26a6ce99-d4fd-43d1-8a27-79bddafb8707 [SWAP] ├─md127p4 vfat BOOT-EFKBAM 0B9B-C4C7 /boot/efi └─md127p2 sde zfs_memb ├─sde2 zfs_memb data 305869021769108511 └─sde1 zfs_memb sdc linux_ra localhost:127 1d7d1927-dfdb-c8a8-4af1-b25c2b355a7a └─md127 zfs_memb boot-pool 17799519329276801846 ├─md127p5 ext3 logs-efkbam 0deeb614-6788-45f9-92b7-0f6acc05da6d /var/log ├─md127p3 zfs_memb boot-pool 17799519329276801846 ├─md127p1 ext3 root-efkbam 62e0f462-29f8-4c2a-8df7-bed45c144a4a / ├─md127p6 swap swap-efkbam 26a6ce99-d4fd-43d1-8a27-79bddafb8707 [SWAP] ├─md127p4 vfat BOOT-EFKBAM 0B9B-C4C7 /boot/efi └─md127p2 sda └─sda1 So it appears my next step is sorting that out. Unfortunately the only way of clearing these tags that I've found so far seems to be wiping the drives completely and starting over? If so that's going to suck as I don't have physical access to the machine right now. If anyone has any suggestions for removing errant zfs_member tags (this machine previously hosted a TrueNAS install) without wiping the whole damn machine, I'd be eager to hear them. If not it'll have to wait until I'm back in the office I guess. Thank you again @Danp for your help.
  • xen orchestra installation failed

    22
    2
    0 Votes
    22 Posts
    12k Views
    olivierlambertO
    You need to set a default sr with this command: xe pool-param-set uuid=<pool-uuid> default-SR=<sr-uuid>
  • Can't move VM - operation failed

    2
    0 Votes
    2 Posts
    653 Views
    E
    Well, it seems like it works if I create a snapshot and create a new VM from the snapshot on the new server. Should be workable for my need.
  • Backup error with space available

    ticket closed
    50
    0 Votes
    50 Posts
    21k Views
    olivierlambertO
    That's really weird
  • i can't load my network dhcp in my xoa

    1
    3
    0 Votes
    1 Posts
    443 Views
    No one has replied
  • S3 backup fails without alert

    4
    0 Votes
    4 Posts
    549 Views
    A
    @florent It looks like the restore test failed because the connection stream failed (and did not retry). It's hard to test this particular one because it is rather large. A good reminder to have more than one backup method (I do). I'll look for a XO update and see what changes. It is scheduled to do a full backup soon (as normal) to make sure issues like this are not a long term problem.
  • Start VM based on powerstate

    2
    0 Votes
    2 Posts
    374 Views
    AtaxyaNetworkA
    @wahla Hello ! In XO you can search "power_state:halted", select all VMs, and start If you want to do it automatically, I think you can script it with xe, but the best way is to understand why VM are shutting down or doesn't restart
  • Upper limit for XVA import size

    4
    0 Votes
    4 Posts
    1k Views
    olivierlambertO
    Try with xe then.
  • New server pool not showing in XOA

    3
    0 Votes
    3 Posts
    988 Views
    2
    @Andrew all that was okay. The proxy string was incorrect, now working. Thanks
  • Debian template console login

    6
    0 Votes
    6 Posts
    1k Views
    olivierlambertO
    If you want to login manually without any SSH key, you have to add a password for the account (passwd). Then you can log in with your Debian user with this password.
  • Xen orchestra VM Console broken?

    36
    0 Votes
    36 Posts
    18k Views
    B
    Updated to Master build, a66ae, xo-server 5.92.0, xo-web 5.96.0. Consoles seem to work fine again. thanks all!
  • 0 Votes
    3 Posts
    519 Views
    planedropP
    @Danp I'll do some more digging on this once I have some time and see if I can find anything in the logs. I didn't have a chance to look yesterday when I was working on this. It might be worth noting that I was trying to setup an S3 remote, not sure if it would happen with another one and maybe it has something to do with timing out (was trying to hook into Backblaze which doesn't seem to be working right either, works fine on all my other machines running TrueNAS and stuff but can't get it connected with XCP-ng, other S3 places like Wasabi and Amazon work fine though). I'll update this thread with more info once I do some more testing, might have time this weekend but not sure yet, and this is in a production environment, so I do want to be careful about causing potential issues.
  • Default Login for the Ubuntu 20.04 XO Hub Template

    4
    0 Votes
    4 Posts
    3k Views
    olivierlambertO
    Click on "More details" to get it
  • Zstd for Delta Backup

    2
    0 Votes
    2 Posts
    483 Views
    olivierlambertO
    Zstd is for XVA file format compression. There's no compression on delta, because we need to merge them on destination, when retention is reached (inside the backup repository). So it doesn't really worth it (since you'll have to decompress them to do the merge).
  • Problems with trying to recover data after full local storage

    5
    1 Votes
    5 Posts
    2k Views
    O
    Hello, mtill ! In this situation, you may try to recover the stored data on the RAM because, in your case, the data was overwritten in the RAM. The number of recovered files by this method depends on the RAM size, the size of files that was overwritten by this way and by the time running this process. I can suggest you use a specialized recovery service like raid recovery service to ensure that you will restore more data you can. I wish you a bit of good luck.
  • Not a real issue, just looking for some knowledge ...

    4
    0 Votes
    4 Posts
    1k Views
    olivierlambertO
    I agree, I don't think it's a technical limitation, just a use case not "covered"
  • DNS queries during backup job

    27
    0 Votes
    27 Posts
    14k Views
    julien-fJ
    The DNS cache has been merged, keep us posted if you have any issues.
  • LDAP Groups are Empty

    3
    0 Votes
    3 Posts
    1k Views
    K
    @Darkbeldin Got ya, thanks!
  • Restore 'expected values' error

    4
    0 Votes
    4 Posts
    467 Views
    olivierlambertO
    Oh okay, it's a problem on restore. Then there's something wrong on the backup chain. Any hint @julien-f ?