[DOCS-5808] Review and correct change config server to WiredTiger procedure Created: 09/Jul/15  Updated: 30/Oct/23  Resolved: 01/Nov/22

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Bug Priority: Major - P3
Reporter: Docs Collector User (Inactive) Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: bite-sized, wiredtiger
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

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


Participants:
Days since reply: 1 year, 14 weeks, 1 day ago
Epic Link: DOCSP-1769
Story Points: 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



 Comments   
Comment by Education Bot [ 01/Nov/22 ]

Hello! This ticket has been closed due to inactivity. If you believe this ticket is still important, please reopen it and leave a comment to explain why. Thank you!

Generated at Thu Feb 08 07:51:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.