Log file Viewer
Help
|
Karma
| Search:
#mongodb logs for Thursday the 21st of November, 2019
(
Back to #mongodb overview
) (
Back to channel listing
) (
Animate logs
)
[
14:36:35
] <
Lope
> I've got authorization enabled on my mongodb server
[
14:36:45
] <
Lope
> it's giving errors when the user tries to createIndex
[
14:36:57
] <
Lope
> but the user has readWrite role on the db it's trying to createIndex on.
[
14:37:18
] <
Lope
> according to this, readWrite implies createIndex https://docs.mongodb.com/manual/reference/built-in-roles/#readWrite
[
14:40:30
] <
Lope
> MongoError: not authorized on mydb?replicaSet=myreplset to execute command { createIndexes: "people", indexes: [ { name: "isAdmin_1", key: { isAdmin: 1 }, background: true } ], lsid: { id: UUID("abc-abc-abc-abc-abc") }, $clusterTime: { clusterTime: Timestamp(1574133802, 1), signature: { hash: BinData(0, ABC123), keyId: DEF456 } }, $db: "mydb?replicaSet=myreplset" }
[
14:55:26
] <
Lope
> I tried to add a createIndex role, but it said no role named createIndex@mydb
[
19:52:06
] <
cloudbud
> Does anyone knows mongo exporter integration with datadog