MongoDB troubleshooting
| Symptom | Check and next action |
|---|---|
| Add refused because service is active | Confirm host/port ownership. Choose a clean host; do not stop and overwrite an unrelated live instance. |
| OS family mismatch | Prepare a same-family member and rerun validation. |
| Delete refused from three members | Respect the live-count/quorum guardrail; plan a healthy added member first if removal is necessary. |
| Replica-set initiation needs authentication | Check initialization state and pre-existing data. Preserve it and engage the administrator before cleanup. |
| Role not found | Verify each role/database pair against the installed MongoDB version. |
| Home host identity is unknown | Check stable FQDN reporting and consistent peer/Plugin resolution. |
| Dashboard shows another set or wrong count | Re-select the project/set, compare with live membership and check target registration. |
| Ubuntu patch list is empty | Consult the reported V3 Host-Insights limitation. |
| SUSE OS package repository warnings | Pilot packages differ from native support; identify the actual failed package/dependency step. |
Partial execution
For a failed add, inspect whether the member joined or still has initial sync in progress. For deletion, separate replica-set removal from host cleanup. For upgrade, inventory every installed version and role rather than assuming a complete rollback.
If a primary cannot be elected, pause competing changes, check reachable voting members and preserve diagnostics. Do not force arbitrary replica-set reconfiguration from a stale UI count.
If the action fails
Preserve the request/execution IDs and host-specific log. Check the actual replica-set membership and service state before retrying: an action can change MongoDB and then fail to update the Plugin. Send the first failed step, time with timezone and sanitized diagnostics through support.