Details
-
Bug
-
Resolution: Won't Fix
-
Major - P3
-
None
-
Ubuntu 12.04, mongodb version 3.0.3
*Location*: http://docs.mongodb.org/manual/release-notes/3.0-upgrade/
*User-Agent*: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.114 Safari/537.36
*Referrer*: https://www.google.com/
*Screen Resolution*: 1920 x 1080
*repo*: docs
*source*: release-notes/3.0-upgrade
Ubuntu 12.04, mongodb version 3.0.3 *Location*: http://docs.mongodb.org/manual/release-notes/3.0-upgrade/ *User-Agent*: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.114 Safari/537.36 *Referrer*: https://www.google.com/ *Screen Resolution*: 1920 x 1080 *repo*: docs *source*: release-notes/3.0-upgrade
-
0.2
Description
Hello, i think the section "Change Config Server to Use WiredTiger" is not right.
First a minor comment, it is confusing that you refer to the config servers as first, second and third, but in the second point you say "last", i assume that is the third, but for sake of consistency, it should say third instead of last.
Then, the main problem is in point 6, if in point 5 i've restarted the second config server with a new empty dbpath for WiredTiger, before executing the mongorestore in point 6, that new directory starts getting data and creating files, i suppose, from the first config server that is still running. My problem is that i use authentication and i cannot connect to this second config server with WiredTiger, the password doesn't work and if i connect without user and password, i don't have enough privileges to run mongorestore (for security the anonymous user doesn't have any privilege). Somehow, the new directory is in a weird state with some data from the first config server but for some reasons you can't log in with the usual user.
Is this something you are aware?
This is what i get trying to connect with the usual user "admin":
# mongo localhost:27031/admin -u admin -p
|
MongoDB shell version: 3.0.3
|
Enter password:
|
connecting to: localhost:27031/admin
|
2015-07-09T14:40:34.076-0700 E QUERY Error: 18 Authentication failed.
|
at DB._authOrThrow (src/mongo/shell/db.js:1266:32)
|
at (auth):6:8
|
at (auth):7:2 at src/mongo/shell/db.js:1266
|
exception: login failed
|
|
And if i run mongorestore without user:
# mongorestore -h localhost --port 27031 /tmp/mongodumps/m2
|
2015-07-09T14:41:54.782-0700 building a list of dbs and collections to restore from /tmp/mongodumps/m2 dir
|
2015-07-09T14:41:54.783-0700 Failed: error getting auth version of server: not authorized on admin to execute command { getParameter: 1, authSchemaVersion: 1 }
|
Thank you