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

    xapi crash loop

    Scheduled Pinned Locked Moved Compute
    5 Posts 2 Posters 1.1k Views 1 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.
    • siemsenitS Offline
      siemsenit
      last edited by

      Hi,

      after recovering from a power failure, xapi keeps crashing with this obscure error in xensource.log:

      Aug 13 11:34:20 hostname xapi: [debug||0 ||xapi] xapi top-level caught exception: INTERNAL_ERROR: [ (Scanf.Scan_failure\x0A  "scanf: bad input at char number 6: looking for ':', found '.'") ]
      

      Does anyone have an idea what causes this situation?

      All the best,
      Sven

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

        Probably some corruption in your xapi database. Do you have a backup of the pool metadata?

        siemsenitS 1 Reply Last reply Reply Quote 0
        • siemsenitS Offline
          siemsenit @Danp
          last edited by

          @Danp unfortunately not, at least not externally. And I think restore metadata would be kind of tricky, since the xapi tools won't work, XO is inside a VM and reinstalling xcp-ng would kill the SR on the primary disk.

          It's a test/dev system at home anyway and not too important. I'll erase it and make a new one. However, I do now understand the importance of metadata backups better.

          1 Reply Last reply Reply Quote 0
          • siemsenitS Offline
            siemsenit
            last edited by

            Are there any tools to edit state.db?

            siemsenitS 1 Reply Last reply Reply Quote 0
            • siemsenitS Offline
              siemsenit @siemsenit
              last edited by

              Found it. Error is related to https://github.com/xapi-project/xen-api/issues/4141

              Somehow, the PCIe bus address of the server's ASPEED VGA adapter changed.

              I got the new bus address with lspci and edited state.db accordingly. Works now. However, this seems to be a very strange bug.

              stormi created this issue in xapi-project/xen-api

              open XAPI failing to initialize after GPU removal? #4141

              1 Reply Last reply Reply Quote 1

              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