[SERVER-12893] Creating a user requires auth schema upgrade when no old schema was defined Created: 25/Feb/14 Updated: 10/Dec/14 Resolved: 26/Feb/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Security |
| Affects Version/s: | 2.6.0-rc0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Tyler Brock | Assignee: | Andy Schwerin |
| Resolution: | Done | Votes: | 0 |
| Labels: | 26qa | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
|||||||||||||||||||||||||||||||
| Operating System: | ALL | |||||||||||||||||||||||||||||||
| Steps To Reproduce: | All of these were run on the vagrant ldap vm: mongodb/bin/mongod --conf shard.conf
|
|||||||||||||||||||||||||||||||
| Participants: | ||||||||||||||||||||||||||||||||
| Description |
|
I setup a 2.6.0-rc0 cluster as defined below, no older binaries were ever used. When I create a user it complains that there is an old auth schema but how could that be if I never had any old users, its a brand new database, config server, shards, etc and this is 2.6.0-rc0? After I run the upgrade schema step it works fine but the usability of this is not great.
|
| Comments |
| Comment by Tyler Brock [ 26/Feb/14 ] | ||||||
|
I just realized that the command we use to setup the ldap user during the test inserts directly into admin.system.users with the old schema:
| ||||||
| Comment by Spencer Brody (Inactive) [ 26/Feb/14 ] | ||||||
|
That's... odd. Can you attach the output of:
on a clean system where you're seeing this problem? |