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
  • Attaching USB storage via XOA

    22
    1 Votes
    22 Posts
    30k Views
    G
    @SpoonyLove @olivierlambert For usb passthrough we are using USB redirector over network For anything storage related we use something like this: mkdir /adm/passSR passUUID=`xe sr-create name-label="Direct access SR" name-description="Direct acces to hdd with simlink" type=udev content-type=disk device-config:location=/adm/passSR` ln -s /dev/sdb /adm/passSR/sdb xe sr-scan uuid=$passUUID xe vdi-list sr-uuid=$passUUID Remember to replace /dev/sdb with your device.
  • xcp-ng Pro "alert" in the XOA pools page

    6
    0 Votes
    6 Posts
    3k Views
    olivierlambertO
    Participating on the forum is a totally acceptable form of contribution. And to be clear: you have the choice. The choice to do nothing, or to help the project to grow. It's really up to you Freedom of choice is great! Everyone can contribute, spread the word and advocate for our solutions. And believe me, if everybody does, we stand a chance against those juggernauts (VMware for example). Also, you have my words, and I'm not afraid to tell that publicly: every $ we make is 100% re-invested into our projects. No big VC nor investors asking for insane ROI.
  • Ghost Backup job keeps failing

    23
    3
    0 Votes
    23 Posts
    7k Views
    N
    @florent any other ideas in order to resolve this?
  • XOCE shows "success" although backup not successful

    6
    0 Votes
    6 Posts
    702 Views
    olivierlambertO
    Is it a known behavior @julien-f ? To recap: with XVA backup starting the backup cancel the task get a success on the export I vaguely remember something about this
  • It is possible to create a vda VBD disk instead xvda?

    device vbd
    10
    0 Votes
    10 Posts
    3k Views
    olivierlambertO
    Great news then!
  • Adding Server to Pool Hangs/Fails

    4
    0 Votes
    4 Posts
    2k Views
    tjkreidlT
    @sgroel Curious. Are all the NICs the same on the existing pool hosts as well as the new host you add? Do all hosts have the same hotfix levels and the same overall hardware architecture? Seems odd as I ran servers this way for years. Maybe also look at the network switches to make sure they are all configured correctly. Finally, any clues in the /var/log files?
  • Full Backup Successful But In Kilobytes

    4
    0 Votes
    4 Posts
    1k Views
    D
    @Darkbeldin I checked the xensource.log on the server and found the error message "failed with exception Server_error(INVALID_DEVICE, [ autodetect ])" during export, similar to the post here: https://xcp-ng.org/forum/topic/4319/invalid_device-autodetect-during-backup I checked the XO dashboard health and found 256 "Pool Metadata Backup" VDIs attached to Control Domain. Not sure how or why the "Pool Metadata Backup" got stuck attached to Control Domain but I guess it has reached the 256 limit. I "Forget" all of them and full backup seems to be working now. For the record, it wasn't anything to do with snapshots. The VM was OFF so I guess it doesn't need to take a snapshot before transfer hence the log doesn't mention snapshot.
  • A lot of not found and error 127 in yarn build

    Solved
    17
    0 Votes
    17 Posts
    5k Views
    B
    @julien-f It works!!! No more error in the yarn build output. Thanks a lot!
  • Backups are deleted.

    9
    2
    0 Votes
    9 Posts
    2k Views
    V
    @olivierlambert Remote storage - hard drive in raid 5
  • Migrate xva image to hosted solution?

    1
    0 Votes
    1 Posts
    241 Views
    No one has replied
  • search for snapshots sorted by creation date

    13
    0 Votes
    13 Posts
    3k Views
    S
    @olivierlambert here it is: https://github.com/Stevesibilia/check_snapshot Keep in mind i'm not a developer
  • Warm migration - abort and monitor

    8
    0 Votes
    8 Posts
    1k Views
    olivierlambertO
    It's really hard to answer precisely in your case what's your bottleneck without spending more time doing a closer investigation on your setup
  • Attempting open source proxy (Resolved)

    6
    0 Votes
    6 Posts
    2k Views
    S
    @Andrew I got it working, thank you for your help. I just like to learn and test stuff out for fun, frequently unnecessarily, heh.
  • XO Lite (and XCP-NG 8.3 alpha)

    2
    0 Votes
    2 Posts
    730 Views
    olivierlambertO
    No telemetry, but if you have an issue with this alpha, please report it on the dedicated thread There's new graph and VM actions coming this month (if everything goes according to the plan)
  • This topic is deleted!

    2
    0 Votes
    2 Posts
    3 Views
  • Change default filter in VMs list from current "power_state:running"

    Solved
    7
    0 Votes
    7 Posts
    3k Views
    lawrencesystemsL
    @bullerwins It's a wonderful feature, you can have customized filters for VM, storage, Templates, and Pools. Combine that with using lots of tags and it makes larger deployments very manageable.
  • Error in the log at xo-cli –register

    6
    2
    0 Votes
    6 Posts
    634 Views
    olivierlambertO
    @denh I supposed you were reading this before posting: https://xen-orchestra.com/docs/community.html If you didn't, please do so Especially this section: https://xen-orchestra.com/docs/community.html#report-a-bug
  • XO License Costs

    3
    0 Votes
    3 Posts
    740 Views
    B
    @olivierlambert , Thank you. Someone from our team will reach out to you.
  • Backup VM - unused VHD

    16
    1
    0 Votes
    16 Posts
    3k Views
    olivierlambertO
    I think @florent did various modifications recently to handle those cases automatically.
  • Network pool + Cloud Init

    7
    0 Votes
    7 Posts
    1k Views
    B
    Cloud configs allow {{name}}% substitutions. From my perspective (as a user), for how {{name}} is used in my cloud configs something like {{address}} would be identical. What is the intended use case for the IPAM functionality in XOA if it can't be used like this? Real question, not trolling