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.
    • S Offline
      SylvainB @olivierlambert
      last edited by

      Thanks @olivierlambert

      I'm available to install patch on my installation if you want, and if it's possible.

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates πŸͺ Co-Founder CEO
        last edited by

        If you have a ticket number we could take a look tomorrow πŸ™‚

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          SylvainB @olivierlambert
          last edited by

          @olivierlambert nice !

          Ticket#7727235

          Thanks !

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

            @olivierlambert would this maybe also affect the other vdi_in_use error?

            https://github.com/vatesfr/xen-orchestra/issues/7956

            rtjdamen created this issue in vatesfr/xen-orchestra

            closed VDI_IN_USE(OpaqueRef:d525416f-65c7-48b6-ad1c-200e8b315014, destroy) #7956

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

              @olivierlambert the vdi_in_use error we saw in regarding to destroy has not been occuring again. The vdi_in_use error regarding data_destroy is still occuring. Not shure if the fix did anything or that we were lucky not to see issues last night on it. I believe @florent is right and this is caused by a timing issue but maybe we need more time then 4 seconds.

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

                @rtjdamen I do run from sources and I was on the latest build when I posted. One of my first steps in regards to any issue is to update XO. I do not have any speed limits configured for the job.

                @olivierlambert It seems to be happening fairly regularly for me. At least every couple of days. Let me know what I can do to help troubleshoot.

                It appears that the same thing has happened again. One VM got attached to the Control Domain yesterday and therefore failed to backup. What is odd is that now I have another VM listed twice as being attached to the Control Domain. Oddly, they show the same attached UUID but different VBD UUIDs.

                I see that there are patches available for the pool, so I will apply those as well as update XO and remove the Control attached VMs.

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

                  today i got issues with one of our hosts, i needed to do a hard reset of it. Now i get the error "can't create a stream from a metadata VDI, fall back to a base " for these vms hosted on this machine. I believe this error message is caused because the CBT got invalid after the hard reset. I remember we had this kind of error messages on vmware as well when a host crashed. Maybe if this is the case the error message should be update to something like "CBT is invalid fall back to base" it makes more sense that way.

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

                    @CJ strange indeed, are the backups succesfull or do they fail as well?

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

                      @rtjdamen The one backup failed last night, but the next one hasn't run yet. However, I expect both VMs to fail. Due to issues applying the patches I haven't cleared the control attached domain yet.

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

                        @CJ strange issue, not something we see on our end. Maybe vates has an idea?

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

                          @rtjdamen Agreed. I'm waiting for them to respond regarding my patching problems so I can test the latest updates. If that still has problems then hopefully they can let me know what they need to investigate the issue.

                          1 Reply Last reply Reply Quote 0
                          • 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 Online
                                          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
                                            • First post
                                              Last post