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

    Our future backup code: test it!

    Scheduled Pinned Locked Moved Backup
    128 Posts 10 Posters 49.3k Views 11 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.
    • A Offline
      Andrew Top contributor @florent
      last edited by

      @florent @olivierlambert Not good!... I reverted back due to problems.

      Replication does run. It seems to work. But it leaves lots of zombie export tasks, like:
      Exporting content of VDI ftp_root_jgfkd through NBD+CBT (on xcp1) 17%

      I get about 80% stuck tasks. A toolstack restart clears the tasks....
      CR settings: CBT enabled. NBD=2. Purge enabled.

      F 1 Reply Last reply Reply Quote 0
      • F Online
        flakpyro @Andrew
        last edited by

        @Andrew I am having the exact same issue! Also rolling back! Glad its not just me haha

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

          @flakpyro @florent I had the same problem with the test branch that did not get solved.

          1 Reply Last reply Reply Quote 0
          • florentF Offline
            florent Vates πŸͺ XO Team
            last edited by

            thabnks for the test
            are you doing replication only ? or is a job doiing replication and backup ?

            F A 2 Replies Last reply Reply Quote 0
            • F Online
              flakpyro @florent
              last edited by

              @florent I am just running a "Delta Backup" to an NFS SR. I haven't rolled back yet so if there is any sort of logs i can provide let me know. This is my "home lab" at home where i test new versions of XOA and XCP-NG updates before we end up seeing new features in production with our full XOA appliance at work. πŸ™‚

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

                @florent The job is just Continuous Replication to another local host. These were normal hourly delta transfers.

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

                  Same. Delta, 2 threads, 2 runing, but jobs not cleared.
                  b15d31c5-b0ad-407f-a1bc-b615510a9acf-image.png

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

                    Continuous Replication failed with Error: HANDLE_INVALID(VDI, OpaqueRef:db811593-f18e-7d15-ea8a-465bf7a94917)

                    1 Reply Last reply Reply Quote 0
                    • AtaxyaNetworkA AtaxyaNetwork referenced this topic on
                    • M Offline
                      manilx @florent
                      last edited by

                      @florent https://xcp-ng.org/forum/topic/10857/suddenly-backup-ends-but-tasks-remain-in-task-list/4

                      Rolled back and will stay there until this is fixed. Gave me heart attack....

                      1 Reply Last reply Reply Quote 0
                      • florentF Offline
                        florent Vates πŸͺ XO Team
                        last edited by

                        PR for unclosd task should reach master today
                        https://github.com/vatesfr/xen-orchestra/pull/8590

                        @Tristis-Oris vould you share ( by direct message if you prefer ) the rapport of the failed replication ?

                        fbeauchamp opened this pull request in vatesfr/xen-orchestra

                        closed fix(@xen-orchestra/xapi): really stop xapi task #8590

                        Tristis OrisT A M 4 Replies Last reply Reply Quote 1
                        • Tristis OrisT Offline
                          Tristis Oris Top contributor @florent
                          last edited by

                          @florent https://pastebin.com/vhLXZ94F

                          florentF 1 Reply Last reply Reply Quote 1
                          • florentF Offline
                            florent Vates πŸͺ XO Team @Tristis Oris
                            last edited by florent

                            @Tristis-Oris thanks, but it is marked as a private pastebin

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

                              @florent weird.. it say Pending Moderation. log is too huge to post here.

                              check pm. it should work.

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

                                @florent On a quick CR test, fix_nbd_progress works correctly for me.

                                1 Reply Last reply Reply Quote 2
                                • A Offline
                                  Andrew Top contributor @florent
                                  last edited by

                                  @florent I have the current master (9a833) running now and it's working so far. No change in speed at this time (just testing CR delta).

                                  I did notice that the active tasks show only one Export/NBD but I have 4 configured. I don't know if this is a task view issue (I guess I only need to see one) or a true 1x NBD export.

                                  F 1 Reply Last reply Reply Quote 0
                                  • F Online
                                    flakpyro @Andrew
                                    last edited by

                                    @florent Installed in the same test environment as last week, this time the backup ran successfully and the tasks cleared as usual. I will keep running this build over the next week but so far so good! I should note i am only running Delta backups at home. We use Delta + CR jobs in production at work but that is running full blown XOA. Is the plan to push this to XOA in the next monthly release?

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

                                      Need to restart toolstack on each host after fix. Now all jobs dissapeared.

                                      1 Reply Last reply Reply Quote 0
                                      • M Offline
                                        manilx @florent
                                        last edited by

                                        @florent Just updated XO and it ran my nightly backup without issues clearing tasks.
                                        Nicely done.

                                        1 Reply Last reply Reply Quote 0
                                        • florentF Offline
                                          florent Vates πŸͺ XO Team
                                          last edited by

                                          I am happy to hear this . I am working on this code almost full time since december

                                          Did you try a restore / file restore to ensure the backups are exactly as intended ?

                                          M 2 Replies Last reply Reply Quote 0
                                          • Tristis OrisT Offline
                                            Tristis Oris Top contributor @Tristis Oris
                                            last edited by

                                            still not fixed.

                                            florentF 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better πŸ’—

                                            Register Login
                                            • First post
                                              Last post