Skip to content

Issue with mongodb health check in OpenShift #3

@dudash

Description

@dudash

{
    "status": "DOWN",
    "checks": [
        {
            "name": "MongoDB connection health check",
            "status": "DOWN",
            "data": {
                "reason": "Command failed with error 13 (Unauthorized): 'not authorized on admin to execute command { listDatabases: 1, nameOnly: true, $db: \"admin\", $readPreference: { mode: \"primaryPreferred\" } }' on server mongodb:27017. The full response is {\"ok\": 0.0, \"errmsg\": \"not authorized on admin to execute command { listDatabases: 1, nameOnly: true, $db: \\\"admin\\\", $readPreference: { mode: \\\"primaryPreferred\\\" } }\", \"code\": 13, \"codeName\": \"Unauthorized\"}"
            }
        }
    ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions