-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Redis Master Node restart issue on Sentinel Mode #6971
Comments
Hi @tolgatuna ,
This error is usually not related to the Helm Chart but to your cluster dynamic volume provision. I would recommend you to re check the storage class you set (or the default one in case you did not change it) and check why that PVC is not matched. |
Hi @miguelaeh
Here is details for my pv. By the way last time it was giving error as "0/1 nodes are available: 1 pod has unbound immediate PersistentVolumeClaims." But i realised that it was sometimes giving error :
And inside the pot only log is :
|
Hi,
What cached my attention from yours is that you don't have any labels. Could you delete the PVCs and try again ? |
We have also notice this problem, even with persistence disabled. master:
persistence:
enabled: false
replica:
persistence:
enabled: false Seems this appeared on a recent version only as older versions (e.g. chart version 14.1.1 which is using redis:6.2.3-debian-10-r0 and redis-sentinel:6.2.2-debian-10-r12) work fine. It's not able to elect a new master and loops forever:
|
Could you try with the latest version: 14.8.8 that uses redis 6.2.5 ? |
With the 14.8.8 version of the Redis Helm chart the behavior is the same as with 14.7.2, so that problem is still there. |
Comment from @bluecrabs007 at Jun 10 in #6165 helps me to solve my problem. |
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback. |
For us the changes done in #7278 (version 15.0.1 + an additional fix in 15.0.4) solves the issues. It works with or without the changes mentioned above by @ShineSmile (#6165 (comment)). |
I found that if we enable istio sidecar with label istio-injection=enabled, the master node won't restart successfully after delete manually . |
In our setup the Redis instance is also running on an ISTIO enabled namespace and works just fine with version 15.0.4. After deleting the master node manually it recovers without problems. Just tested again. We have storage disabled, but that should not make a difference. |
@ShineSmile for the sentinel with Istio issue I'd recommend opening another issue. Just so you know, we don't test our charts with Istio so we can't officially support it but we'll be glad to help if needed. |
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback. |
Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary. |
Which chart:
redis
Describe the bug
Bug is related with sentinel mode. I enabled with 'sentinel.enabled: true'. If you kill the master node in that mode, it starts to try rerun itself again and again in a loop.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
You will see master pod will try to up itself. But you will take error "0/1 nodes are available: 1 pod has unbound immediate PersistentVolumeClaims."
Version of Helm and Kubernetes:
helm version
:kubectl version
:The text was updated successfully, but these errors were encountered: