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
  • Netbox plugin: VMs Tags and Platform not populated

    8
    0 Votes
    8 Posts
    1k Views
    olivierlambertO
    If it's a problem or a missing feature, it will be announced in the next changelog for everyone
  • VHD export and (delta) backup stuck at 99%

    16
    1
    0 Votes
    16 Posts
    4k Views
    DanpD
    @OhSoNoob said in VHD export and (delta) backup stuck at 99%: uploading de XVA in XO didn't work for some reason, it prompts about prepairing and then just stops. Hmmm.... never encountered that situation.
  • Max duration for Backup

    3
    0 Votes
    3 Posts
    729 Views
    DanpD
    See this prior thread for explanation and solutions. https://xcp-ng.org/forum/topic/3529/increase-24-hour-timeout-limit-on-backup-copy
  • getting all ip's from every xen's virtual machines

    3
    0 Votes
    3 Posts
    3k Views
    splastunovS
    Maybe this idea will help xe vm-list params=networks | awk '{print $5}'| sed 's/.$//'
  • Orphaned VDI after backup - NBD issue

    3
    0 Votes
    3 Posts
    512 Views
    K
    Hi! I was able to isolate the issue: It does happen, if NBD is activated on one of the network interfaces! xe network-param-remove param-name=purpose param-key=nbd uuid=xxxxxxxx --> Disabling "useNBD" did not solve the issue. I had to disable the feature in XCP-ng
  • Unable to export OVA

    62
    0 Votes
    62 Posts
    20k Views
    DanpD
    @florent Nothing large. Either 10 or 20GB. I'm thinking it's due to the same issue as here.
  • create a new VM instead of a template from a snapshot

    4
    0 Votes
    4 Posts
    1k Views
    olivierlambertO
    So you are using a thick provisioned storage. Any snapshot will create a base copy, but also an active disk (which will be the total size of the disk). You can't cheat on that. Transforming a snapshot into a VM will create a new active drive that will use the total size of the disk.
  • How to browse files in a storage repository?

    9
    0 Votes
    9 Posts
    5k Views
    florentF
    @ysageev we're fisrt making the transfer from vmware work through an HTTP link in xo-cli. After this we'll do a UX, allowing a user to migrate from XO , it will probably be a three steps form : connect to an host, choose which VM(s) to migrate , transfer progress Then, depending on the priority , we may make other transport ( for example if you mounted the VMFS datastore in XO, copied files locally or through SSH) By the way, we fixed a timeout bug in xo-server, that was cutting the vmdk/ova import around the 5mn mark, you may retry the old method
  • Overprovisioning CPU + RAM?

    6
    0 Votes
    6 Posts
    6k Views
    M
    Thanks @lawrencesystems - I've finally got around to watching that video, explains the content well, quite interesting to see that happening in real time when the RAM is being land-grabbed by other VMs when things are getting full based on the different configuration settings.
  • XO Packer template disk issues

    13
    2
    0 Votes
    13 Posts
    4k Views
    D
    The ddelnano/packer-plugin-xenserver release v0.5.1 has been released and includes @bagas's fix for this issue.
  • VM Hang - Can´t restart, can't power on.

    Solved
    7
    0 Votes
    7 Posts
    8k Views
    olivierlambertO
    Sounds like a XAPI bug, I think it's fixed in the next train of updates
  • netdata telemetry not opening?

    2
    0 Votes
    2 Posts
    382 Views
    olivierlambertO
    We are aware aobut it. This is a Debian package bug that will be directly fixed in the next XOA we'll generate (this year, with Debian 12)
  • Vmware OVA to XCP-NG

    4
    2
    0 Votes
    4 Posts
    3k Views
    olivierlambertO
    Doesn't matter, the VMware script is available in there too. Just switch to the vmware release channel and follow instructions there: https://xcp-ng.org/forum/topic/6714/vmware-migration-tool-we-need-your-feedback/
  • Root password to ssh into xoce

    Solved
    9
    0 Votes
    9 Posts
    7k Views
    olivierlambertO
    No problem @mrchip You are welcome. If you explain your issue with enough context, everyone is happy to help!
  • xoa token expire date - how can i set it to an later date?

    7
    0 Votes
    7 Posts
    2k Views
    V
    Thanks guys! Absolut Legends
  • Gracefully "Ask" XO to Reboot After Tasks Are Done

    8
    0 Votes
    8 Posts
    1k Views
    olivierlambertO
    That's how I can make the choices to improve it into the right direction
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • Search filters

    4
    0 Votes
    4 Posts
    478 Views
    Tristis OrisT
    @julien-f said in Search filters: affinityHost:* check it again affinityHost:* works now, my bad. got it. i mean if selected 16sockets\1core instead of 1socket\16cores i can only search for coresPerSocket:<2, but small vms really use 1-2 cores\socket.
  • XOA halted on reboot

    4
    0 Votes
    4 Posts
    2k Views
    olivierlambertO
    Yes, this one