[Bug 1668903] Re: mongodump "too many positional options have been specified on the command line"

2017-03-22 Thread Nish Aravamudan
I don't know that we will fix this in 16.04 -- it's a low priority issue with a pretty easy workaround. Just an FYI. ** Changed in: mongodb (Ubuntu Xenial) Status: In Progress => Triaged ** Changed in: mongodb (Ubuntu Yakkety) Status: In Progress => Triaged ** Changed in: mongodb

[Bug 1668903] Re: mongodump "too many positional options have been specified on the command line"

2017-03-07 Thread Nish Aravamudan
Alternatively, we can at least update the help and manpage to document the behavior. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1668903 Title: mongodump "too many positional options have been

[Bug 1668903] Re: mongodump "too many positional options have been specified on the command line"

2017-03-07 Thread Nish Aravamudan
Yes, that's right. Alternatively, you can just pass -p and it will prompt for the password. If I had to guess, this is a buggy implementation of the code to elide the password from the comm of the process (so you don't see it in ps aux, I think). I wonder if it doesn't recognize the space between

[Bug 1668903] Re: mongodump "too many positional options have been specified on the command line"

2017-03-06 Thread Yaron
@nacc peculiar, this is the only change you've made to the arguments? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1668903 Title: mongodump "too many positional options have been specified on the

[Bug 1668903] Re: mongodump "too many positional options have been specified on the command line"

2017-03-06 Thread Nish Aravamudan
Note that skipping the space between -p and the password seems to work here. I don't know why yet. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1668903 Title: mongodump "too many positional

[Bug 1668903] Re: mongodump "too many positional options have been specified on the command line"

2017-03-06 Thread Nish Aravamudan
It does seem that mongodump has been rewritten in the first in 17.04 in go. So I think both 16.04 and 16.10 are affected, but not 17.04. I am working on testing a fix to the source still. ** Also affects: mongodb (Ubuntu Yakkety) Importance: Undecided Status: New ** Also affects:

[Bug 1668903] Re: mongodump "too many positional options have been specified on the command line"

2017-03-06 Thread Nish Aravamudan
Ok, I have reproduced the issue on 16.10 and it does seem fixed on 17.04. While, I agree you can upgrade, 17.04 is beta still and we should fix it properly (especially if 16.04 is also affected). Let me debug it a bit further and see if we can't get a fix out soon. -- You received this bug

[Bug 1668903] Re: mongodump "too many positional options have been specified on the command line"

2017-03-06 Thread Nish Aravamudan
** Changed in: mongodb (Ubuntu) Status: Incomplete => New ** Changed in: mongodb (Ubuntu) Assignee: (unassigned) => Nish Aravamudan (nacc) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1668903] Re: mongodump "too many positional options have been specified on the command line"

2017-03-06 Thread Yaron
16.10. If it's solved up simply upgrade my Ubuntu version. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1668903 Title: mongodump "too many positional options have been specified on the command

[Bug 1668903] Re: mongodump "too many positional options have been specified on the command line"

2017-03-06 Thread Nish Aravamudan
Hello and thank you for filing this bug report. Note that the `mongodump --help` output states: -h, --host= mongodb host to connect to

[Bug 1668903] Re: mongodump "too many positional options have been specified on the command line"

2017-03-01 Thread Yaron
** Description changed: I can't run the mongodump utility in Ubuntu (from the internal packages). + + Running without any parameters works BTW. I tried running a dump this way: mongodump -u -p --host somehost.com:27017 -d some_db -o backup And I got this reply: Error