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
Patroni on K8s: Unexpected error from Kubernetes API #1589
Comments
#1387 <- Perhaps on the same line as this issue here |
Looks like Patroni is not handling correctly 500 http status code: https://github.com/zalando/patroni/blob/master/patroni/dcs/kubernetes.py#L78 The K8s documentation suggests that we should retry. #1387 was a different problem and it was fixed back then. |
we should retry on 500, not on 502. Close #1589
@CyberDem0n thanks for fixing this, I think I also ran into this! What's your release cycle? I really hoped to try it this fix without rebuilding patroni+spilo myself... |
Hello,
First of all thank you for this package.
I encountered a blip while the leader while the leader was reconciling:
Probably the most interesting part is:
rpc error: code = Unknown desc = auth: revision in header is old
.Kubernetes (1.18.3)
Postgresql (12.3) TimescaleDB - Community edition (1.7.1)
Spilo image was built from Master with TimescaleDB.
Any recommendations on resolving this issue would be extremely welcome.
The text was updated successfully, but these errors were encountered: