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

rs.initiate it failed with HostUnreachable

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.4.9
    • Component/s: Replication
    • Labels:
      None
    • ALL

      I have executed the mongo as statefulset with 3 replicaset and created successfully in ICP environment

      When I exected the rs.initiate it failed with HostUnreachable

      Please find my attached docker fileĀ 

      rs.initiate(
      ...

      { ... _id: "rs0", ... version: 1, ... members: [ ... \{ _id: 0, host : "mongo-0:27017" }

      ,
      ... { _id: 1, host : "mongo-1:27017" },
      ... { _id: 2, host : "mongo-2:27017" }
      ... ]
      ... }
      ... )
      {
      "ok" : 0,
      "errmsg" : "replSetInitiate quorum check failed because not all proposed set members responded affirmatively: mongo-1:27017 failed with HostUnreachable, mongo-2:27017 failed with HostUnreachable",
      "code" : 74,
      "codeName" : "NodeNotFound"

            Assignee:
            daniel.hatcher@mongodb.com Danny Hatcher (Inactive)
            Reporter:
            systemk8 systemk8
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: