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
  • Warning during backup. What does it mean?

    9
    2
    0 Votes
    9 Posts
    2k Views
    florentF
    @Danp the first backup after the fix will show the warning ( since it controls the data of the previous backup) the following backups should be ok
  • SyntaxError: Cannot use import statement outside a module

    Solved
    14
    0 Votes
    14 Posts
    6k Views
    ronaldgevernR
    This error can happen in different cases depending on whether you're working with JavaScript on the server-side with Node.js , or client-side in the browser. There are several reasons behind "Cannot use import statement outside a module" error, and the solution depends on how you call the module or script tag. Add type="module" inside the script tag When working with ECMAScript modules and JavaScript module import statements in the browser, you'll need to explicitly tell the browser that a script is module. To do this, you have to add type="module" onto any ‹script› tags that point to a JavaScript module. Once you do this you can import that module without issues. <script type="module" src="./index.js"></script> If you are working on Node.js or react applications and using import statements instead of require to load the modules, then ensure your package.json has a property "type": "module" as shown below. { // ... "type": "module", // ... }
  • Delta Backup Showing Success No Delta Saved

    24
    0 Votes
    24 Posts
    9k Views
    lawrencesystemsL
    @florent Yes, I have the cifs-utils installed.
  • NFS problem

    5
    0 Votes
    5 Posts
    638 Views
    julien-fJ
    @infraestrutura Just display, it does not impact anything else.
  • XO 6: Console updates?

    3
    0 Votes
    3 Posts
    850 Views
    C
    @olivierlambert I am imagining something like esxi / vsphere where I think it's their guest tool does a resize on window size change. I think I've done it with tightvnc where it can autoscale AND it can auto resize as well. Based on looking protocols like nx, spice, and tigervnc support it as well. Understood for the copy paste, is it possible to have another button in current UI next to the copy that is paste (understanding the current UI IS changing). All this button would do is send the keystrokes to the VM either from the text in the console copy field or from the clipboard (I've fine with ctrl+v, the clipboard to the multiline window).
  • Unable to add host to pool

    2
    0 Votes
    2 Posts
    1k Views
    tjkreidlT
    @BradyS Probably this is due to incompatible BIOS settings, such as C states, turbo mode, etc. Run "xe host-cpu-info" on each host to compare the two host settings. Also, make sure the firmware and update levels are all the same as those can also affect the CPU masks.
  • Unable to migrate VM cross pool (duplicate_vm)

    2
    0 Votes
    2 Posts
    478 Views
    DanpD
    You may want to review this thread.
  • Need to install XOSAN pack?

    13
    0 Votes
    13 Posts
    4k Views
    olivierlambertO
    XOSAN is deprecated. Take a look at XOSTOR (there's a thread in this forum with a how to participate to the beta)
  • 0 Votes
    5 Posts
    1k Views
    vilhelmV
    @pdonias Yes, I was running a newer version than that but just to make sure I upgraded to 8068b83ffe58e6caed0cac5816ac2690479a9c41. Still the same problem, unfortunately. I'm not too sure if it matters, but there are VMs running in the pool that does not have an IP in a "smaller" /24 prefix. So if the prefixes 192.168.0.0/16 and 192.168.100.0/24 are in Netbox, there might be VMs using IPs other than the ones in the 192.168.100.0/24 prefix.
  • 0 Votes
    33 Posts
    18k Views
    pdoniasP
    @vilhelm That's fixed: https://github.com/vatesfr/xen-orchestra/pull/6328. Thanks again for the report pdonias opened this pull request in vatesfr/xen-orchestra closed fix(xo-server/xapi-object-to-xo): handle guest metrics reporting empty IP field #6328
  • Unable to add a host to a pool

    9
    0 Votes
    9 Posts
    2k Views
    olivierlambertO
    Sadly, it's hard to know what happened without getting the errors you had (eg when you tell: "VM will not start" is very vague).
  • How can I see active (not cached/buffered) RAM usage?

    7
    0 Votes
    7 Posts
    1k Views
    tjkreidlT
    @jivanpal Right; I simply meant you could start using these to track from this point onward. Also other options, like Cacti, MRTG, etc.
  • Managing different locations from one XO?

    5
    0 Votes
    5 Posts
    1k Views
    P
    @olivierlambert said in Managing different locations from one XO?: The code is open source but you need to install it and configure it yourself (if you are using XO from Github) OK, that makes sense.
  • Backup fails but works (Expected values to be strictly equal)

    6
    0 Votes
    6 Posts
    697 Views
    florentF
    @Andrew it seems that the merge fails but the watcher still report progress ( which doesn't move) Can you see if there is an error before ?
  • Restore missing network to host

    1
    0 Votes
    1 Posts
    591 Views
    No one has replied
  • Making changes to running backup selection

    3
    0 Votes
    3 Posts
    411 Views
    julien-fJ
    @mauzilla The change will only apply at the next run, it will not impact any current run.
  • XCP-ng - mount.nfs: access denied by server while mounting

    Solved
    4
    0 Votes
    4 Posts
    2k Views
    olivierlambertO
    Thanks a lot!
  • NFS ISO: Cannot read property 'Export' of undefined

    Solved
    8
    0 Votes
    8 Posts
    2k Views
    N
    @olivierlambert said in NFS ISO: Cannot read property 'Export' of undefined: Let's consider this thread fixed by adding the correct NFS configuration on the server side and create a new one describing your issue.
  • Manually Mount A HD When Needed From XCP-ng?

    docking station mount hd
    3
    0 Votes
    3 Posts
    638 Views
    N
    @ravenet said in Manually Mount A HD When Needed From XCP-ng?: You can script mount and umount commands as part of jobs or as part of backup jobs.
  • balance-alb on XOA

    4
    0 Votes
    4 Posts
    814 Views
    olivierlambertO
    Yes