Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-1261

User for replica set auth test environment needs access to "local" database

    • Type: Icon: Task Task
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      From this Travis build failure:

      Fatal error: Uncaught MongoDB\Driver\Exception\CommandException: not authorized on local to execute command { drop: "server_server_executeBulkWrite_005", $db: "local", lsid: { id: UUID("52299046-2c76-471f-9b75-0948fcc3635c") }, $clusterTime: { clusterTime: Timestamp(1533745948, 16), signature: { hash: BinData(0, E79633FC694E202E22CD5ED468B494400A11734F), keyId: 6587388132981735425 } } } in /home/travis/build/mongodb/mongo-php-driver/tests/server/server-executeBulkWrite-005.php:21
      Stack trace:
      #0 /home/travis/build/mongodb/mongo-php-driver/tests/server/server-executeBulkWrite-005.php(21): MongoDB\Driver\Server->executeCommand('local', Object(MongoDB\Driver\Command))
      #1 {main}
      thrown in /home/travis/build/mongodb/mongo-php-driver/tests/server/server-executeBulkWrite-005.php on line 21
      

      This is likely related to SERVER-26839 (also discussed in SERVER-28449). Fixing the error will require explicit permissions on the "local" database for the authenticated user.

            Assignee:
            Unassigned Unassigned
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: