Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-35606

listDatabases auth error claims too many users are authenticated

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Security
    • None
    • ALL

      Tools test have started failing on master-latest.  In one case I spot checked, I saw this output:

      [js_test:mongofiles_db] 2018-06-14T17:09:34.923+0000 2018-06-14T17:09:34.922+0000 E QUERY    [js] Error: listDatabases failed:{
      [js_test:mongofiles_db] 2018-06-14T17:09:34.923+0000 	"operationTime" : Timestamp(1528996174, 15),
      [js_test:mongofiles_db] 2018-06-14T17:09:34.923+0000 	"ok" : 0,
      [js_test:mongofiles_db] 2018-06-14T17:09:34.923+0000 	"errmsg" : "too many users are authenticated",
      [js_test:mongofiles_db] 2018-06-14T17:09:34.923+0000 	"code" : 13,
      [js_test:mongofiles_db] 2018-06-14T17:09:34.923+0000 	"codeName" : "Unauthorized",
      [js_test:mongofiles_db] 2018-06-14T17:09:34.923+0000 	"$clusterTime" : {
      [js_test:mongofiles_db] 2018-06-14T17:09:34.923+0000 		"clusterTime" : Timestamp(1528996174, 15),
      [js_test:mongofiles_db] 2018-06-14T17:09:34.924+0000 		"signature" : {
      [js_test:mongofiles_db] 2018-06-14T17:09:34.924+0000 			"hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="),
      [js_test:mongofiles_db] 2018-06-14T17:09:34.924+0000 			"keyId" : NumberLong(0)
      [js_test:mongofiles_db] 2018-06-14T17:09:34.924+0000 		}
      [js_test:mongofiles_db] 2018-06-14T17:09:34.924+0000 	}
      [js_test:mongofiles_db] 2018-06-14T17:09:34.924+0000 } :
      

      I understand that many commands have moved behind auth, but the errmsg was surprising.

      See this build for examples, such as mongofiles_db.js

            Assignee:
            backlog-server-platform DO NOT USE - Backlog - Platform Team
            Reporter:
            david.golden@mongodb.com David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: