xapi crash loop
-
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 -
Probably some corruption in your xapi database. Do you have a backup of the pool metadata?
-
@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.
-
Are there any tools to edit state.db?
-
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.
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