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

    Backup Error: 302 Found

    Scheduled Pinned Locked Moved Solved Xen Orchestra
    20 Posts 4 Posters 1.4k 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.
    • DanpD Offline
      Danp Pro Support Team
      last edited by

      Have you tried doing the following?

      • Edit the backup job
      • Remove the target remote
      • Readd the target remote
      • Save changes
      stucampS 1 Reply Last reply Reply Quote 0
      • stucampS Offline
        stucamp @Danp
        last edited by

        @Danp

        Yep I've edited, removed, and readded the backup job.

        I've nuked the xcp-ng install, resinstalled, xcp-ng, created a brand new debain 11 vm, compiled xo from source using latest master, added hosts to the pool, migrated vms to pool.

        I've nuked the remote vdev, created a new vdev, added new vdev as new remote, setup a new backup job using new vdev.

        I've detached all the hosts and left them in their own pool, used existing and new backup tasks.

        The only time backups go through are when the vm is on a master, whether it be in one bit pool or three seperate pools (one for each host). If the vm is on a master it goes... if it isn't... Error: 302 Found

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

          There's a problem with the redirection on the slave host.

          stucampS 1 Reply Last reply Reply Quote 0
          • stucampS Offline
            stucamp @olivierlambert
            last edited by

            @olivierlambert
            Any suggestions to try? I had a similar suspicion, leading me to disconenct and reconnect the slave hosts using IP, https://<hostname>, and <hostname>... but all methods result in the same outcome a working pool, but unable to backup an VM on the slave hosts.

            Not sure where else to go other than nuking everything and starting from scratch. Which means running backups on everything while the hosts are all masters and then playing 3 card monty with the vms in the process.

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

              First thing is to see if someone can reproduce the issue first 🙂

              stucampS 1 Reply Last reply Reply Quote 0
              • stucampS Offline
                stucamp @olivierlambert
                last edited by

                @olivierlambert When I get a bit of time I'll do a bit of a more comprehensive write up outlining initial migration, actions taken, etc in a more cohesive manner. I'll also spin up a few non-critical spare hosts I have on hand and see if I can replicate it or not myself with different equipment.

                As it stands now, all the hosts are on their own pool and in the process of running a comprehensive backups for everything to give me a bit of piece of mind. Once that's done, I'll get a bit more aggressive in my efforts!

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

                  I was counting on the community to see if someone with a similar setup could report 🙂

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

                    Okay we have other reports on this. I wonder if it's a recent change. @julien-f do you want to ask @stucamp to do a bisect to identify the culprit?

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

                      @stucamp I finally had time to investigate this, it should now be fixed 🙂

                      Thanks for your report!

                      https://github.com/vatesfr/xen-orchestra/commit/24cac9dcd5d83c3170175c9c874d0a3ae51f4e6d

                      0 julien-f committed to vatesfr/xen-orchestra
                      fix(xen-api/getResource): fix redirection handling
                      
                      Introduced by ab96c549a
                      stucampS 1 Reply Last reply Reply Quote 2
                      • olivierlambertO Offline
                        olivierlambert Vates 🪐 Co-Founder CEO
                        last edited by

                        @stucamp you were just the first to discover the issue 😆 congrats and thanks for the report!

                        1 Reply Last reply Reply Quote 1
                        • stucampS Offline
                          stucamp @julien-f
                          last edited by

                          @julien-f @olivierlambert
                          Heyo... good stuff guys. I have recompiled on latest and can happily confirm that the fix has resolved the issue!!

                          Thanks!

                          1 Reply Last reply Reply Quote 1
                          • olivierlambertO olivierlambert marked this topic as a question on
                          • olivierlambertO olivierlambert has marked this topic as solved on
                          • First post
                            Last post