You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: /Stage[main]/Mongodb::Replset/Mongodb_replset[rsmain]: Could not evaluate: rs.initiate() failed for replicaset rsmain: Found two member configurations with same _id field, members.0._id == members.1._id == 1
What behaviour did you expect instead
Notice: /Stage[main]/Mongodb::Replset/Mongodb_replset[rsmain]/ensure: created
Output log
Debug: Executing: '/bin/mongo admin --quiet --host 127.0.0.1:27017 --eval printjson(rs.conf())'
Debug: Got an exception: Could not evaluate MongoDB shell command: printjson(rs.conf())
Notice: /Stage[main]/Mongodb::Replset/Mongodb_replset[rsmain]/ensure: created
Debug: Checking for dead and alive members
Debug: Checking replicaset member host1:27017 ...
Debug: Executing: '/bin/mongo admin --quiet --host host1:27017 --eval printjson(rs.status())'
Debug: Mongo v4 rs.status() RS not initialized output
Debug: Host host1:27017 is alive but unconfigured: run rs.... if not yet done for the set
Debug: Checking replicaset member host2:27017 ...
Debug: Executing: '/bin/mongo admin --quiet --host host2:27017 --eval printjson(rs.status())'
Debug: Mongo v4 rs.status() RS not initialized output
Debug: Host host2:27017 is alive but unconfigured: run rs.... if not yet done for the set
Debug: Checking replicaset member host3:27017 ...
Debug: Executing: '/bin/mongo admin --quiet --host host3:27017 --eval printjson(rs.status())'
Debug: Mongo v4 rs.status() RS not initialized output
Debug: Host host3:27017 is alive but unconfigured: run rs.... if not yet done for the set
Debug: Alive members: [{"host"=>"host1:27017"}, {"host"=>"host1:27017"}, {"host"=>"host2:27017"}, {"host"=>"host2:27017"}, {"host"=>"host3:27017"}, {"host"=>"host3:27017"}]
Debug: Checking for new replset
Debug: Executing: '/bin/mongo admin --quiet --host host1:27017 --eval printjson(db.isMaster())'
Debug: Executing: '/bin/mongo admin --quiet --host host1:27017 --eval printjson(db.isMaster())'
Debug: Executing: '/bin/mongo admin --quiet --host host2:27017 --eval printjson(db.isMaster())'
Debug: Executing: '/bin/mongo admin --quiet --host host2:27017 --eval printjson(db.isMaster())'
Debug: Executing: '/bin/mongo admin --quiet --host host3:27017 --eval printjson(db.isMaster())'
Debug: Executing: '/bin/mongo admin --quiet --host host3:27017 --eval printjson(db.isMaster())'
Debug: Initializing the replset rsmain
Debug: Starting replset config is "{\"_id\":\"rsmain\",\"members\":[{\"host\":\"host1:27017\",\"_id\":1},{\"host\":\"host1:27017\",\"_id\":1},{\"host\":\"host2:27017\",\"_id\":3},{\"host\":\"host2:27017\",\"_id\":3},{\"host\":\"host3:27017\",\"_id\":5},{\"host\":\"host3:27017\",\"_id\":5}],\"settings\":{}}"
Any additional information you'd like to impart
members are pushed two times since v4 support has been added: #535
The text was updated successfully, but these errors were encountered:
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
What are you seeing
Error: /Stage[main]/Mongodb::Replset/Mongodb_replset[rsmain]: Could not evaluate: rs.initiate() failed for replicaset rsmain: Found two member configurations with same _id field, members.0._id == members.1._id == 1
What behaviour did you expect instead
Notice: /Stage[main]/Mongodb::Replset/Mongodb_replset[rsmain]/ensure: created
Output log
Any additional information you'd like to impart
members are pushed two times since v4 support has been added: #535
The text was updated successfully, but these errors were encountered: