Subcategories

  • VMs, hosts, pools, networks and all other usual management tasks.

    491 Topics
    4k Posts
    L
    It's a been a while since this thread has been updated, so I figure I should share what I've learned. First: here's a script which reproduces the bug reliably and includes steps to revert: https://gist.github.com/dmeiselman/ecb35ffcb675c38e6eeb14292948c2e3 Don't run this on your production cluster. Here's my understanding of this bug and it's current state: Some operation sets the snapshot_of metadata field of a valid snapshot to NULL (We can do this intentionally by making a VM, taking a snapshot of it, then deleting the parent disk.) If you perform a revert of this invalid snapshot, revert's "Updating the snapshot_of fields" step looks for VDIs whose snapshot_of matches the snapshot's source disk, so it can relink them to the new disk. If the source is NULL, the search becomes "every VDI with NULL", which matches ISOs, base images, ordinary VM disks. Congrats, every real disk and ISO in every SR now looks like a snapshot. Now these disks have a value set for snapshot_of which means XOA hides the VDI in the web UI. The fix is to delete or clone the super-parent, and all of its snapshots. sr_scan will correct the metadata for all the VMs and ISOs and you're back where you started. This happens in line 401 of https://github.com/xapi-project/xen-api/blob/v26.1.19/ocaml/xapi/xapi_vm_snapshot.ml#L389-L408 PR 7290 https://github.com/xapi-project/xen-api/pull/7290 has a fix, which looks like it's coming in xapi v26.1.21. (It's worth reading the Pull Request, as it has a more graceful description of the issue, it really helped me wrap my head around it.)
  • ACLs, Self-service, Cloud-init, Load balancing...

    107 Topics
    874 Posts
    poddingueP
    @dknight-bg the Feeder post you linked asks for two things: sending audit events to syslog, which is what this PR does, and recording successful logins, which as far as I can tell the PR doesn't touch. If others reading this need either one, a vote on https://feedback.vates.tech/posts/88/audit-log-forward-events-to-remote-syslog-record-successful-logins is the easiest way to show it. The PR is still waiting for a reviewer, as far as I can see.
  • All XO backup features: full and incremental, replication, mirrors...

    543 Topics
    6k Posts
    R
    Update: switching the remote to “multiple data blocks” fixed the 2 TiB overflow. The full backup now succeeds (≈1.1M blocks, 13 h) and file restore works. However, the next incremental always falls back to a full The delta export request gets no data for exactly 5 minutes, then undici’s body timeout fires. So “can’t compute delta” is actually a timeout. My guess is that the host takes more than 5 min to compute the qcow2 delta of a 3 TB disk before sending the first byte (single SATA SMR disk, local EXT SR). XapiQcow2StreamSource.close() throws because the source was never initialized. In earlier attempts, this may have left tapdisks for the qcow2 snapshots stuck and attached to dom0 (tap-ctl close timing out, SR_BACKEND_FAILURE_1200). I had to kill them manually before the VBDs could be unplugged. CBT is disabled on all VDIs. Is there a way to increase this timeout for qcow2 delta exports, or is a fix planned (e.g. keep-alive while the delta is computed)? Is the close() error on an uninitialized source a known bug? Same environment as above (XO from sources 3923756ff, XCP-ng 8.3.0, sm-3.2.12-25.1).
  • Everything related to Xen Orchestra's REST API

    89 Topics
    656 Posts
    P
    Hi, This was fixed in Latest. But if you need to stay on Stable, you can open a ticket to have a patch.
  • Terraform, Packer or any tool to do IaC

    54 Topics
    506 Posts
    D
    @julienXOvates said: Just discussed this with @nathanael-h; I would strongly recommend using the load balancer plugin in XO and create some VM-to-host affinity rules, so that your CP VMs are running on different hosts ! So when the RPU comes you would have minimum impact. Yeah the Load Balancer plugin is an option, though not in my plan. I could certainly get it by using XOCE for free though. I wonder if Host Affinity might work as well...
  • SelfService issues creating new VM

    7
    0 Votes
    7 Posts
    2k Views
    olivierlambertO
    Indeed, this was an issue only hitting master (and XOA latest branch). This is now solved (see https://github.com/vatesfr/xen-orchestra/issues/4565 ). Note those are kind of features are usually utilized in corporate environment. What's your use case out of curiosity?
  • Enhancement: Schedule view for backups

    7
    0 Votes
    7 Posts
    1k Views
    olivierlambertO
    I think we could have: real duration for past jobs just a "dot" or vertical bar for the start of next jobs (so you'll know when they'll start, but we can't predict the duration) ideally, in live, the current updated Gantt of live backup tasks
  • Backup-ng failed after reducing retention

    5
    1
    0 Votes
    5 Posts
    707 Views
    ForzaF
    Yep. Thanks.
  • Hardened systemd unit file for xo-server

    1
    0 Votes
    1 Posts
    867 Views
    No one has replied
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • Console window as input field

    2
    2 Votes
    2 Posts
    743 Views
    olivierlambertO
    Hi there! This is something we have in mind for XO 6
  • NFS Mount BackupNG Permission Denied

    4
    2
    0 Votes
    4 Posts
    4k Views
    nikadeN
    Try creating a directory within that share as root and then chown -R nobody:nogroup folder/ After doing so you should be able to mount /path/to/your/share/folder
  • Install and setup XOA with XCP

    4
    0 Votes
    4 Posts
    2k Views
    olivierlambertO
    In my previous post there's a link in the "contact us" words. Click on it to see a contact form.
  • 0 Votes
    6 Posts
    2k Views
    olivierlambertO
    Hang on then, tree view is coming
  • Will it Live Migrate...?

    4
    0 Votes
    4 Posts
    3k Views
    olivierlambertO
    Yes, in this case it will be "live storage motion" (ie migrating with the storage, because you don't have a shared storage). Note that you should add the server to the pool first, and then only add VMs on local storage. Because when you add a new host to a pool, all the existing storage/VMs will be removed (VMs on the new hosts)
  • Can't access NFS in XO

    Solved
    5
    0 Votes
    5 Posts
    3k Views
    okynnorO
    Thanks. I guessed that I needed to put the full path on FreeNAS as there is not masking when expose as NSF by FreeNAS. So I put the full path as "/mnt/MybooksVolume/VM_ISOs" and that seems to have fixed the problem.
  • ACL Network / Allowed IPs

    5
    0 Votes
    5 Posts
    3k Views
    pdoniasP
    It's an admin privilege.
  • VM is hanging during typing

    5
    0 Votes
    5 Posts
    930 Views
    S
    i don't use it cause i work only with mac. this is the reason why i get xoa. ... in the xencenter on windows it works normally. but i try this on different browsers. the problem is the same
  • Xen Orchestra ZFS issue..

    1
    0 Votes
    1 Posts
    736 Views
    No one has replied
  • create resource pool

    6
    0 Votes
    6 Posts
    4k Views
    olivierlambertO
    Migrate it to the host that will be the master (even local storage of the master). Then you can add any slave.
  • xoa-updater failing

    8
    0 Votes
    8 Posts
    5k Views
    olivierlambertO
    IIRC we have something in the pipes to solve this, but not yet. Please open a support ticket so we can continue discuss with more details related to your infrastructure
  • IP pool for IPv6

    feature in backlog
    6
    0 Votes
    6 Posts
    2k Views
    D
    @olivierlambert issue created https://github.com/vatesfr/xen-orchestra/issues/4515
  • unattached disk cannot be moved

    Solved
    8
    0 Votes
    8 Posts
    2k Views
    olivierlambertO
    Please refer to https://github.com/vatesfr/xen-orchestra/issues/4455
  • xoa-updater service not running

    4
    3
    0 Votes
    4 Posts
    1k Views
    olivierlambertO
    2GiB is enough. Please create a support ticket (yes you can with XOA Free) so our dedicated support team assist
  • XOA Full Backups consumes to much SR space.

    Moved Solved
    6
    0 Votes
    6 Posts
    2k Views
    B
    Yes, setting concurrency to 1 helps me. Will try to run concurrency >1 on th pool and see how it works. When concurrency > 1 it would be nice to split backups per-host (in case of pool) or per-SR (in case of multiple SRs)