-
Notifications
You must be signed in to change notification settings - Fork 9.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Panic of snapshot not find after power failure does it have any solution! #12492
Comments
Can you ls the contents of snap directory ? Was there SIGSEGV stack trace similar to the one shown in #12237 ? |
yes i got the same SIGSEGV srack trace, the content of the folder is 3 directories, 12 files` and the stack trace is rancher/rancher:v2.3.1.log
|
44600446 = 0x2a88c7e So the file seems to exists : Does it have a regular size, proper permissions ? If the file exists and have proper permissions & ownership: can you inspect this file using this tool: BTW: There is no good reason etcd depends on the file existence as they contain V2 store content that is redundant to snap/db file content. I think we should develop a flag that allows to ignore the files and depend on snap from WAL files alone. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 21 days if no further activity occurs. Thank you for your contributions. |
I had similar issue. etcd pod was failed start due to unexpected Azure VM reboot.
In my case, there are 2 members up and running. Below is thigs I did
|
Thanks @veerendra2 for this. Had the same issue and the steps you mentioned here worked for me as well to recover a failing etcd node. |
What kind of request is this (question/bug/enhancement/feature request):
BUG
Steps to reproduce (least amount of steps as possible):
Power failure of rancher node (RancherOS)
Result:
By inspecting the log I got an error
Other details that may be helpful:
Environment information
rancher/rancher
/rancher/server
image tag or shown bottom left in the UI): rancher/rancher:v2.3.2Cluster information
docker version
):The text was updated successfully, but these errors were encountered: