[SERVER-5882] uncaught exception with user 'bar' not found in sharding tests Created: 21/May/12  Updated: 21/May/12  Resolved: 21/May/12

Status: Closed
Project: Core Server
Component/s: Security, Sharding
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Ian Whalen (Inactive) Assignee: Spencer Brody (Inactive)
Resolution: Duplicate Votes: 0
Labels: buildbot
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux 64-bit concurrency


Issue Links:
Duplicate
duplicates SERVER-5876 user authentication should retry on p... Closed
Operating System: ALL
Participants:

 Description   

 m31000| Sun May 20 23:45:55 [conn1] couldn't find database [foo] in config db
 m31000| Sun May 20 23:45:55 [conn1] 	 put [foo] on: d1:d1/bs-linux64con:31100,bs-linux64con:31101,bs-linux64con:31102
"error { \"$err\" : \"unauthorized for db:foo level: 1\", \"code\" : 15845 }"
cmd try
"error { \"$err\" : \"unrecognized command: listdbs\", \"code\" : 13390 }"
insert try 1
 m31000| Sun May 20 23:45:55 [conn1]  authenticate db: test { authenticate: 1.0, user: "bar", nonce: "669204d4e192c9a5", key: "524efffcddfccdc66fc12b4c0b8f24a4" }
 m31100| Sun May 20 23:45:55 [initandlisten] connection accepted from 10.96.131.47:57760 #14 (10 connections now open)
 m31100| Sun May 20 23:45:55 [conn14]  authenticate db: local { authenticate: 1, nonce: "57604bf52490d78f", user: "__system", key: "a6874928b084451f23053dd5596fdef9" }
 m31101| Sun May 20 23:45:55 [initandlisten] connection accepted from 10.96.131.47:50309 #8 (7 connections now open)
 m31101| Sun May 20 23:45:55 [conn8]  authenticate db: local { authenticate: 1, nonce: "950ab64b18a75cad", user: "__system", key: "2418fff035cfecf456efc02b61fa5f79" }
 m31101| Sun May 20 23:45:55 [FileAllocator] allocating new datafile /data/db/d1-1/test.0, filling with zeroes...
 m31101| Sun May 20 23:45:55 [FileAllocator] done allocating datafile /data/db/d1-1/test.0, size: 16MB,  took 0.002 secs
 m31101| Sun May 20 23:45:55 [rsSync] build index test.foo { _id: 1 }
 m31101| Sun May 20 23:45:55 [rsSync] build index done.  scanned 0 total records. 0 secs
 m31101| Sun May 20 23:45:55 [rsSync] info: creating collection test.foo on add index
 m31101| Sun May 20 23:45:55 [rsSync] build index test.foo { x: 1.0 }
 m31101| Sun May 20 23:45:55 [rsSync] build index done.  scanned 0 total records. 0 secs
 m31101| Sun May 20 23:45:55 [rsSyncNotifier] replset setting oplog notifier to bs-linux64con:31100
 m31100| Sun May 20 23:45:55 [initandlisten] connection accepted from 10.96.131.47:57762 #15 (11 connections now open)
 m31100| Sun May 20 23:45:55 [conn15]  authenticate db: local { authenticate: 1, nonce: "f4eba18ab67cf114", user: "__system", key: "6f60946aae3c12fe1d17262e689a31e0" }
 m31000| Sun May 20 23:45:55 [conn1] auth: couldn't find user bar, test.system.users
{ "ok" : 0, "errmsg" : "auth fails" }
Sun May 20 23:45:55 uncaught exception: error { "$err" : "unauthorized for db:test level: 1", "code" : 15845 }
failed to load: /data/slave/Linux_64bit_concurrency/mongo/jstests/sharding/auth.js



 Comments   
Comment by Eric Milkie [ 21/May/12 ]

server-5876

Generated at Thu Feb 08 03:10:08 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.