rueckstiess / mtools

A collection of scripts to set up MongoDB test environments and parse and visualize MongoDB log files.
Apache License 2.0
1.89k stars 403 forks source link

mlaunch gives --auth to mongos which is not a valid option #870

Closed p-mongo closed 2 years ago

p-mongo commented 2 years ago

419f159dd1a7e608daafa9959b20fd71e1684fad added --auth parameter to mongod and mongos when authentication is requested. Why this was done I don't know - the commit message only refers to quoting keyFile argument. But, mongos does not recognize --auth and as a result mlaunch fails when launching a sharded cluster with authentication enabled.

Fix: https://github.com/p-mongodb/mtools-legacy/commit/93ff2752468b101a98630088a21eeb719af18c82