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

    Backup fails with "Body Timeout Error", "all targets have failed, step: writer.run()"

    Scheduled Pinned Locked Moved Backup
    36 Posts 16 Posters 5.2k Views 16 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.
    • bogikornelB Offline
      bogikornel @poddingue
      last edited by

      @poddingue said:

      Narrowing it to something that changed between the late-November 2025 build and the July 2026 ones gives everyone a better place to start than "it just times out".

      The backup function was definitely still good in the 2026-05-28 build. So I think you should look at the last 1 month.

      poddingueP 1 Reply Last reply Reply Quote 0
      • poddingueP Online
        poddingue Vates 🪐 @bogikornel
        last edited by

        The 2026-05-28 build still being good narrows the window a lot more than "sometime since November". 👍
        What I keep coming back to is the shape of the failure: 14 out of 15, then 5 out of 6, so it is always exactly one that falls over and never the whole run. I don't know whether that points at a per-VM timeout or at something the last task in a run does differently, and someone on the XO team will read that better than me. 🤔
        @pierrebrunet still needs /var/log/xensource.log from the pool master covering one failed run's window, so even a slice from a job where only one VM failed should be enough.

        1 Reply Last reply Reply Quote 0
        • J Offline
          JB
          last edited by

          Any solution?

          1 Reply Last reply Reply Quote 0
          • christopher-petzelC Offline
            christopher-petzel
            last edited by

            @poddingue Maybe this log will help @pierrebrunet . I've been having the Body Timeout Error for a couple of weeks on Metadata/Config backups. I'm using XO from sources. The problem started after upgrading to commit 63f8d. I was previously at commit e6443. The errors will occur for one or more hosts, and which host(s) has the error seems to be random. The error will occur for hosts which have VMs and for hosts that have no VMs. Attached is this morning's xensource.log from 00:10 when the backup started. The backup ends at 00:15 but I've included log data through 00:20. xensource-truncated.log.txt

            I have reverted to a snapshot of XO running at commit e6443 and executed multiple Metadata/Config backups without any problem.

            J 1 Reply Last reply Reply Quote 1
            • J Offline
              JB @christopher-petzel
              last edited by

              @christopher-petzel Thanks!

              1 Reply Last reply Reply Quote 0
              • M Online
                MajorP93
                last edited by

                Hello,

                the issue is back on my end.
                Pool and metadata backup failed on all remotes due to "body timeout error".

                dc6631af-5178-4347-9cb9-e9ef388b3606-image.jpeg

                Attached please find full backup log:
                https://paste.vates.tech/?f781d8cb757e56b1#8MN4cyjHhkWKzhhvvggckf8mqjT9gxDY6t4vkSVQcWUY

                I can confirm what @christopher-petzel said. Before commit 63f8d got pushed this issue did not occur.

                I am currently running commit 1d82c (feat: release 6.6.2).

                Best regards

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

                  Hi! Can you try to replicate on the latest commit?

                  J 1 Reply Last reply Reply Quote 0
                  • J Offline
                    JB @olivierlambert
                    last edited by

                    @olivierlambert commit 59306backup-metadados.jpg

                    florentF 1 Reply Last reply Reply Quote 0
                    • florentF Offline
                      florent Vates 🪐 XO Team @JB
                      last edited by

                      @JB this looks like an issue while reading the export part. Did you configure a default backup network in the pool ?
                      is there any firewall/sdn controller that can filter out some reading ?

                      note that we have removed several point that where hiding some errors this month.

                      J 2 Replies Last reply Reply Quote 1
                      • J Offline
                        JB @florent
                        last edited by

                        @florent Between one error and another, the backup sometimes succeeds.backup-metadados2.jpg

                        1 Reply Last reply Reply Quote 0
                        • J Offline
                          JB @florent
                          last edited by

                          @florent backup-metadados3.jpg

                          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