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
  • Changing XOA IP

    Solved
    3
    0 Votes
    3 Posts
    3k Views
    F
    @olivierlambert Thank you
  • Hub template request

    5
    0 Votes
    5 Posts
    2k Views
    fohdeeshaF
    @ITJamie Alma Linux 8.5 template is finished and should be added to the hub in the next day or two. I should have Rocky Linux done shortly after that. Note that in CentOS/RHEL related distros, the hostname: {name}% parameter that's filled in under the cloud-init config is not enough to change the hostname for the machine, CentOS (and related) expects a fully qualified domain name. To get the newly spawned VM have the hostname you'd like, supply fqdn parameter as well: use VM name as hostname: #cloud-config hostname: {name}% fqdn: {name}%.localdomain.local use custom hostname: #cloud-config hostname: testvm fqdn: testvm.localdomain.local
  • XOCE - export VM error

    7
    3
    0 Votes
    7 Posts
    1k Views
    julien-fJ
    Fixed, thanks for the report https://github.com/vatesfr/xen-orchestra/commit/7830c89e66e178921695aa5e17670717703ef290 0 julien-f committed to vatesfr/xen-orchestra fix(xo-server/Xapi#exportVm): correctly use getRecord Introduced by 6aa5ec6eb
  • XOA - fail to change pool master

    15
    0 Votes
    15 Posts
    5k Views
    R
    @stormi yes, that we be helpful indeed so we can stick to a build version at least for a while.
  • app.createUserConnection is not a function

    12
    0 Votes
    12 Posts
    2k Views
    olivierlambertO
    I updated the doc accordingly: https://xen-orchestra.com/docs/community.html
  • Windows VM cannot boot, cannot insert ISO

    3
    0 Votes
    3 Posts
    2k Views
    A
    @mauzilla To boot an ISO in a VM, you need to select "DVD" in the boot order, put it first, and hit "Save". Then boot the VM. For ANY system (real or VM), you need boot it with the same type of bootstrap as it was installed to use. BIOS or UEFI. If you change the boot type then you have to make the OS ready to use the new/different settings (not just a VM problem). If you created a Windows image from a working system that booted with UEFI then you have to copy ALL partitions (the whole disk), not just the C windows drive.
  • Cannot resume an imported image

    3
    0 Votes
    3 Posts
    855 Views
    A
    @stormi Thanks for the big help that fixed the issue.
  • 0 Votes
    33 Posts
    16k Views
    Y
    Hi, first of all, thank you for developing and supporting these awesome products. I witnessed a similar issue upon running continuous replication on a VM after growing one of the disks on the source side. I run delta backup to a NFS share and continuous replication to another XCP-ng host in one job. The most important part of the relevant log messages remind me of this issue - this topic is the only similar reference I was able to find, so I hope this is the right place to post. If not, please let me know, and I'll create a new topic Mar 21 01:00:29 xcp-ng-2 xapi: [ info||8947241 INET :::80|Importing raw VDI R:3967654dad6b|vhd_tool_wrapper] Executing /bin/vhd-tool serve --source-format vhd --source-protocol none --source-fd 1f47b1fe-a9ea-4bda-ab8e-2101e5677059 --tar-filename-prefix --destination file:///dev/sm/backend/f7aca870-12e0-8352-9f86-f52d575eb313/6cd16448-6839-476d-93b1-2f8b816c827f --destination-format raw --progress --machine --direct --destination-size 0 --prezeroed Mar 21 01:00:29 xcp-ng-2 xapi: [error||8947241 INET :::80|Importing raw VDI R:3967654dad6b|vhd_tool_wrapper] vhd-tool failed, returning VDI_IO_ERROR Mar 21 01:00:29 xcp-ng-2 xapi: [error||8947241 INET :::80|Importing raw VDI R:3967654dad6b|vhd_tool_wrapper] vhd-tool output: vhd-tool: Non-zero size required (either a pre-existing destination file or specified via --destination-size on the command line)\x0A I'm currently running Xen Orchestra compiled from sources, on commit 5bc44363f9ac9fa534f3247e697f1b3c6991e916. XCP-ng is on version 8.2.0. I know that this is not fully up-to-date, but after retrying that backup as a first measure, Xen Orchestra ran a full backup for that VM, so I can't reproduce that issue anymore, but I figured posting that here might help resolving the aforementioned issue, if the causes correlate.
  • Netbox Plugin

    2
    0 Votes
    2 Posts
    813 Views
    olivierlambertO
    Hi @LTSFGriffin Netbox sync plugin is available in Enterprise tier
  • Transport-email and Google SMTP

    3
    0 Votes
    3 Posts
    1k Views
    J
    @Darkbeldin I wasn't sure about turning on two-factor. I went through that process and generated the "app password" and it seems to be working. Thanks for the info!
  • XOA can't start after installation and contradictory messages

    13
    0 Votes
    13 Posts
    6k Views
    olivierlambertO
    FYI, we modified the deploy script to be able to automatically modify XOA's VIF to run on the management network. So even in case of using only bonded networks like @Low351, this will now work.
  • Dashboard Health gives 'an error has occurred'

    10
    0 Votes
    10 Posts
    1k Views
    DanpD
    @davidg said in Dashboard Health gives 'an error has occurred': 5.58.1 That's ancient, so not a valid comparison. It's likely that a recent commit has broken something that they will eventually identify / fix.
  • New Smart Backup failure

    backup xenorchestra smart backups
    14
    0 Votes
    14 Posts
    4k Views
    mguyattM
    I did for sure. But I noticed that a new commit(886ff2cd7) was made literally in about the last hour and after updating again to that version all is good!
  • Server and VM report

    9
    0 Votes
    9 Posts
    3k Views
    J
    @olivierlambert We are using rrd2csv to get host cpu stats into SQL to provide nice Grafana page sorted by pool. It would be nice to dial even further down to the vm's that are running high cpu or have memory burden.
  • Kubernetes recipe failed - tasks stuck

    3
    0 Votes
    3 Posts
    642 Views
    P
    @BenjiReis XO from the appliance. I hadn't noticed the tasks queue counting up like that before I tried the recipe, but I'm perfectly willing to accept that I'm just not that observant. Thanks!
  • File recovery error

    4
    0 Votes
    4 Posts
    907 Views
    olivierlambertO
    Community version doesn't have a release number, but a commit version on master. Please check you are on the latest commit and rebuild
  • Xen Orchestra from Sources not showing host updates?

    4
    0 Votes
    4 Posts
    1k Views
    olivierlambertO
    That's correct. There's no more updates, that's why you MUST upgrade to 8.2 (see https://xcp-ng.org/docs/releases.html#all-releases )
  • XO HA - Different CPU's?

    2
    0 Votes
    2 Posts
    2k Views
    jedimarcusJ
    @wade_solarch Short answer: try to avoid that. Back in the old XenServer days, you had to manually change the cpu feature flags so it would work at all. https://xcp-ng.org/docs/requirements.html#pool-requirements This confirms that you can't mix Intel & AMD in a pool https://xcp-ng.org/docs/requirements.html#pool-requirements This explains Heterogeneous pools a little
  • Backup started to fail

    17
    3
    0 Votes
    17 Posts
    2k Views
    DarkbeldinD
    @stevewest15 Happy to help
  • 0 Votes
    1 Posts
    495 Views
    No one has replied