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

listDatabases auth error claims too many users are authenticated

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Works as Designed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Security
    • Labels:
      None
    • Operating System:
      ALL

      Description

      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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: