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

usersInfo command does not display users halfway through an upgrade from 2.4 to 2.6

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.5.5
    • 2.5.4
    • Security, Usability
    • ALL

    Description

      To reproduce, in a trivial case:

      • Bring up a 2.4 standalone
      • Insert a user in the admin database with the 'userAdminAnyDatabase' and 'clusterAdmin' roles
      • Restart the node as 2.6
      • Run the authSchemaUpgradeStep command once, so that the authSchemaVersion is 2.
      • Run 'usersInfo' on the admin database. It reports no users.

      In more complex cases (i.e multiple users on multiple databases), the command has the same issue of reporting no users when authSchemaVersion is 2. This is, however, the simplest possible reproducing case.

      Reproducing script attached.

      Attachments

        Activity

          People

            spencer@mongodb.com Spencer Brody (Inactive)
            sam.helman@10gen.com sam.helman@10gen.com
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: