bindIp parsing error in latest server version

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Security
    • None
    • ALL
    • Hide

      1. Spawn a windows host from evergreen
      2. Run the following commands to setup and run mongo-orchestration:

       git clone git@github.com:mongodb-labs/drivers-evergreen-tools.git 
      cd drivers-evergreen-tools 
      export DRIVERS_TOOLS=$(pwd) 
      export MONGODB_BINARIES=$(cygpath -m $DRIVERS_TOOLS/mongodb/bin) 
      export MONGO_ORCHESTRATION_HOME=$(cygpath -m $DRIVERS_TOOLS/.evergreen/orchestration)
      export MONGODB_VERSION=latest 
      echo "{ \"releases\": { \"default\": \"$MONGODB_BINARIES\" } }" > $MONGO_ORCHESTRATION_HOME/orchestration.config 
      ./.evergreen/run-orchestration.sh 
      

      The script will hang after instructing mongo-orchestration to start a standalone mongod.

      3. To examine the mongod log file, look for the line containing "Creating log file for /data/mci/drivers-evergreen-tools/mongodb/bin/mongod:" in .evergreen/orchestration/server.log

      Show
      1. Spawn a windows host from evergreen 2. Run the following commands to setup and run mongo-orchestration: git clone git@github.com:mongodb-labs/drivers-evergreen-tools.git cd drivers-evergreen-tools export DRIVERS_TOOLS=$(pwd) export MONGODB_BINARIES=$(cygpath -m $DRIVERS_TOOLS/mongodb/bin) export MONGO_ORCHESTRATION_HOME=$(cygpath -m $DRIVERS_TOOLS/.evergreen/orchestration) export MONGODB_VERSION=latest echo "{ \" releases\ ": { \" default \ ": \" $MONGODB_BINARIES\ " } }" > $MONGO_ORCHESTRATION_HOME/orchestration.config ./.evergreen/run-orchestration.sh The script will hang after instructing mongo-orchestration to start a standalone mongod. 3. To examine the mongod log file, look for the line containing "Creating log file for /data/mci/drivers-evergreen-tools/mongodb/bin/mongod:" in .evergreen/orchestration/server.log
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      With the latest server version, mongo-orchestration is unable to start mongod, providing the following error: Failed to set up listener: BadValue: Bad listen address "localhostAn invalid argument was supplied.

      It appears to be an error parsing the bindIp key in these options:

      options: { config: "c:\cygwin\tmp\mongo-ggy8hy", net: { bindIp: "localhost,::1", ipv6: true, port: 27017 }, replication: { enableMajorityReadConcern: true, oplogSizeMB: 100 }, setParameter: { enableTestCommands: "1" }, storage: { dbPath: "c:\cygwin\tmp\mongo-skwhln", journal: { enabled: true } }, systemLog: { destination: "file", logAppend: true, path: "c:\cygwin\tmp\mongo-skwhln\mongod.log" } }

              Assignee:
              Jonathan Reams
              Reporter:
              Ryan Chipman
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: