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 host was restarted regularly. After every update I restart the host and consequently all VMs running on it. The XOA VM is also running on that host. 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
  • 0 Votes
    6 Posts
    1k Views
    olivierlambertO
    Great news Enjoy!
  • Mandatory 2FA/OTP for login

    10
    0 Votes
    10 Posts
    3k Views
    W
    @olivierlambert Thank you very much Such prompt response.
  • "Error: self-signed certificate" OIDC

    2
    0 Votes
    2 Posts
    682 Views
    olivierlambertO
    Hi, This is an error regarding your certificates, which are self-signed. I'm afraid it's not related to XO itself. I suppose you can only use self signed certs in your context?
  • metadata backups suddenly failing

    Solved
    22
    1
    0 Votes
    22 Posts
    7k Views
    olivierlambertO
    Thank you @manilx and @Andrew for your feedback!
  • Backup of Linux VM with [nobak] disk failing health check (Solved)

    2
    1 Votes
    2 Posts
    629 Views
    olivierlambertO
    Ah thanks indeed a very interesting feedback! Thanks a lot
  • Rolling Pool Upgrade - Does not reboot hosts

    3
    0 Votes
    3 Posts
    785 Views
    K
    @olivierlambert There are lots of messages about: unable to parse XAPI datetime "2023-03-01T12:41:47.000Z" But nothing about the upgrade process. I was able to upgrade hosts 2+3 without any problem - but not automatically
  • vmware import failing

    2
    0 Votes
    2 Posts
    524 Views
    M
    @manilx I updated XO to the latest release (Updating Xen Orchestra from '63ee6b7f0' to '84e38505c') and tried again: Worked! BUT with this new release I have the following issue: https://xcp-ng.org/forum/topic/7020/metadata-backups-suddenly-failing
  • Backup timeout - hang or didn't work

    36
    2
    0 Votes
    36 Posts
    8k Views
    Tristis OrisT
    @olivierlambert to not create new topic, small continue here. timeout option still ignored. probably because of network problems i got backup error and job hangs every day. doesn't matter why it happens, but job will never get terminated by timeout. 21h job with 7h timeout. https://pastebin.com/U5HgKEzM just 1 Gb. [image: 1677660778089-1c80c5b5-248f-4506-a351-5bca47ee4f8c-image.png] [image: 1677660855604-7458ace9-3e08-4537-a7da-2d304033995e-image.png] i setup scheduled task to reboot xo once a day, to close this endless tasks.
  • Backup Error: 302 Found

    Solved
    20
    0 Votes
    20 Posts
    4k Views
    stucampS
    @julien-f @olivierlambert Heyo... good stuff guys. I have recompiled on latest and can happily confirm that the fix has resolved the issue!! Thanks!
  • Remote Backup needs internet to backup, local network. Static ips.

    3
    0 Votes
    3 Posts
    769 Views
    H
    @cookie-eater2000 make sure your Xen Orchestra also has a connection on the 10GB network (IP address on the xo vm)
  • warning on compile

    7
    0 Votes
    7 Posts
    1k Views
    DanpD
    @florent Thanks for the fix. P.S. @Gheppy was the original reporter.
  • VMGuest disk is missing in Xen Orchestra

    15
    1
    0 Votes
    15 Posts
    3k Views
    A
    @olivierlambert I do not understand wha t you mean by "You probably need to transform the disk in a "regular" and not snapshot". Not sure on how to do that, please provide the steps or if you have SOP ready, please point me to the SOP document.
  • XCP-ng latest - newly imaged CentOS Stream 8 hosts don't do kernel updates

    Unsolved
    3
    0 Votes
    3 Posts
    874 Views
    stormiS
    I don't see any obvious settting, and XCP-ng won't interfere with a guest OS installation, so the root cause for this missing GRUB_ENABLE_BLSCFG=true must be somewhere in the installation process, triggered by I-don't-know-what when being installed in an XCP-ng guest.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    23 Views
    No one has replied
  • NBD Backup not working

    23
    0 Votes
    23 Posts
    4k Views
    florentF
    @KLSsandman yes NBD is only used for delta backups
  • Backups never finish

    3
    0 Votes
    3 Posts
    862 Views
    julien-fJ
    @magicker If you are able to deploy an official XOA and reproduce the problem in it, I'll be able to investigate once you open a support tunnel: https://xen-orchestra.com/docs/xoa.html#support-tunnel
  • Managing HA-cluster in case of dead master

    2
    0 Votes
    2 Posts
    495 Views
    olivierlambertO
    Hi, The best practice is just to connect XOA to the master. You are thinking as if this situation will happen on regular basis, but it won't, and if it does you have a bigger problem than an XOA disconnection. If you have a backup job with email reporting, you'll be notified if XOA lost connection to the pool. There's nothing specific to do.
  • Scalability of XOA

    5
    0 Votes
    5 Posts
    1k Views
    J
    @Darkbeldin Parfait, merci ! I shall write to the Help email address!
  • Restoring Xen Orchestra from backup

    3
    0 Votes
    3 Posts
    906 Views
    A
    @olivierlambert Oh I see, thanks for the help.
  • First New Local Storage - "No VDIs in this storage"

    Solved
    6
    1
    0 Votes
    6 Posts
    2k Views
    olivierlambertO
    Yes, you need to get them flat in the folder, it doesn't crawl subfolders.