[SERVER-5233] Mongodump stdout not working with authentication Created: 06/Mar/12 Updated: 11/Jul/16 Resolved: 07/Jun/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Tools |
| Affects Version/s: | 1.8.2 |
| Fix Version/s: | 2.1.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Charles Chen | Assignee: | Daniel Pasette (Inactive) |
| Resolution: | Done | Votes: | 3 |
| Labels: | mongodump | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
unix, macosx |
||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Participants: |
| Description |
|
dumping a collection using mongodump with option --out - gives an error. Steps i took: mongodump --db test -u username -p Password -h mymongodatabase.onthecloud:12888 -vvvvv --collection posts --out - displays the error: ' however when i remove '--out -', it will dump out the collection fine. I've tested this on 1.8.2 and the lastest version 2.0.3. I also tested this on my local mongo which does not have authentication (testing it with the option '--out -') and that works fine. Im guessing somethings wrong with authentication? |
| Comments |
| Comment by auto [ 25/May/12 ] |
|
Author: {u'login': u'', u'name': u'Brandon Diamond', u'email': u'brandon@10gen.com'}Message: |
| Comment by Brandon Diamond [ 25/May/12 ] |
|
Code review created for code change (already reviewed above) and test: |
| Comment by Brandon Diamond [ 17/Apr/12 ] |
|
Issue reproduced in HEAD. Investigating possible causes/fixes. |