-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
gitea(v 1.20.3) is not coming up after redis cluster pod ip is changed. #26893
Comments
IIRC, Gitea doesn't "internally maintain old Redis IP". What's your "app.ini"? Could it be related to the helmchart, but not Gitea? |
Sorry for late reply , for now we were disabling redis to proceed forward.
|
(I removed some sensitive values from your posted config) TBH I have no idea about the problem at the moment. Actually, Gitea doesn't "maintain old IP", the pods are managed by the k8s cluster. Maybe the helmchart maintainers could help? https://gitea.com/gitea/helm-chart/ |
I have experienced this issue. It was redis nodes reporting wrong addresses. Whole redis cluster failed and nodes are unable to connect to each other. Cluster can be restored by meeting one node with other nodes. After that other nodes will discover nodes automatically. Finally, restart gitea pod. |
Description
We are installing gitea rootless 1.20.3 with helm chart 9.2.0 in azure k8s env.
We have dual stack (Ipv4 & Ipv6) configured in k8s .
Fresh install it is working fine.. redis pods with replica 6 (default) is coming up & gitea is also able to connect.
Now when the cluster is rebooted , as usual all pod IP is getting changed ... Now gitea is somewhere internally maintaining old Redis IP and due to that gitea is trying to connect to redis with old IP and it is not coming up after cluster reboot.
Below are the snippets of describe pods of the same. Error log is also mentioned at the end.
Before reboot :
After reboot
In gitea log after reboot ::
as here you can see the gitea is trying to connect to old address of redis master cluster.
Could you please help on this to resolve the issue
Gitea Version
1.20.3
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
azure k8s cluster
How are you running Gitea?
We are running gitea in azure kubernetes environment.
k8s server version : 1.25
Database
PostgreSQL
The text was updated successfully, but these errors were encountered: