Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Passing --dbpath to mlaunch causes broken mongod invocation #896

Open
autarch opened this issue Nov 11, 2022 · 0 comments
Open

Passing --dbpath to mlaunch causes broken mongod invocation #896

autarch opened this issue Nov 11, 2022 · 0 comments
Assignees
Milestone

Comments

@autarch
Copy link
Contributor

autarch commented Nov 11, 2022

Expected behavior

If I pass --dbpath foo I'd expect this to be passed through as is.

Actual/current behavior

I end up with this:

mlaunch init --single --dbpath mongodb/db_files
Detected mongod version: 6.0.2
b'Error parsing command line:  Multiple occurrences of option "--dbpath"\ntry \'mongod --help\' for more information\n'

can't start process, return code 2. tried to launch: "mongod"  --dbpath "/home/autarch/projects/mongo-tools/data/db" --logpath "/home/autarch/projects/mongo-tools/data/mongod.log" --port 27017 --fork  --dbpath "mongodb/db_files"  --wiredTigerCacheSizeGB 1 

As an aside, that "Error parsing command line" bit is also weird.

Steps to reproduce the actual/current behavior

See above

Environment

Software Version
mtools 1.7.2
Python 3.10.6
MongoDB server Any
Operating system Linux
@stennie stennie self-assigned this Nov 12, 2022
@stennie stennie added this to the 1.8.0 milestone Nov 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants