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...
  • Can't deploy XOA

    Solved
    10
    0 Votes
    10 Posts
    4k Views
    olivierlambertO
    I said that for both statements: It's not Xen fault if it doesn't work on top of KVM, but Xen accessing some virt features that aren't correctly exposed by KVM. I'm not blaming them, nested virt is a mess to properly code and test. Consider this as experimental everywhere. I missed the "for me". But it's also vague, I don't know your constraints/what do you want. Also, I think I heard that some users made it work with Virtualbox, but it might also depends on your hardware. As I said, nested virt is a mess, and sometimes, some hardware works better than others (or even some VBox versions).
  • Old snapshot listing

    6
    0 Votes
    6 Posts
    1k Views
    olivierlambertO
    Can you create a GitHub issue gathering our elements here to get a simple but complete "specification"? https://github.com/vatesfr/xen-orchestra/issues/new
  • Backup Continuous Replication hängt!

    Solved
    47
    1
    0 Votes
    47 Posts
    24k Views
    olivierlambertO
    We don't have any other report of this issue elsewhere. Double check you are on the completely latest XO version, and alternatively, try with XOA on latest channel.
  • XOA hangs when trying to show SR in webbrowser..

    11
    0 Votes
    11 Posts
    3k Views
    olivierlambertO
    There's an small update you should see now in your XOA. Install it, and you'll be able to bind the license to this new XOA
  • Enhancement: Show background coalesce and cleanup activities

    18
    0 Votes
    18 Posts
    4k Views
    olivierlambertO
    Yep, there's basically nothing. It's more SMAPI related than XAPI in the end.
  • Phantom Vif in the Stats tab

    3
    2
    0 Votes
    3 Posts
    1k Views
    A
    @olivierlambert Thanks for the response. It does make sense since I made some changes to the network a few days back.
  • Wrong timestamp on snaphot

    Solved
    15
    0 Votes
    15 Posts
    3k Views
    olivierlambertO
    @akurzawa said in Wrong timestamp on snaphot: Hi It'a an important to know exact time of vm and snapshot - eg when recovering for an example a Active Directory or sql database. When doing so, someone can believe that restores the data from {the time visible in name}, because can be unaware of possible offset of zulu time. You already have the exact time If you aren't aware of an ISO standard format date, it's another story. But this is really standard and universal way. I suppose you meant "misinterpreting the snapshot time" which has NOT the same meaning than "incorrect time".
  • 2 Votes
    11 Posts
    4k Views
    akurzawaA
    https://github.com/vatesfr/xen-orchestra/issues/4472
  • Continuous Replication Manual initial seed

    Solved
    7
    0 Votes
    7 Posts
    1k Views
    julien-fJ
    FYI, an extremely basic command line to encode passwords: > node -e 'process.stdin.on("data", _ => {console.log(encodeURIComponent(_.toString().trim())); process.exit()}); process.stdout.write("Password: ")' Password: foo@bar foo%40bar
  • Remotes - NFS - Disk (Used / Total) blank after update

    8
    0 Votes
    8 Posts
    2k Views
    C
    @badrAZ w00t! Thank you! I look forward to the update. BTW, I went ahead and threw my updated XO CE into "production" here at home where it runs 10 VMs. So far no other issues seen by me. XCP-NG/XO.
  • NFS Backups and Xen Orchestra

    9
    0 Votes
    9 Posts
    6k Views
    olivierlambertO
    Doc now updated with 2 pictures here: https://xen-orchestra.com/docs/proxy.html#architecture
  • 0 Votes
    29 Posts
    8k Views
    olivierlambertO
    Have you read https://xen-orchestra.com/docs/delta_backups.html ? Use normal backup it will work. Or stick with delta and advanced option, a full every 1 backup.
  • Xen Orchestra editions

    Solved
    6
    0 Votes
    6 Posts
    4k Views
    olivierlambertO
    You are welcome
  • Delta backup always full for running VMs

    14
    0 Votes
    14 Posts
    3k Views
    J
    @julien-f Thank you and @olivierlambert for the quick and outstanding support!
  • sexilog ova import... causes xoa to drop import task

    10
    0 Votes
    10 Posts
    2k Views
    nraynaudN
    you can follow the fix is in this pull request: https://github.com/vatesfr/xen-orchestra/pull/5085
  • Unable to register XOA

    Solved
    7
    0 Votes
    7 Posts
    6k Views
    olivierlambertO
    Did it for you
  • 0 Votes
    28 Posts
    14k Views
    M
    Hi, I've noticed the addition of the commit about the 99 limit warning. That's good news. I am now having trouble trying to understand the meaning of the Full Backup Interval setting. I have the following scenario: Backups for the last 30 days, daily. Backups for the last 52 weeks, weekly. I want to make sure that the delta backups are not corrupt periodically (let's say once a month). I don't understand how to set the schedules, the backup retention, the full backup interval. I also need answers to the following questions, and I haven't been able to understand this from the documention. Do I need one delta backup with 2 schedules, or 2 backups with one schedule each ? I've noticed that full backup interval is per backup, whereas retention is per schedule. How do these two settings interact with multiple schedules? On what dates will the transfers be large ? How many full backups will be stored on the remote at any given time ? When will the merges happen? Thanks
  • All plugins missing after upgrade from sources

    Solved
    5
    0 Votes
    5 Posts
    1k Views
    olivierlambertO
    https://xen-orchestra.com/docs/community.html Always pull the latest commit and rebuild before opening a thread
  • Increase dynamic minimal memory limit on increasing RAM

    1
    0 Votes
    1 Posts
    505 Views
    No one has replied
  • New Error w/ Backups

    2
    0 Votes
    2 Posts
    520 Views
    olivierlambertO
    Hi, Have you checked that before? https://xen-orchestra.com/docs/community.html