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
  • Delta Backups & Continous Replication of Empty Drives

    14
    4
    0 Votes
    14 Posts
    3k Views
    S
    @olivierlambert Thanks, I tried running fstrim but it returned "the discard operation is not supported" on this NFS SR mount. I also tried running on SSD mounts which do support TRIM and they all returned the same message about "discard...not supported." The VM OS (CentOS 7.8) does support TRIM in kernel so not sure if xcp-ng or xenserver is the reason why the VM can't issue fstrim on the NFS SR mount or the SSD SR mounts. [image: 1605283613178-85b94dd0-b129-45ec-9ee2-bc4b7dd92b5e-image.png]
  • XOA always does a full backup if VDI was moved between storage

    2
    0 Votes
    2 Posts
    348 Views
    olivierlambertO
    When you migrate a VDI to another SR, its UUID is changed. So it's like a "new VDI". However, there's an issue opened a while ago: https://github.com/vatesfr/xen-orchestra/issues/2896 We did not have a priority on this because not a lot of people asked for it. I think it could be a good optional feature in a job. snimmerjahn created this issue in vatesfr/xen-orchestra closed [Delta Backup] Avoid full export after VDI migrate #2896
  • XO disconnects regularly, freezing the console

    6
    0 Votes
    6 Posts
    2k Views
    olivierlambertO
    It's in our documentation, please read https://xen-orchestra.com/docs/configuration.html#https
  • Problem with ZSTD compressed backup

    7
    0 Votes
    7 Posts
    2k Views
    M
    So far, I noticed this problem for three VMs. Each time I am trying to perform a backup with zstd compression through XO, the backup is marked as successful, but output XVA file is damaged (incomplete). The backup works fine for all other VMs, and I cannot pinpoint what is special about these faulty VMs.
  • xoa-updater --upgrade fails and configuration questions

    2
    0 Votes
    2 Posts
    943 Views
    olivierlambertO
    Hi, It failed because you changed the npm version manually. You can indeed re-deploy a fresh XOA, export the configuration and import it on the new one.
  • XO - change control domain memory?

    4
    0 Votes
    4 Posts
    3k Views
    olivierlambertO
    I'm not against exposing this in the UI, it might be not that difficult. However, more traction will obviously make it possible
  • XOA VM Export Fail

    4
    0 Votes
    4 Posts
    954 Views
    olivierlambertO
    No it's even better to have XOA. So I assume you are on latest and fully up to date? Ping @julien-f
  • [solved] NFS on XO failing, on Center has no issues

    24
    0 Votes
    24 Posts
    17k Views
    olivierlambertO
    No problem, it happens.
  • XO from sources - plugins

    3
    1
    0 Votes
    3 Posts
    1k Views
    M
    @Danp super! lol that was exactly it... and funny cause its the same plugin i was looking to have working! Cheers!!!
  • 0 Votes
    8 Posts
    2k Views
    olivierlambertO
    In fact, there's 2 different things: Downloading and unpacking the updates (yum process). This won't change anything right now, because your current updated programs are likely running in memory (Xen, Linux, XAPI…) so only a reboot will make things changed: it's the current update button on the pool view. Evacuating the host, rebooting it to get all the new versions, and migrate back VMs to it (starting by the master) Right now, 1. need to be triggered manually (you must do it otherwise it won't happen: bad if you forgot) but everything else is managed at all hosts of the pool at the same time (good). And 2 is entirely manual. So that's why I wrote this, to get 1. and 2. entirely automated while being safe and giving you reports: https://github.com/vatesfr/xen-orchestra/issues/5286 I have hopes we can deliver a first version (at least from the CLI) for this month release olivierlambert created this issue in vatesfr/xen-orchestra closed Scheduled Rolling pool updates (with reports) for XCP-ng #5286
  • mapping NFS storage from XO fails, but works fine from terminal?

    13
    0 Votes
    13 Posts
    4k Views
    DanpD
    There was a recent commit on Github dealing with NFS mounts. Suggest that you rebuild with the latest source and then try setting up the NFS storage again.
  • Change xoa hostname

    Solved
    2
    0 Votes
    2 Posts
    3k Views
    olivierlambertO
    https://manpages.debian.org/testing/systemd/hostnamectl.1.en.html hostnamectl set-hostname mymachine
  • missing icon on the UI?

    7
    1
    1 Votes
    7 Posts
    1k Views
    olivierlambertO
    If it's not, it's a bug
  • Get VM from <ID>.vhd from Storage-Record

    7
    0 Votes
    7 Posts
    3k Views
    T
    @fluffy-bunny Use this to get your VBDs from each VM xe vm-param-get param-name=VBDs uuid=<vm-uuid> Then to get the name of each VDI file use this xe vbd-param-get param-name=vdi-uuid uuid=<vbd-uuid> But as olivier said, it is much easier to just use XO's disk view of the VM you want, then use the "copy" button to copy its VDI name.
  • 0 Votes
    3 Posts
    2k Views
    N
    Correct, I made changes to pfSense to be my DHCP and DNS Resolver, so had to make that change to the NFS Settings to reflect the Domain Name. Thanks for your help!...
  • Issue with building XO from source on FreeBSD

    8
    0 Votes
    8 Posts
    2k Views
    M
    Seen this too late today but I will give it a whirl tomorrow! Will let know how it went.
  • VM Snapshot Schedules

    Solved
    9
    2
    0 Votes
    9 Posts
    3k Views
    M
    @olivierlambert I posted my issue building on FreeBSD here: https://xcp-ng.org/forum/topic/3788/issue-with-building-xo-from-source-on-freebsd Maybe its better so this doesn't go too offtopic. regarding this question its solved!
  • How do I attach a network to a PIF

    8
    0 Votes
    8 Posts
    4k Views
    K
    @Rocky I'm a little confused I guess. I have a PIF section. There is nothing under my Private Network area. [image: 1604101738911-screen-shot-2020-10-30-at-6.48.50-pm-resized.png]
  • VM Migration Failed & Now Can't Access VM

    12
    0 Votes
    12 Posts
    8k Views
    olivierlambertO
    If migration failed, there's a reason. It's usually stable. Obviously, because your hosts weren't in the pool, a different CPU model can be the problem (they are automatically adapted if they are in the same pool).
  • FreeBSD file restore

    2
    0 Votes
    2 Posts
    485 Views
    olivierlambertO
    I don't this we support UFS right now. If I remember correctly, we got: FAT NTFS ext xfs LVM based