-
Notifications
You must be signed in to change notification settings - Fork 21
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
Falied to spawn WAL-E in the recovery mode. #127
Comments
As I referred at comment in #56, this issue is similar to wal-e/wal-e#247. |
And may the another pattern. It look Wal-E works well.
The result of
|
Recent revisions of K8s uses kubedns+dnsmasq instead of SkyDNS. And it is known that the internal DNS in Azure cloud have poor performance. So I tried Dnsmasq with SkyDNS. |
It seems that "exit code 2" is caused by exception(s?) in WAL-E (cmd.py). Not in Postgres. |
Is it possible something is wrong with |
Indeed WAL-E may be killed by SIGQUIT. But I saw the another message on such cases. In this case, log messages were changed to "exit core 5" after I tried to change sys.exit(2) to sys.exit(5) . But with no message expected to print by logging.critical(). I wonder why... |
Try dumping the error being caught stderr and/or stdout? |
I wrote additional info to wal-e/wal-e#268. |
this should be resolved via #137. If it isn't please re-open the issue at wal-e/wal-e. Thanks! |
It is similar to #123 . But I suspect they are different issue for each other.
Sometimes the recovery process was failed with logs like this.
In this case,
0000000500000002000000FB
was restored and0000000500000002000000FC
was failed to restore.There have no
wal_e.main INFO MSG: starting WAL-E
message for...FC
.Referencing to
cmd.py
in deis/wal-e, there is no route to exit without the message above (exceptversion
command).So it might that Postgres fails to spawn WAL-E.
In case #123, the issue is occurred in WAL-E. This point is the difference.
The text was updated successfully, but these errors were encountered: