XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    CBT: the thread to centralize your feedback

    Scheduled Pinned Locked Moved Backup
    439 Posts 37 Posters 386.6k Views 29 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C Offline
      CJ
      last edited by

      I'm now updated to the latest patches and XO version. I've cleaned out the control attached VMs and the orphans. We'll see how the backup goes tonight.

      R 1 Reply Last reply Reply Quote 0
      • R Offline
        rtjdamen @CJ
        last edited by

        @CJ fingers crossed!

        1 Reply Last reply Reply Quote 0
        • R Offline
          rtjdamen
          last edited by

          Hi all, i can confirm the vdi_in_use error is resolved by https://github.com/vatesfr/xen-orchestra/pull/7960 we no longer see issues there.

          Only remaining issue we see is the “ can’t create a stream from a metadata vdi fall back to base”

          fbeauchamp opened this pull request in vatesfr/xen-orchestra

          closed feat(backups/CBT): retry data_destroy when error is VDI_IN USE #7960

          1 Reply Last reply Reply Quote 1
          • Tristis OrisT Offline
            Tristis Oris Top contributor
            last edited by

            not sure is it CBT related, but 1 pool got a huge coalesce queue after i tried migrate VDI to another storage.

            for example, this VM halted for a months with disabled backups. How it possible to get coalesce this way?
            89e83148-f664-4851-a326-267f9f262ddd-image.png

            ba2e7789-ccae-4835-9b25-271d94317584-image.png

            R 1 Reply Last reply Reply Quote 0
            • R Offline
              rtjdamen @Tristis Oris
              last edited by

              @Tristis-Oris Coalesce Leaf is only valid with no snapshots on the vm, if there is one this is just coalesce and the button does not work. Maybe check your smlog to see if there are any coalesce related errors. Also check if there are vdi's attached to the control domain, sometimes this can prevent coalesce from occuring.

              1 Reply Last reply Reply Quote 0
              • C Offline
                CJ
                last edited by

                Unfortunately, I have to report that my 3 problem VMs all have attached themselves to the control domain again.

                1 Reply Last reply Reply Quote 0
                • C Offline
                  CJ
                  last edited by

                  Things continue to get weirder. I now have three copies of one VM attached to the control domain along with one copy each of the other two VMs but the delta backup says that it successfully completed.

                  Any ideas why the one VM keeps getting additional disks attached to the control domain?

                  A 1 Reply Last reply Reply Quote 0
                  • A Offline
                    Andrew Top contributor @CJ
                    last edited by

                    @CJ Do you have Number of NBD connection per disk set to 1 (one), or is it set higher? If it's set higher than 1, try setting to back to 1. I have the same problem when I use higher than 1.

                    C 1 Reply Last reply Reply Quote 0
                    • C Offline
                      CJ @Andrew
                      last edited by

                      @Andrew I have it set to 4. But it's only these 3 VMs, not all of the VMs part of the backup job.

                      1 Reply Last reply Reply Quote 0
                      • olivierlambertO Offline
                        olivierlambert Vates 🪐 Co-Founder CEO
                        last edited by

                        Try to set it to 1 first and see if you still have the same problem (after cleaning the previous left overs)

                        C 1 Reply Last reply Reply Quote 0
                        • C Offline
                          CJ @olivierlambert
                          last edited by

                          @olivierlambert That's the really weird part. Other than the notice on the dashboard, I'm not having any problems. 🙂 The backups are completing successfully. Which is a definite change from before I updated everything. Then the backups would fail for any VM with an attached disk.

                          R 1 Reply Last reply Reply Quote 0
                          • R Offline
                            rtjdamen @CJ
                            last edited by

                            @CJ we have the number of nbd connections also set to 1, did some testing with more but had issues with it and it gave no performance improvement. Maybe this is causing your issue?

                            1 Reply Last reply Reply Quote 0
                            • C Offline
                              CJ
                              last edited by

                              This is odd. It seems to need to get to a certain point before backups start failing. I have the one VM with 3 disks attached to the control, the other two with only one disk each attached, and now a fourth VM with only one disk attached. However, the backup only failed the original three VMs. The backup failed with "VDI_IN_USE(OpaqueRef:UUID, destroy)".

                              I've changed the number of NBD connections to 1 so we'll see if that stops the attachment issue.

                              There appears to be a problem with the backup report email, however. It states "Success: 0/N" while the actual job report shows that only the three VMs failed and the others succeeded.

                              A 1 Reply Last reply Reply Quote 0
                              • A Offline
                                Andrew Top contributor @CJ
                                last edited by

                                @olivierlambert @florent @CJ Backups have been much more stable since the latest XO update 10-Sep-2024 (XOA 5.98.1, master commit 4c7acc1).

                                Running CR and CBT/NBD of 2 connections does not leave stranded VDIs any more (at least I have not seen any yet).

                                R 1 Reply Last reply Reply Quote 1
                                • R Offline
                                  rtjdamen @Andrew
                                  last edited by

                                  @Andrew we see the same behavior here, no strange backup issues so far!

                                  1 Reply Last reply Reply Quote 1
                                  • C Offline
                                    CJ
                                    last edited by

                                    No attached disks so far, but I'll wait until next week to bump up the NBD connections to make sure.

                                    1 Reply Last reply Reply Quote 1
                                    • C Offline
                                      CJ
                                      last edited by

                                      Unfortunately, as soon as I bumped the NBD connections up to 2 I got an attached disk. It doesn't seem like the latest changes have fixed the issue.

                                      Xen Orchestra, commit 74e6f

                                      D R 2 Replies Last reply Reply Quote 0
                                      • D Offline
                                        Delgado @CJ
                                        last edited by

                                        This post is deleted!
                                        1 Reply Last reply Reply Quote 0
                                        • R Offline
                                          rtjdamen
                                          last edited by

                                          @florent deployed a fix last week that resolved the vdi_in_use errors, however after updating tot the latest XOA release that problem came back and is not resolved anymore. Not shure if this is a new issue or that it is having issues with the fix.

                                          1 Reply Last reply Reply Quote 0
                                          • R Offline
                                            rtjdamen @CJ
                                            last edited by

                                            @CJ seems like issue with the nbd connections then… hope this is something that can be fixed easy.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post