Skip to content
This repository was archived by the owner on Dec 12, 2025. It is now read-only.

Commit fcab6a8

Browse files
authored
Update bug_report.md (#1483)
1 parent 4fceff5 commit fcab6a8

File tree

1 file changed

+27
-3
lines changed

1 file changed

+27
-3
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,30 @@ If applicable, add screenshots to help explain your problem.
3535
Add any other context about the problem here.
3636

3737
If 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

Comments
 (0)