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

Unauthorized: not authorized on admin to execute command { replSetGetStatus: 1.0 } log every two minutes in log

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • 3.2.10
    • Replication
    • None
    • Docker and Linux debian
    • ALL
    • Hide

      mongod --replSet test --auth
      mongo
      rs.initiate()
      db.getSiblingDB("admin").createUser(

      { user: "admin", pwd: "admin", roles: [ "root" ] }

      )

      Show
      mongod --replSet test --auth mongo rs.initiate() db.getSiblingDB("admin").createUser( { user: "admin", pwd: "admin", roles: [ "root" ] } )

    Description

      We configure a fresh new 3.2.10 instance alone (but configured as a replicaset and with auth activated). We created a root user and two other that can only authenticated against our app db (let call it myappdb)

      Every 2 minutes we see a log like that :
      Oct 27 13:04:01 ip-172-17-0-1.us-west-2.compute.internal docker/0ab472e5c4e3[375]: 2016-10-27T13:04:01.531+0000 I ACCESS [conn250] Unauthorized: not authorized on admin to execute command

      { replSetGetStatus: 1.0 }

      We have also a three members replicaset also deployed in 3.2.10 and see the exact same info message every two minutes.

      We closed all our client connected to the db and did not see any change.

      Even after a restart this log is always write at second 0,1,2 or 3 every two minutes.

      Do you have any clue where does this annoying log come from ?

      Attachments

        Activity

          People

            Unassigned Unassigned
            pad@myscript.com Pierre-Alban DEWITTE
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: