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
  • XO reports wrong number of backups

    Solved
    11
    0 Votes
    11 Posts
    2k Views
    codesmakerC
    @julien-f Thanks a lot for the fast answer. I'll update to the latest version and test.
  • Importing OVA - “Device Already Exists”

    24
    0 Votes
    24 Posts
    10k Views
    planedropP
    @trent234 Interesting, good to know. I do know that XCP-ng only officially supports 7 network interfaces, so not really surprised by that. It supports more VHDs though so feel like I shouldn't be seeing this error.
  • XOCE - Config path

    10
    0 Votes
    10 Posts
    2k Views
    K
    @Gheppy I found my issue... The changes, I wanted to test have not been committed to "master-branch". After changing the branch, everything is clear... Thank you for your help!
  • 0 Votes
    7 Posts
    2k Views
    olivierlambertO
    +1, that's the way to go
  • error -104

    21
    0 Votes
    21 Posts
    10k Views
    P
    @tuxen No GPUs were removed. only 2 were added. The only PCIE item removed was a NIC but I didn't remove it from dom0 or assign it to any VMs, it was just in the system.
  • [XO-CE] job.Sequence error - invalid parameters

    xoce jobs
    3
    7
    0 Votes
    3 Posts
    1k Views
    julien-fJ
    I believe this is a known issue (https://github.com/vatesfr/xen-orchestra/issues/5973) that is unlikely to be fixed in XO5. We'll need to wait for @pdonias to be back from holidays to have more info on this. just-333 created this issue in vatesfr/xen-orchestra closed Error on vm.set from Jobs tab in XO web GUI #5973
  • Deleting snapshots and base copies

    18
    1
    0 Votes
    18 Posts
    7k Views
    S
    @sumansaha In summary , I've deleted Orphan VDIs from Dashboard->health . But in deletion, I've maintained the sequence of their age.It has taken 6 hours, though that depends on the VM size.
  • Show me your backup performance

    11
    0 Votes
    11 Posts
    1k Views
    olivierlambertO
    If you do a full every time, it's fine (use no retention or full every time)
  • How to delete unmanaged disks in local storage

    7
    0 Votes
    7 Posts
    5k Views
    olivierlambertO
    You can't delete a base copy. You need to understand how it works before doing dangerous operations. A base copy exists if there's a snapshot. If you have 0 snap and still base copy, it could be either: because the coalesce isn't finished because the coalesce doesn't work In both case, you have to take a look at your SMlog. If you have no idea about it, you should either get pro support or start to read the doc in more details You can start here: https://xcp-ng.org/docs/storage.html#coalesce
  • FYI - Applying 11/3/2022 and 11/4/2022 Commits in XO from Sources

    22
    0 Votes
    22 Posts
    11k Views
    E
    Thanks for sharing
  • Delta Backup broken with commit 45dcb914...

    3
    0 Votes
    3 Posts
    520 Views
    A
    @julien-f The new update seems to be working correctly now. Thanks for the quick update fix. The backup cache fixes/cleanup made a huge difference (improvement). I was trying to figure out what was going on with my backups as they were running but were missing from the restore list. After the cache cleanup, it showed 3-4 times the number of restore points! All the missing stuff and more. It took some time to clean up all the extra stuff, but backups seem to be back on track again.
  • EIO: i/o error, close when making backup over 10 GbE nic.

    2
    0 Votes
    2 Posts
    557 Views
    tjkreidlT
    @anturk What errors do you see in /var/log./SMlog related to this? Have you run ifconfig or netstat to look for network transmission errors? Is this a new setup and if so, are you sure the cables are of good quality? Is this a dedicated NIC or is it part of a VLAN?
  • Backup jobs started to fail after last XOA update

    13
    2
    0 Votes
    13 Posts
    3k Views
    julien-fJ
    @Forza No, it's not possible to add multiple hosts of the same pool to XO.
  • Windows VM - No ram reported?

    Solved
    3
    0 Votes
    3 Posts
    660 Views
    N
    @olivierlambert I blew away the docker container and did a fresh build of XO from source on a *buntu box. Issue resolved itself with that. Must be a bad build in the docker.
  • "an error has occurred" in home -> storage

    xenorchestra
    6
    3
    0 Votes
    6 Posts
    1k Views
    olivierlambertO
    You can't login to our servers with your source version (from Git), you must download the virtual appliance. If you can't access https://xen-orchestra.com internally, then, indeed, you won't be able to register it in the end. But if you managed to clone it from Github, you have some access to outside
  • Monitor Backups - Last backup for VM

    14
    0 Votes
    14 Posts
    4k Views
    julien-fJ
    @KPS You can use xo-cli --list-objects type=VM. Also you should only get the backup logs once and join with the VM list, because backupNg.getLogs is heavy.
  • XO NTP

    6
    1
    1 Votes
    6 Posts
    6k Views
    lightingman117L
    @olivierlambert Yep, thanks. OP edited to direct link to XOA NTP documentation for those who need that. There was no clear distinction in my mind. Apologies for any confusion caused.
  • Having trouble configuring transport-nagios after latest update

    5
    0 Votes
    5 Posts
    1k Views
    julien-fJ
    Fixed by https://github.com/vatesfr/xen-orchestra/commit/9dda99eb2089eaf163b68ea817bf990872cf2d22 @Danp Thank you 0 julien-f committed to vatesfr/xen-orchestra fix(xo-server/_handleBackupLog): fix sendPassiveCheck condition Introduced by ba782d269 Fixes https://xcp-ng.org/forum/post/56175
  • Can't register new XOA installation

    Solved
    3
    0 Votes
    3 Posts
    552 Views
    H
    @Danp My fault, I just did register here. When I click on register on my XOA, I was pointed to the forum, so I thought it is the same account. Thank you, that solved my problem.
  • How to set http proxy for connect S3 service?

    7
    0 Votes
    7 Posts
    1k Views
    L
    @julien-f ok, thanks. I will temporary use Transparent proxy to connect S3 service, which can't use my main firewall setting is a downside, other than that is work well.