Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-9176

rs.initiate() comes too late in 2.6 procedure for Deploy Replica Set and Configure Authentication and Authorization

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: manual, Server
    • Labels:
      None

      Description

      https://github.com/mongodb/docs/blob/v2.6/source/tutorial/deploy-replica-set-with-auth.txt

      Per Sharad Aggarwal:

      if I start the node as replica set, I cannot add user w/o doing an rs.initiate() which in these instructions is step 8.

      If I start the node as standalone, then the user I created in step 2 will not be replicated to other nodes

      What I ended up doing was do rs.initiate() and then create user

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            shannon.bradshaw Shannon Bradshaw (Inactive)
            Participants:
            Last commenter:
            Anthony Sansone Anthony Sansone
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Days since reply:
              5 years, 14 weeks ago
              Date of 1st Reply: