Open KarooolisZi opened 2 months ago
@KarooolisZi thanks for opening the issue! We will try to have a look at it.
@KarooolisZi can you also please supply the agenthealth status file and agent logs (you can see more in the github issue template on how to retrieve them)
Hi @nammn updated issue with required information
@nammn any updates?
Due to mentioned reason my 3 member set crashed. I can't revive them because first node is created as secondary (they had similar priority) and yet I can't initiate elections as primary is not recreated
@nammn any updates?
This issue is being marked stale because it has been open for 60 days with no activity. Please comment if this issue is still affecting you. If there is no change, this issue will be closed in 30 days.
@nammn Hello, I am not able to add arbiter to 2 member replicaset. (Same for 3 member replicaset). After adding, the pod is created however operator throws error about not reaching the goal state. After some time replicaset members go down as readiness probe is failed. What did you do to encounter the bug? Steps to reproduce the behavior:
What did you expect? Arbiter to be added to 2 member replicaset. Both 2 members and 1 arbiter to reach goal state.
What happened instead? Neither members or arbiter could reach goal state. Replicaset stuck in crashloop. Working members become failed after not reaching goal state for some time, too.
Operator Information
Kubernetes Cluster Information
If possible, please include:
mongo-<>
. For instance:❯ k get mdbc NAME PHASE VERSION mongo Running 4.4.0
apiVersion: v1 items:
apiVersion: v1 items:
kubectl exec -it mongo-0 -c mongodb-agent -- cat /var/lib/automation/config/cluster-config.json
kubectl exec -it mongo-0 -c mongodb-agent -- cat /var/log/mongodb-mms-automation/healthstatus/agent-health-status.json
kubectl exec -it mongo-0 -c mongodb-agent -- cat /var/log/mongodb-mms-automation/automation-agent-verbose.log
kubectl exec -it mongo-0 -c mongodb-agent -- cat /var/log/mongodb-mms-automation/automation-agent.log