Closed soroshsabz closed 2 years ago
Hi @soroshsabz
The REDB probably still has finalizers that are not being removed as everything is in a bad state. You can remove the finalizers on the REDB manually. See https://github.com/RedisLabs/redis-enterprise-k8s-docs/blob/master/topics.md#rec-deletion for more details.
Regarding the "bad state", it is important to understand that at any given time, you need to have the majority of the nodes up and running. In a 3 nodes Redis Enterprise cluster, you cannot have more than one node down at any given time. From what I can see here, I think it is likely that your 3 pods were down at the same time. And the first pod that is coming back up is not able to find any cluster to join. When you are in this situation, you need to "recover" the cluster, following this procedure: https://docs.redis.com/latest/kubernetes/re-clusters/cluster-recovery/
I also recommend working with Redis and opening a Support ticket with us. In most cases, we will request the logs archive generated by a run of the log_collector.py script (https://docs.redis.com/latest/kubernetes/logs/collect-logs/).
I hope this is helpful.
Laurent.
Your description is very very helpful,
thanks for replying :)
ITNOA
My cluster is in bad state, as you can see in blow
and I have one database like below
So I want delete my database and cluster and recreate it to correct my state, but my problem is when I try commanding to delete the database, the command stuck and does not complete for ever
I log my redis operator and see below command,
How to remove database and cluster forcely and exit from stuck? (I try --force, but my problem does not resolved)
thanks