@@ -35,6 +35,30 @@ If applicable, add screenshots to help explain your problem.
3535Add any other context about the problem here.
3636
3737If possible, please include:
38- - ` kubectl describe ` output
39- - yaml definitions for your objects
40- - log files for the operator and database pods
38+ - The operator logs
39+ - Below we assume that your replicaset database pods are named ` mongo-<> ` . For instance:
40+ ```
41+ ❯ k get pods
42+ NAME READY STATUS RESTARTS AGE
43+ mongo-0 2/2 Running 0 19h
44+ mongo-1 2/2 Running 0 19h
45+
46+ ❯ k get mdbc
47+ NAME PHASE VERSION
48+ mongo Running 4.4.0
49+ ```
50+ - yaml definitions of your MongoDB Deployment(s):
51+ - ` kubectl get mdbc -oyaml `
52+ - yaml definitions of your kubernetes objects like the statefulset(s), pods (we need to see the state of the containers):
53+ - ` kubectl get sts -oyaml `
54+ - ` kubectl get pods -oyaml `
55+ - The Pod logs:
56+ - ` kubectl logs mongo-0 `
57+ - The agent clusterconfig of the faulty members:
58+ - ` kubectl exec -it mongo-0 -c mongodb-agent -- cat /var/lib/automation/config/cluster-config.json `
59+ - The agent health status of the faulty members:
60+ - ` kubectl exec -it mongo-0 -c mongodb-agent -- cat /var/log/mongodb-mms-automation/healthstatus/agent-health-status.json `
61+ - The verbose agent logs of the faulty members:
62+ - ` kubectl exec -it mongo-0 -c mongodb-agent -- cat /var/log/mongodb-mms-automation/automation-agent-verbose.log `
63+ - You might not have the verbose ones, in that case the non-verbose agent logs:
64+ - ` kubectl exec -it mongo-0 -c mongodb-agent -- cat /var/log/mongodb-mms-automation/automation-agent.log `
0 commit comments