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
  • XOCE Yarn Start Error code 1

    Solved
    13
    0 Votes
    13 Posts
    2k Views
    M
    Again thanks everyone. you can mark this as solved. The step I was missing was the config step. $ cd packages/xo-server $ mkdir -p ~/.config/xo-server $ cp sample.config.toml ~/.config/xo-server/config.toml
  • XO Installation on an offline system

    17
    0 Votes
    17 Posts
    6k Views
    L
    @olivierlambert Thanks
  • 0 Votes
    5 Posts
    976 Views
    pdoniasP
    @duxepu Ok, this is weird, I'm not able to reproduce that and I don't see how it's possible. Could you check a few things? from an admin point of view, at the bottom of the VM's advanced tab, please check that the user has Admin ACLs on the VM from the user's point of view, when you're on the snapshots tab, open the browser console (press F12 > Console tab) and check if there are any errors do you have this issue with all the users of all your Self Service groups or is it more specific? Thanks!
  • Bizarre Error during backup process (from the sources, 20.04)

    12
    0 Votes
    12 Posts
    2k Views
    DanpD
    Yesterday I updated to the latest sources and my backup ran successfully, so it appears that this issue is resolved. @carlosfrederico You'll need to switch back to the master branch before your normal update routine will work.
  • Debian cloud template for XenServer Default Password

    6
    0 Votes
    6 Posts
    5k Views
    olivierlambertO
    There's no root password. Use sudo -s
  • Server can no longer connect after crash

    Solved pool server
    5
    0 Votes
    5 Posts
    2k Views
    grapesmcG
    @olivierlambert FYI turned out to be a networking issue that had nothing to do with the server itself. I'm still getting to the bottom of what exactly the cause was, and will update here once I do just in case someone else runs into this. Thanks again. And thanks for the awesome software. ! -Rob
  • Uncertain state of VM tools

    7
    0 Votes
    7 Posts
    2k Views
    olivierlambertO
    No, there's no need to upgrade VM tools when you upgrade the host. You can keep old tools, it will work fine.
  • VDI is not available Error

    4
    0 Votes
    4 Posts
    3k Views
    F
    @dan2462 Did you get a resolution to your VDI issue? I have a similar problem as it seems hosts are locking up the VDI's on my shared iscsi storage and if they are shutdown and I try to boot them on an alternate host, I get the VDI not available error.
  • HOST_NOT_ENOUGH_FREE_MEMORY

    9
    0 Votes
    9 Posts
    3k Views
    M
    @olivierlambert Thanks for the quick feedback!
  • What ordering does XO trigger backups in?

    3
    0 Votes
    3 Posts
    807 Views
    badrAZB
    Hi @xo-g , We don't use any specific order to pick the VMs to backup.
  • How to implement the perfect backup strategy with Xen Orchestra?

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Single backup job two locations

    2
    0 Votes
    2 Posts
    548 Views
    olivierlambertO
    You can have one job with 2 remotes. Or a job with backup and DR at the same time.
  • SAML, automatic user generation

    5
    0 Votes
    5 Posts
    2k Views
    pdoniasP
    @mrbaz Thanks for the detailed feedback! If XO had a way of pulling the user's group information and only allowing those in a certain group to have authorization to XO to have their accounts automatically generated, that would work too. That wouldn't be trivial to implement with our current plugin system. But as you said, a user that logs into XO isn't able to do anything without granting them permissions first. Also, if this is still a concern for you, you can disable user auto-generation in xo-server configuration by adding this line: createUserOnFirstSignin = false However, you'd then have to create the users manually before they can log in. the issue still stands that I can't put a user into a group or assign ACLs until after they have signed in for the first time. I agree but I'm not sure what a good solution to this would be. If we add an option to import all the users at once, it could mean importing a lot of users for some companies, even if many of those users would never actually log in later.
  • Cannot import a large VHD using Import Disk option

    Solved
    8
    0 Votes
    8 Posts
    3k Views
    D
    @nraynaud @olivierlambert Thanks guys!
  • S3 Remote

    12
    0 Votes
    12 Posts
    3k Views
    F
    @lawrencesystems said in S3 Remote: I was hoping to avoid this method as my pfsense is not connected at 10G. Thank you for the clarification. Happy I could help.
  • un-zstd .xva files exported with XOA?

    Solved
    3
    0 Votes
    3 Posts
    542 Views
    ForzaF
    @olivierlambert said in un-zstd .xva files exported with XOA?: Hi! Again, before starting to talk about technical solution, can you explain the use case? If you have zstd installed on your machine, yes. It's a tar with compression (gzip or zstd). But then it won't be trivial to assemble VM data (but you can exctract metadata easily!) I didn't really mean disassemble the .xva, but rather create an uncompressed .xva that has broader support/portability. The zstd command line tool seems to be able to uncompress it just fine. Thanks.
  • Reset Xen Orchestra Community Edition Web Password

    2
    0 Votes
    2 Posts
    10k Views
    olivierlambertO
    Hey there! It's a good thing to start by reading our doc. If you enter "Password" in the search field, you would have find: https://xen-orchestra.com/docs/troubleshooting.html#recover-web-login-password As you are using Xen Orchestra into production, may I suggest to go for XOA with pro support at some point?
  • Automating VM creation via Terraform

    7
    0 Votes
    7 Posts
    3k Views
    E
    @newknowledge Thanks, I'll try it out later.
  • Pool Metadata backup sometimes fails when using multiple remotes

    4
    5
    0 Votes
    4 Posts
    554 Views
    ForzaF
    @olivierlambert Maybe. Ive created a support ticket for now. Hopefully you can see if the problem is a configuration mistake on our end or a problem in XO. Thanks.
  • Multiple internal networks in pool for each user

    2
    0 Votes
    2 Posts
    901 Views
    T
    @jfrelik Similar issue here - still trying to figure this out. https://xcp-ng.org/forum/topic/4209/xcp-ng-and-network-virtualisation-help