Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-3329

Update to 100.7.3 breaks backup

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Blocker - P1 Blocker - P1
    • None
    • Affects Version/s: 100.7.3
    • Component/s: None
    • Labels:
      None

      Problem Statement/Rationale

      After the update the dump is empty.

      Steps to Reproduce

      Call:

      cat /etc/mongodb_backup_pw | mongodump -quiet  -username=backup --authenticationDatabase=admin --db config --dumpDbUsersAndRoles --archiv

      Expected Results

      Dump of the database.

      Actual Results

      Empty output

      Additi??onal Notes

      Downgrade to 100.7.2 will fix it

      The dump of other db's will work.

      In the Log of the server I will see this error:

      100.7.2:

      {"t":\{"$date":"2023-06-28T07:13:27.751+02:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"[::1]:47176","connectionId":1492,"connectionCount":4}}       {"t":\{"$date":"2023-06-28T07:13:27.751+02:00"},"s":"I",  "c":"NETWORK",  "id":51800,   "ctx":"conn1492","msg":"client metadata","attr":{"remote":"[::1]:47176","client":"conn1492","doc":{"driver":{"name":"mongo-go-driver","version":"v1.10.3"},"os":{"type":"linux","architecture":"amd64"},"platform":"go1.19.9","application":{"name":"mongodump"}}}}                                                                            {"t":\{"$date":"2023-06-28T07:13:27.751+02:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"[::1]:47182","connectionId":1493,"connectionCount":5}}       {"t":\{"$date":"2023-06-28T07:13:27.752+02:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"[::1]:47186","connectionId":1494,"connectionCount":6}}       {"t":\{"$date":"2023-06-28T07:13:27.752+02:00"},"s":"I",  "c":"NETWORK",  "id":51800,   "ctx":"conn1493","msg":"client metadata","attr":{"remote":"[::1]:47182","client":"conn1493","doc":{"driver":{"name":"mongo-go-driver","version":"v1.10.3"},"os":{"type":"linux","architecture":"amd64"},"platform":"go1.19.9","application":{"name":"mongodump"}}}}                                                                            {"t":\{"$date":"2023-06-28T07:13:27.753+02:00"},"s":"I",  "c":"NETWORK",  "id":51800,   "ctx":"conn1494","msg":"client metadata","attr":{"remote":"[::1]:47186","client":"conn1494","doc":{"driver":{"name":"mongo-go-driver","version":"v1.10.3"},"os":{"type":"linux","architecture":"amd64"},"platform":"go1.19.9","application":{"name":"mongodump"}}}}                                                                            {"t":\{"$date":"2023-06-28T07:13:27.763+02:00"},"s":"I",  "c":"ACCESS",   "id":20250,   "ctx":"conn1494","msg":"Authentication succeeded","attr":{"mechanism":"SCRAM-SHA-256","speculative":true,"principalName":"backup","authenticationDatabase":"admin","remote":"[::1]:47186","extraInfo":{}}}

       

      100.7.3:

      {"t":\{"$date":"2023-06-28T07:15:08.180+02:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"[::1]:44760","connectionId":1497,"connectionCount":4}} {"t":\{"$date":"2023-06-28T07:15:08.181+02:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"[::1]:44764","connectionId":1498,"connectionCount":5}} {"t":\{"$date":"2023-06-28T07:15:08.181+02:00"},"s":"I",  "c":"NETWORK",  "id":51800,   "ctx":"conn1497","msg":"client metadata","attr":{"remote":"[::1]:44760","client":"conn1497","doc":{"driver":{"name":"mongo-go-driver","version":"v1.10.3"},"os":{"type":"linux","architecture":"amd64"},"platform":"go1.19.10","application":{"name":"mongodump"}}}} {"t":\{"$date":"2023-06-28T07:15:08.182+02:00"},"s":"I",  "c":"NETWORK",  "id":51800,   "ctx":"conn1498","msg":"client metadata","attr":{"remote":"[::1]:44764","client":"conn1498","doc":{"driver":{"name":"mongo-go-driver","version":"v1.10.3"},"os":{"type":"linux","architecture":"amd64"},"platform":"go1.19.10","application":{"name":"mongodump"}}}} {"t":\{"$date":"2023-06-28T07:15:08.182+02:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"[::1]:44776","connectionId":1499,"connectionCount":6}} {"t":\{"$date":"2023-06-28T07:15:08.182+02:00"},"s":"I",  "c":"NETWORK",  "id":51800,   "ctx":"conn1499","msg":"client metadata","attr":{"remote":"[::1]:44776","client":"conn1499","doc":{"driver":{"name":"mongo-go-driver","version":"v1.10.3"},"os":{"type":"linux","architecture":"amd64"},"platform":"go1.19.10","application":{"name":"mongodump"}}}} {"t":\{"$date":"2023-06-28T07:15:08.192+02:00"},"s":"I",  "c":"ACCESS",   "id":20250,   "ctx":"conn1499","msg":"Authentication succeeded","attr":{"mechanism":"SCRAM-SHA-256","speculative":true,"principalName":"backup","authenticationDatabase":"admin","remote":"[::1]:44776","extraInfo":{}}} {"t":\{"$date":"2023-06-28T07:15:08.194+02:00"},"s":"I",  "c":"ACCESS",   "id":20436,   "ctx":"conn1499","msg":"Checking authorization failed","attr":{"error":{"code":13,"codeName":"Unauthorized","errmsg":"not authorized on config to execute command { count: \"system.sessions\", lsid: { id: UUID(\"a8e9ca75-f61b-4d53-86a2-65f2a3c2c7ff\") }, $db: \"config\" }"}}} {"t":\{"$date":"2023-06-28T07:15:08.194+02:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn1499","msg":"Connection ended","attr":{"remote":"[::1]:44776","connectionId":1499,"connectionCount":5}}

            Assignee:
            rohan.sharan@mongodb.com Rohan Sharan
            Reporter:
            systems@mdc.berlin.de MDC MDC
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: