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

    Potential bug with Windows VM backup: "Body Timeout Error"

    Scheduled Pinned Locked Moved Backup
    93 Posts 17 Posters 14.9k 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.
    • poddingueP Offline
      poddingue Vates 🪐 @pierrebrunet
      last edited by poddingue

      I'm picking this one up alongside the other Body Timeout thread (9002), since they look (to me, at least) like the same underlying issue. 🤔
      Pierre from the XO team is on it and has tested metadata backups on the XO side without hitting it, so the current thinking is it may be coming from the XCP-ng side rather than XO.
      What would move it along fastest is a /var/log/xensource.log from the pool master covering one failed run's window, so if anyone here can reproduce and grab that slice, it'd really help line the timeout up against what xapi was doing.
      I know it's especially frustrating when the thing that breaks is your backups, thanks for bearing with us while we chase it.
      A mention to @Team-Storage might help route the storage-layer angle.

      1 Reply Last reply Reply Quote 0
      • P Online
        ph7
        last edited by ph7

        Had a failed job this night (commit 3bc70)

        9fe7e317-823c-4522-9fa7-bf13d1b85f35-image.jpeg

        Logged in to my host and saw time was 30-40 sec's off.
        The time in XOCE VM was OK
        Had a few power outage yesterday.
        after starting up the host again. I guess the cmos clock was a little slow.
        Could that be the culprit?
        Adjusted time and ran a backup manually and it worked fine.

        As requested below 🙂 here are the logs
        https://paste.vates.tech/?314d454cd7c52552#4ocXwQksjayBbvUxxxddJRwAQ8YJ3KqvKspJGak8yHF4

        P 1 Reply Last reply Reply Quote 0
        • P Online
          ph7 @ph7
          last edited by ph7

          This post is deleted!
          P 1 Reply Last reply Reply Quote 0
          • P Online
            ph7 @ph7
            last edited by ph7

            This post is deleted!
            P 1 Reply Last reply Reply Quote 0
            • P Online
              ph7 @ph7
              last edited by ph7

              This post is deleted!
              P 1 Reply Last reply Reply Quote 0
              • P Online
                ph7 @ph7
                last edited by ph7

                This post is deleted!
                P 1 Reply Last reply Reply Quote 0
                • P Online
                  ph7 @ph7
                  last edited by ph7

                  This post is deleted!
                  M 1 Reply Last reply Reply Quote 1
                  • M Online
                    MajorP93 @ph7
                    last edited by

                    @ph7 As a suggestion: it would improve readibility if you paste your logs on Vates official pastebin tool: https://paste.vates.tech/ and share the links here instead of posting the logs in multiple messages.

                    P 1 Reply Last reply Reply Quote 3
                    • P Online
                      ph7 @MajorP93
                      last edited by

                      @MajorP93
                      I'l do that, didn't know about it.

                      poddingueP 1 Reply Last reply Reply Quote 1
                      • poddingueP Offline
                        poddingue Vates 🪐 @ph7
                        last edited by

                        Thirty to forty seconds of clock drift after a power outage, and then the backup goes through once you fix the time. That could be coincidence, but it might not be. 🤔
                        I don't know enough about how the XAPI client handles time skew to say whether it would surface as a BodyTimeoutError rather than an auth or TLS failure, so I could easily be wrong here. 🤷
                        If it fails again, could you look at what the host clock is doing before you correct it? @pierrebrunet from the XO team is already on this one, and a second data point either way would tell him whether it's worth pulling on. Thanks for putting the logs on the pastebin, much easier to read that way.

                        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