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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: 3.2.10
    • Component/s: Replication
    • None
    • Environment:
      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" ] } )
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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 ?

            Assignee:
            Unassigned
            Reporter:
            Pierre-Alban DEWITTE
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: