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 CE migrate fails for VM - "Internal Error"

    13
    0 Votes
    13 Posts
    4k Views
    olivierlambertO
    @vmpr Please create an issue on Xen Orchestra GitHub repo, this way XO dev will see it
  • XO Backups and location of XO VM

    7
    0 Votes
    7 Posts
    2k Views
    julien-fJ
    @RKENS Good question, during the replication, a new VM is created with the same settings as the original one, and this at every run. Therefore that's perfectly normal that this property reappears. I don't see how that's a problem because, as you said it yourself, the start operation is disabled by the replication job. I think it makes sense that the auto start is set like on the original VM so you can simply start the replication when necessary without having to think about enabling it.
  • Continuous Replication, are delta's automatic?

    Solved
    2
    0 Votes
    2 Posts
    553 Views
    R
    I answered my own question. For continuous replication, delta's are automatic. I was thrown by a backup job where I mistakenly selected disaster recovery instead of continuous replication and didn't realize it.
  • XO Sources - yarn build - javascript heap out of memory

    5
    0 Votes
    5 Posts
    3k Views
    H
    You do need a lot of virtual memory for build but you can get by with 2GB ram + 4 GB swap if you tell nodejs to limit it self, by setting export NODE_OPTIONS='--max-old-space-size=3072' before starting the build process
  • 0 Votes
    3 Posts
    847 Views
    S
    @DustinB Thanks for replying, will definitely try this once.
  • Error on File Restore

    3
    0 Votes
    3 Posts
    927 Views
    A
    @AudiSys said in Error on File Restore: root@VMwXenOrchestra01:/run/sr-mount# tail -n 1 /etc/xo-server/config.toml useSudo = true Yes, as we can see in simple config file, listed in info related to problem. Thanks
  • XE vm-export compress options

    xo export
    8
    0 Votes
    8 Posts
    5k Views
    S
    @olivierlambert Haha, I lost belief in 'logical' many years ago. What I think is logical and what others think is logical, often is very different So, I still think it's great, cause it takes one command out of my CLI VM import pipe line
  • XO(A) + rclone

    6
    0 Votes
    6 Posts
    2k Views
    olivierlambertO
    In beta, but still Native support (not via a pseudo FS mount)
  • Power on mode greyed out

    5
    0 Votes
    5 Posts
    2k Views
    P
    Only my pool master is there. Although I made the change in: Home > Pools > "pool1" > Advanced > Master
  • Backup Remote VLAN

    Solved
    3
    0 Votes
    3 Posts
    859 Views
    K
    @jedimarcus Oh, that makes sense. XO is managing the backup so it needs an IP on the VLAN. I was focusing on the hosts. Once I added a network interface on the XO server for the VLAN, everything worked as expected. Thanks!
  • Private Network Creation Greyed Out

    private xoa networking
    8
    0 Votes
    8 Posts
    3k Views
    BenjiReisB
    Here's how to build it: https://xen-orchestra.com/docs/from_the_sources.html
  • Can't seem to properly create a K8S cluster

    xoa-recipe k8s
    6
    0 Votes
    6 Posts
    2k Views
    BenjiReisB
    Yes that should work
  • Cloudinit does not work correctly

    9
    0 Votes
    9 Posts
    4k Views
    M
    @olivierlambert said in Cloudinit does not work correctly: @mlustosa said in Cloudinit does not work correctly: ssh-ed25519 This is probably the issue. Are you sure you added correctly your key manually? it's correct. I have two keys, one id_ed25519 and the other id_rsa.
  • CPU Usage Mismatch

    6
    0 Votes
    6 Posts
    1k Views
    S
    I actually had more cores assigned to the vm earlier. Maybe that caused it.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • Latest version Xen Orchestra - update how?

    Solved
    3
    0 Votes
    3 Posts
    3k Views
    J
    Update failed and made a new vm. Snapshot now works. Thanks for the tip. Had a nfs connection problem after that but that worked again after I ran an apt install nfs-common on the new vm.
  • Power on function

    52
    0 Votes
    52 Posts
    23k Views
    D
    Trying something new... Remove all servers from XO and log out. Host 1 is powered off. On host 2. xe task-list uuid ( RO) : 727ecb6b-6f2e-15eb-601b-110b2478996b name-label ( RO): Async.host.power_on name-description ( RO): status ( RO): pending progress ( RO): 0.000 xe task-cancel uuid=727ecb6b-6f2e-15eb-601b-110b2478996b Task is still there. From XCP-NG Center. Shutdown all VMs and host2 (All powered off). Powered up both servers. Wait 15 minutes to make sure no tasks are pending (xe task-list). Logging output to file via putty of; tail -f /var/log/audit.log Added host2 (master) to XO Settings/Servers. The Async.host.power_on task hasn't come back.
  • 10GB backup with XOA (XCP to windows NFS)

    30
    0 Votes
    30 Posts
    11k Views
    julien-fJ
    That sounds feasible indeed
  • This topic is deleted!

    27
    0 Votes
    27 Posts
    18 Views
  • Upgraded to XOA 5.48.2 and Can't Do Delta Backups?

    Solved
    4
    0 Votes
    4 Posts
    799 Views
    I
    Aha! Thanks for the heads up.