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
  • Backup Architecture

    Solved
    3
    0 Votes
    3 Posts
    760 Views
    C
    @olivierlambert Haha, it's so obvious! Didn't even think to select both at the same time. Genious, thanks.
  • console page tabs

    Solved
    3
    0 Votes
    3 Posts
    462 Views
    J
    Thanks for the response I got it working John
  • NFS SR not mounting

    8
    0 Votes
    8 Posts
    9k Views
    fohdeeshaF
    @thorcraftit seems like perhaps a permissions error, what does your share properties on truenas look like for this host? Is the allowed IP or denied IP boxes populated at all? Attach a screenshot if you can. Here's what mine looks like: [image: 1625573743330-f76ebeef-c5cf-452e-8a43-28144d9a8c94-image.png] Note that the mapall user and group must have permissions on the shared folder, I typically create a user on the freenas system just for xen shares, and give it ownership of the folder/dataset that's being shared. this ensures you don't have any weird permissions issues. I think in your case the key boxes to examine are the authorized networks however. What does your Services > NFS > Settings look like? here's mine: [image: 1625573851182-3ccf191c-575c-4094-b91f-b4e12e6a4091-image.png] Lastly and perhaps most importantly, can you run "yum install nmap" and then "nmap 172.16.60.200" on both a working host, and then this non-working host? Paste the results of both here - if they differ, for instance if the non-working server doesn't see any RPC services running like I suspect, that will heavily point towards a firewall/network/ACL issue
  • Config Password when exporting from 5.41.0 to 5.80

    7
    0 Votes
    7 Posts
    1k Views
    julien-fJ
    @cfm56 The error was probably due to https://github.com/vatesfr/xen-orchestra/issues/5836 This did not impact the import of the config though, anyway it should be fixed now trader418 created this issue in vatesfr/xen-orchestra closed Config restore error #5836
  • WORM / immutable backups

    2
    0 Votes
    2 Posts
    949 Views
    olivierlambertO
    But what about merging delta backup? This require write access. Except if we completely "move" the merge logic in the storage itself (which will be possible in few months)
  • Backup - Bypass XOA

    2
    0 Votes
    2 Posts
    631 Views
    olivierlambertO
    That's because of XCP-ng/XenServer design. The host isn't pushing data, it's only exposing an HTTP handler to pull from it. You can use XO Proxies if you prefer: https://xen-orchestra.com/docs/proxy.html
  • Clear Filters by Default

    Solved
    3
    0 Votes
    3 Posts
    972 Views
    kdmK
    @darkbeldin Thank you. That was just off the bottom of the screen and I did scroll past it a few times, but being a little lonely icon, when all the other items have text, it didn't even register as a thing!
  • Multi step Jobs?

    feature in backlog
    7
    0 Votes
    7 Posts
    2k Views
    M
    @pdonias @olivierlambert hey thanks for adding this in latest release!! [image: 1625251007022-45658591-208e-46f6-b3af-74144019b94e-cleanshot-2021-07-02-at-19.36.01-2x.png]
  • VM Backup Folders

    Solved
    5
    0 Votes
    5 Posts
    1k Views
    JoeArnonJ
    @danp tnx
  • Backup on encrypted, exchangable disks

    2
    0 Votes
    2 Posts
    974 Views
    olivierlambertO
    Questions for @julien-f I suppose
  • Edit Storage host info after creation?

    Solved
    2
    1
    0 Votes
    2 Posts
    3k Views
    olivierlambertO
    Hi! That's is possible, you just need to shutdown all VMs using disks in there. Then, 4 steps: 0. Find the PBD currently connected to this SR via xe pbd-list Save the PBD information somewhere (xe pbd-param-list uuid=<PBD UUID> Unplug and remove the PBD (xe pbd-unplug and xe pbd-destroy Recreate the PBD by just changing the information using xe pbd-create In short, the PBD is like the "cable" between your host and your SR. Removing it won't remove any actual data, just the link between them. If you recreate it, and replug it, you'll find everything back
  • XCP-ng patches download URL

    3
    0 Votes
    3 Posts
    763 Views
    olivierlambertO
    It doesn't work like Citrix patches. Xen Orchestra will send a XAPI command to the host, that will in fact do a yum update command. The result is returned to XO and it will display available updates. We got a system using the best mirror for you: https://xcp-ng.org/docs/mirrors.html#original-mirror
  • XO tries to deactivate lvm volume group on yarn start

    Solved
    3
    1
    0 Votes
    3 Posts
    691 Views
    jamochlJ
    @olivierlambert cool, thanks
  • new backup shows loading... for ever

    6
    0 Votes
    6 Posts
    1k Views
    olivierlambertO
    Hi, Please open a support ticket, that would be easier to assist (you can also open a support tunnel so we can remotely access your XOA to investigate faster, see https://help.vates.fr/kb/en-us/9-xen-orchestra-appliance-xoa/16-create-a-support-tunnel ) edit: don't forget to go in XOA/Support then doing an XOA check, see https://help.vates.fr/kb/en-us/9-xen-orchestra-appliance-xoa/17-xoa-check
  • backup failed

    35
    0 Votes
    35 Posts
    16k Views
    julien-fJ
    @black_sam Thanks for your feedback
  • This topic is deleted!

    3
    0 Votes
    3 Posts
    138 Views
  • Change management network interface?

    8
    0 Votes
    8 Posts
    23k Views
    fohdeeshaF
    @station-already hehe glad you got it figured out Indeed, management interface changes are pretty "violent" in terms of how much they change and interrupt, so a reboot helps quite often - same for changing the virtual adapter/PIF assigned to a VM - alway a good idea to reboot the VM
  • Backup failed with message "HTTP request has been canceled"

    17
    1
    0 Votes
    17 Posts
    3k Views
    E
    @julien-f said in Backup failed with message "HTTP request has been canceled": node -p 'require.resolve("xen-api")' Hi all, I think the problem is fixed now. thanks for your help
  • backup failed with error writer is not defined

    Solved
    3
    0 Votes
    3 Posts
    640 Views
    R
    @danp after update, backup works fine, thanks
  • Remote Connection Failed.

    5
    0 Votes
    5 Posts
    2k Views
    olivierlambertO
    This means your NFS server doesn't support NFSv3.