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

    Our future backup code: test it!

    Scheduled Pinned Locked Moved Backup
    81 Posts 10 Posters 2.6k Views 10 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 Online
      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 Offline
        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 Online
          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 Offline
              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 Online
                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
                    • M Online
                      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

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

                        Tristis OrisT A 3 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 Online
                                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 Online
                                  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 Offline
                                    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
                                      • First post
                                        Last post