Subcategories

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

    499 Topics
    4k Posts
    I
    @tjkreidl everything looks normal. I also shared SOS report with @goulven I hope I'll get a feedback on slowness.
  • ACLs, Self-service, Cloud-init, Load balancing...

    107 Topics
    877 Posts
    Bastien NolletB
    Hello @ludalm13, Thanks for your contribution and sorry for not giving an answer earlier. We initially planned to review your PR while doing some additional work on the audit plugin, but our planning evolved and that work was postponed. We'll review your PR in the following days.
  • All XO backup features: full and incremental, replication, mirrors...

    550 Topics
    6k Posts
    Z
    Hi, I think I'm hitting the same issue, on the same versions (sm-3.2.12-25.2, blktap-3.55.5-12.3, XCP-ng 8.3, XOA stable fully updated). In my case it's incremental replication between two local EXT qcow2 SRs (source Xcpng-02, target Xcpng-03). It's consistent rather than intermittent, and only one VM's 425 GiB disk (~341 GiB used) is affected; 15 other VMs replicate incrementally fine. A fresh reseed doesn't help: the full succeeds, then the next incremental fails again. CBT on or off made no difference. My disks were never VHD. They were imported from VMware directly as qcow2. I traced the timing on the target host, in case it helps narrow it down: 18:58:00 qcow2-to-stdout.py <replica disk> --diff <replica snapshot> (tapdisk 2181814) 19:04:57 tap-ctl close -p 2181814 -m 4 -t 120 failed ... Connection timed out, status=110 -> SR_BACKEND_FAILURE_1200 on VBD.unplug_force (xo-server: BodyTimeoutError, "Couldn't disconnect ... from dom0", "can't compute delta ..., fall back to a full") 19:06:59 same tap-ctl close timeout on retry 19:08:14 qcow-tool failed, returning VDI_IO_ERROR ... BrokenPipeError: [Errno 32] Broken pipe The smaller disk of the same VM (~93 GiB used) completes the same diff in about 3 minutes. qemu-img map on these files takes under 2 seconds, so the time seems to be inside the diff itself. From a quick read of qcow2-to-stdout.py, --diff appears to read and compare all allocated clusters, so for a large disk it can run more than 5 minutes without sending anything. Here's what I think is happening, though I may be wrong: The diff runs for a long time without sending any data back to XO. After about 5 minutes of silence, xo-server gives up (BodyTimeoutError) and tries to unplug the disk. The unplug fails because the diff is still reading the disk through tapdisk, so tap-ctl close times out (SR_BACKEND_FAILURE_1200). If that's right, the 1200 error and the stuck VBD are side effects. The real problem would be how long the diff takes on a large disk.
  • 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
    509 Posts
    enkaskalE
    @poddingue no worries and thanks for reporting your findings
  • Control domain of Xcp-ng

    16
    1
    0 Votes
    16 Posts
    4k Views
    olivierlambertO
    https://xcp-ng.org/docs/troubleshooting.html is a good start to read. In your case, it's likely inside /var/log/SMlog
  • Troubleshooting Backups (in general)

    7
    2
    0 Votes
    7 Posts
    2k Views
    daveD
    @olivierlambert Yes, i will update and have a look if it changes the behaviour anyhow. "For the rest, it's hard to answer without digging more." That`t exactly was i was looking for: Any Information where i can dig deeper? I`m looking for logs or traces of errors or so. It is not that i just wan`t this particular problem to be solved In my limited understanding of interal processes i think somehow a backup process dies and xo-server does not report or recognize this. But shouldn`t it somehow?
  • ISO Import to Local Storage via XO Not Working

    5
    0 Votes
    5 Posts
    4k Views
    K
    @olivierlambert Oh nice, hope it's not too cold over there. It's 9AM over here in Maryland and a bit nippy but not too cold. Nope, no host or pool logs available (both are empty). Then again, I cleared all the alerts from the dashboard earlier this morning, so not sure if that's what wiped all the logs. I'm not too worried, as this is a testing environment so I'm using this host to do a lot of learning.
  • backup using http instead of https

    23
    0 Votes
    23 Posts
    9k Views
    florentF
    @KPS that is a second bug I will look into it this afternoon. edit : confirmed, I'm working on it
  • XOCE limit ?

    27
    2
    0 Votes
    27 Posts
    10k Views
    florentF
    @Gheppy I am not an expert on the network part but I can help on the NBD part We added some info in this PR https://github.com/vatesfr/xen-orchestra/pull/6596, it should be merged in this form or another in master in a few days. It will give the user more info on the NBD usage and the cause (misconfiguration, or network error) Then if XO ( or the proxy) can't connect to the host through the NBD (for example with a network filtering/ routing), it will fall back to the reliable (but non parallelizable) api call Finally , the backup done with NBD or the legacy api call will produce exactly the same data so they are compatibles, but using the same target (as in the same directory , same remote and same VMs) for multiple job can lead to complex support tickets with interesting race conditions. I would advise to only use the same remote/directory only if the backups jobs does not concern the same VMs
  • S3 Remote with encryption: VHDFile implementation is not compatible

    11
    0 Votes
    11 Posts
    3k Views
    florentF
    @cdbessig that's strange Since S3 remote are only able to store blocks, the option is enforced on save ( without any uI) I tested locally and the options seems to be there. Can you show me a screenshot of the backup job configuration ?
  • Base Copy (No active VDI)

    vdi base copy remove
    4
    1
    0 Votes
    4 Posts
    3k Views
    olivierlambertO
    Remember that the point of pro support (to help and guide you to run this setup confidently in production).
  • VM won't start with internal error

    7
    0 Votes
    7 Posts
    2k Views
    DanpD
    What is your process for provisioning a VM? What template are you using?
  • XO reports wrong number of backups

    Solved
    11
    0 Votes
    11 Posts
    3k Views
    codesmakerC
    @julien-f Thanks a lot for the fast answer. I'll update to the latest version and test.
  • Importing OVA - “Device Already Exists”

    24
    0 Votes
    24 Posts
    13k Views
    planedropP
    @trent234 Interesting, good to know. I do know that XCP-ng only officially supports 7 network interfaces, so not really surprised by that. It supports more VHDs though so feel like I shouldn't be seeing this error.
  • XOCE - Config path

    10
    0 Votes
    10 Posts
    2k Views
    K
    @Gheppy I found my issue... The changes, I wanted to test have not been committed to "master-branch". After changing the branch, everything is clear... Thank you for your help!
  • 0 Votes
    7 Posts
    2k Views
    olivierlambertO
    +1, that's the way to go
  • error -104

    21
    0 Votes
    21 Posts
    13k Views
    P
    @tuxen No GPUs were removed. only 2 were added. The only PCIE item removed was a NIC but I didn't remove it from dom0 or assign it to any VMs, it was just in the system.
  • [XO-CE] job.Sequence error - invalid parameters

    xoce jobs
    3
    7
    0 Votes
    3 Posts
    2k Views
    julien-fJ
    I believe this is a known issue (https://github.com/vatesfr/xen-orchestra/issues/5973) that is unlikely to be fixed in XO5. We'll need to wait for @pdonias to be back from holidays to have more info on this.
  • Deleting snapshots and base copies

    18
    1
    0 Votes
    18 Posts
    9k Views
    S
    @sumansaha In summary , I've deleted Orphan VDIs from Dashboard->health . But in deletion, I've maintained the sequence of their age.It has taken 6 hours, though that depends on the VM size.
  • Show me your backup performance

    11
    0 Votes
    11 Posts
    2k Views
    olivierlambertO
    If you do a full every time, it's fine (use no retention or full every time)
  • How to delete unmanaged disks in local storage

    7
    0 Votes
    7 Posts
    6k Views
    olivierlambertO
    You can't delete a base copy. You need to understand how it works before doing dangerous operations. A base copy exists if there's a snapshot. If you have 0 snap and still base copy, it could be either: because the coalesce isn't finished because the coalesce doesn't work In both case, you have to take a look at your SMlog. If you have no idea about it, you should either get pro support or start to read the doc in more details You can start here: https://xcp-ng.org/docs/storage.html#coalesce
  • FYI - Applying 11/3/2022 and 11/4/2022 Commits in XO from Sources

    22
    0 Votes
    22 Posts
    14k Views
    E
    Thanks for sharing
  • Delta Backup broken with commit 45dcb914...

    3
    0 Votes
    3 Posts
    676 Views
    A
    @julien-f The new update seems to be working correctly now. Thanks for the quick update fix. The backup cache fixes/cleanup made a huge difference (improvement). I was trying to figure out what was going on with my backups as they were running but were missing from the restore list. After the cache cleanup, it showed 3-4 times the number of restore points! All the missing stuff and more. It took some time to clean up all the extra stuff, but backups seem to be back on track again.
  • EIO: i/o error, close when making backup over 10 GbE nic.

    2
    0 Votes
    2 Posts
    661 Views
    tjkreidlT
    @anturk What errors do you see in /var/log./SMlog related to this? Have you run ifconfig or netstat to look for network transmission errors? Is this a new setup and if so, are you sure the cables are of good quality? Is this a dedicated NIC or is it part of a VLAN?