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
  • Force full backup vs Full backup interval

    4
    2
    0 Votes
    4 Posts
    1k Views
    ForzaF
    @julien-f said in Force full backup vs Full backup interval: @s-pam Essentially the same feature, they force the export of a full backup. Full backup interval forces a full after a number of delta exports. Force full backup forces a full when this specific schedule is ran, which allows for instance to do delta during the week and a full on Sunday. Ah, of course. So I can add a second schedule to the backup job, and in that I choose force full. nice. I did try to search in the https://xen-orchestra.com/docs/backups.html docs for it before asking.
  • Feature request: filter in restore dialogue

    4
    1
    0 Votes
    4 Posts
    443 Views
    olivierlambertO
    @julien-f any opinion on this?
  • Shared clipboard in XOA console with Ubuntu 20.04 VM

    4
    0 Votes
    4 Posts
    1k Views
    ForzaF
    @pavelhr said in Shared clipboard in XOA console with Ubuntu 20.04 VM: @rj-dsl no way, I need to input it in GUI Use vnc/remote desktop.
  • Installing Windows 10 on Xen Orchestra

    feature in backlog
    8
    1
    0 Votes
    8 Posts
    7k Views
    tanseiT
    @adzmedia Hi adzmedia, I can give my nails cut for the fact that this is due to the overall slowness between the xcp-ng and XOA. I've been having similar issue and was pulling my hair, in a usecase where my xcpng was on the other side of the VPN wire, and the virtual console of the VM, could not be drawn on time to allow me hitting any key to run the content within the mounted iso. (in my scenario I I've been using xcp-ng centre) this issue become the relict of the past, when I did the same thing within my network (still over the vpn but utilizing a RDP of the machine within the LAN network). maybe apache quacamole will do the trick for you, to expose some way of reching it out. think about it. ps. I've been having this with BIOS / UEFI, at first place I thouht this is an uefi, but it was not.
  • XCP-NG host crashing, what logs should I check?

    10
    0 Votes
    10 Posts
    4k Views
    J
    Still running. Must have been the change I did in the BIOS.
  • XO Tasks VS xe task-list - which is correct?

    Solved xenorchestra xoa xe-cli xo-cli
    6
    4
    0 Votes
    6 Posts
    3k Views
    olivierlambertO
    @rjt yes exactly.
  • 0 Votes
    9 Posts
    2k Views
    olivierlambertO
    I opened that ticket myself. But it's an old bug that should have been solved or not reproduced since. You should at least upgrade to a supported version to see if it's still happening.
  • xo-cli and using self signed certificates

    6
    0 Votes
    6 Posts
    3k Views
    olivierlambertO
    That's the part where are potential/future public API could be very helpful
  • VM is running correcty, but console in XO/Xen-Center frezze

    5
    0 Votes
    5 Posts
    636 Views
    olivierlambertO
    Well, if you pay for an LTS version with active support on it, indeed, update to a more recent version shouldn't be the solution to a bug. But there's no such thing as LTS for Xen Orchestra, since there's a monthly release cycle. And I'm not aware either that you are paying for it
  • Can't create Private Network, on XO 5.83

    14
    1 Votes
    14 Posts
    4k Views
    BenjiReisB
    @bberndt the sdn controller communicate with the hosts on port 6640, opening it on the host should be enough. I don't know what's happening. !this TLS error should have been solved by the override-certs option set to on.
  • Lock file is already being held

    6
    0 Votes
    6 Posts
    2k Views
    brodiecyberB
    @brodiecyber Looks like it was some fluke with the way i scheduled the backup job as after i reorganized the times for the backup jobs im not encountering the error anymore. so entirely my fault was experimenting with incremental backups Thanks
  • Some questions to VM and XO and so on

    4
    2
    0 Votes
    4 Posts
    1k Views
    M
    @olivierlambert said in Some questions to VM and XO and so on: remote in Xen Orchestra is the place Thank you so much! to 3. I think I just go with mounting the NFS or SMB share to a VM to store some data in it. to 4. Was just interested if it works @Darkbeldin Thank you for sharing this tool
  • Best Way to Backup XCP NG

    2
    0 Votes
    2 Posts
    3k Views
    DarkbeldinD
    @gojjily Hi Gojjily, Not sure i fully understand your question so let me clarify some points and perhaps you can ask some questions after that. XO allow you to make backups to what we call a remote, this remote is a network share (or local but not recommended) inside the XCP network where you can store your backups. You can also backup XCP metadata this allow you in case of a major crash of one of your host to restore the host configuration. Once your backups are setup you can restore them directly from your XO. If you want to protect further your data you could copy your backup to another place but it's not directly include in XO even if you could set two remotes for the same backup job and have you backups directly replicated hope this clarify a bit.
  • can you convert from xo compiled to XOA when ready?

    4
    0 Votes
    4 Posts
    684 Views
    olivierlambertO
    As I said, we can extend it, just ask us
  • web-hooks Keeps giving errors

    2
    0 Votes
    2 Posts
    539 Views
    olivierlambertO
    Check the Settings/logs view for more details.
  • Backup timeout with compresion

    6
    0 Votes
    6 Posts
    743 Views
    GheppyG
    Is there any option to set for timeout value? I say this because, monitoring the process, everything seems to be going well until the moment when it starts to check the free space. XCP-NG is 8.2 up to date, the disk on which the VM is it is formated as local ext. The connection to the backup server is on NFS on the LAN at a speed of 1Gb. On the iotop it seems that the space check goes with speed 650Gbits +.
  • Migrating VM fails with DUPLICATE_VM error part2

    47
    0 Votes
    47 Posts
    23k Views
    A
    @darkbeldin For the record, both vm's were running on the same esxi host when exported. This may or may not be a factor (I suspect it is).
  • Slow XOA VM download (~250KBps)

    7
    0 Votes
    7 Posts
    2k Views
    B
    @olivierlambert I've dug into the issue a bit more, and it just gets stranger. Downloading to my Macbook on the same network gets ~4MB/s. This means there is something strange going on with the control domain around remote downloads. When I test the disk speed (which is an Samsung NVMe), the speed is 1.7GB/s: [14:31 xcp-host ~]# dd if=/dev/zero of=testfile oflag=direct bs=1M count=5000 status=progress 4998561792 bytes (5.0 GB) copied, 3.000607 s, 1.7 GB/s 5000+0 records in 5000+0 records out 5242880000 bytes (5.2 GB) copied, 3.15049 s, 1.7 GB/s When I test the network speed with Ookla's speedtest-cli it confirms a 1G connection, and a 1G transit to Europe (checked this twice because 1G Atlantic transits are rare): [14:44 xcp-host ~]# speedtest -s 2023 Speedtest by Ookla Server: LaFibre.info - Lyon (id = 2023) ISP: Bell Canada Latency: 108.05 ms (0.49 ms jitter) Download: 960.47 Mbps (data used: 1.5 GB ) Upload: 172.11 Mbps (data used: 293.4 MB ) Packet Loss: 0.0% Result URL: https://www.speedtest.net/result/c/b8f1da9f-5c57-4ad8-ad3b-729e1625affe On my Macbook (on 802.11ac) I can download an Ubuntu image at ~14MB/s ➜ wget http://ubuntu.mirrors.ovh.net/ubuntu-releases/21.10/ubuntu-21.10-desktop-amd64.iso --2021-11-16 14:49:41-- http://ubuntu.mirrors.ovh.net/ubuntu-releases/21.10/ubuntu-21.10-desktop-amd64.iso Resolving ubuntu.mirrors.ovh.net (ubuntu.mirrors.ovh.net)... 213.32.5.7 Connecting to ubuntu.mirrors.ovh.net (ubuntu.mirrors.ovh.net)|213.32.5.7|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 3116482560 (2.9G) [application/octet-stream] Saving to: ‘ubuntu-21.10-desktop-amd64.iso’ ubuntu-21.10-desktop-amd64.iso 3%[=> ] 107.27M 14.4MB/s eta 4m 14s However on the control domain the download speed is considerably lower: [14:52 xcp-host ~]# wget http://ubuntu.mirrors.ovh.net/ubuntu-releases/21.10/ubuntu-21.10-desktop-amd64.iso --2021-11-16 14:53:03-- http://ubuntu.mirrors.ovh.net/ubuntu-releases/21.10/ubuntu-21.10-desktop-amd64.iso Resolving ubuntu.mirrors.ovh.net (ubuntu.mirrors.ovh.net)... 213.32.5.7 Connecting to ubuntu.mirrors.ovh.net (ubuntu.mirrors.ovh.net)|213.32.5.7|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 3116482560 (2.9G) [application/octet-stream] Saving to: ‘ubuntu-21.10-desktop-amd64.iso.1’ 3% [==> ] 106,910,815 3.20MB/s eta 16m 47s Have you ever see something like this before? I saw you had some discussion on another thread regarding slow writes in a VM, but this looks like it affects the control domain as well: https://xcp-ng.org/forum/topic/4865/slow-disk-writes-inside-vm-on-8-2
  • Host Time with wront time, but timezone is OK

    4
    0 Votes
    4 Posts
    2k Views
    olivierlambertO
    Well, it's a bit hard to tell you directly what to do vs XOA, because on XOA you are already on a validated OS (Debian) with some packages installed. On which OS did you install Xen Orchestra in the first place?
  • Interrupted backups left on destination

    Solved
    3
    0 Votes
    3 Posts
    702 Views
    julien-fJ
    Sorry for the huge delay, I just stumbled on this thread It's indeed the case now, XO automatically check the integrity and clean any unused files in VM directory on a remote when that VM is backed up.