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

    metadata backups suddenly failing

    Scheduled Pinned Locked Moved Solved Xen Orchestra
    22 Posts 5 Posters 4.8k Views 3 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.
    • M Offline
      manilx
      last edited by

      Hi

      updated XO comunity edition to latest. And now I find that metada and xo config backups are all failing.
      ScreenShot 2023-03-01 at 09.09.45.png

      Nothing else was changed.
      Any idea?

      M 1 Reply Last reply Reply Quote 0
      • julien-fJ Offline
        julien-f Vates 🪐 Co-Founder XO Team @julien-f
        last edited by

        @manilx @Andrew It should be fixed, thanks!

        https://github.com/vatesfr/xen-orchestra/commit/ea2c6416044a3bf4a9c4ee5a246d44aa2fa2f4f9

        0 julien-f committed to vatesfr/xen-orchestra
        fix(backups): fix remote timeout for metadata
        
        Fixes https://xcp-ng.org/forum/post/59356
        
        Introduced by 61b9a4cf2O
        A M 2 Replies Last reply Reply Quote 1
        • M Offline
          manilx @manilx
          last edited by

          @manilx I rolled back one version and backup ends fine.
          ScreenShot 2023-03-01 at 09.24.54.png

          1 Reply Last reply Reply Quote 0
          • DanpD Offline
            Danp Pro Support Team
            last edited by

            Interesting. FWIW, I'm on the latest commit and just ran a metadata / xo config backup that completed successfully.

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

              @Danp Never had this before but it is what it is....

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

                @manilx
                Tested again:
                powered down
                created snapshot just in case
                run update

                Updating Xen Orchestra from '63ee6b7f0' to '84e38505c'
                

                tried config backup again: same issue

                1 Reply Last reply Reply Quote 0
                • M manilx referenced this topic on
                • olivierlambertO Offline
                  olivierlambert Vates 🪐 Co-Founder CEO
                  last edited by

                  Is your remote reachable?

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

                    @olivierlambert Yes, just fine.

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

                      Have you tried the "healthcheck" on the remote? Can you give more info on the remote? Is it visible when doing df -h?

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

                        @manilx XO version 63ee6b7f0 backs up just fine. Updating it to 84e38505c breaks it.

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

                          Okay can you bisect to find the bad commit?

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

                            @olivierlambert Sorry, no programmer or linux specialist here. What do you mean?

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

                              Trying to find the first broken commit where it doesn't work 🙂

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

                                @olivierlambert As mentioned:

                                version 63ee6b7f0 backs up just fine. This is the last one I had installed a few days(3-4?) back and was working.
                                Updating yesterday/today to 84e38505c breaks it.

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

                                  84e38505c is the commit broken, right? The commit just before is working then?

                                  M A 2 Replies Last reply Reply Quote 0
                                  • M Offline
                                    manilx @olivierlambert
                                    last edited by

                                    @olivierlambert Correct! 84e38505c is definitely broken.
                                    63ee6b7f0 was the one I had before is fine, can't tell if there was one in between.

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

                                      @olivierlambert I'll join the it's broken club. S3 backups worked for VMs but not the metadata.

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

                                        @Andrew said in metadata backups suddenly failing:

                                        @olivierlambert I'll join the it's broken club. S3 backups worked for VMs but not the metadata.

                                        Yes. VM backups work fine, it's just the Pool metadata and XO config that's broken.

                                        julien-fJ 1 Reply Last reply Reply Quote 0
                                        • julien-fJ Offline
                                          julien-f Vates 🪐 Co-Founder XO Team @manilx
                                          last edited by

                                          Thank you, I'm on it 🙂

                                          julien-fJ 1 Reply Last reply Reply Quote 1
                                          • julien-fJ Offline
                                            julien-f Vates 🪐 Co-Founder XO Team @julien-f
                                            last edited by

                                            @manilx @Andrew It should be fixed, thanks!

                                            https://github.com/vatesfr/xen-orchestra/commit/ea2c6416044a3bf4a9c4ee5a246d44aa2fa2f4f9

                                            0 julien-f committed to vatesfr/xen-orchestra
                                            fix(backups): fix remote timeout for metadata
                                            
                                            Fixes https://xcp-ng.org/forum/post/59356
                                            
                                            Introduced by 61b9a4cf2O
                                            A M 2 Replies Last reply Reply Quote 1
                                            • A Offline
                                              Andrew Top contributor @julien-f
                                              last edited by

                                              @julien-f Metadata backup works for me now. Thanks!

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