sous-chefs / sc-mongodb

Development repository for the sc-mongodb cookbook
https://supermarket.chef.io/cookbooks/sc-mongodb
Apache License 2.0
75 stars 92 forks source link

Third centOS node failing to converge when running 'kitchen converge' #210

Open dcaughill opened 5 years ago

dcaughill commented 5 years ago

Cookbook version

1.2.0

Chef-client version

13.4.19

Platform Details

macOS High Sierra 10.13.4

Scenario:

Running kitchen converge replicaset\\d-centos-73 to spin up a local replica set.

Steps to Reproduce:

I'm basically running this in a vanilla state other than changing the repl set name in the attributes/dbconfig.rb file:

default['mongodb']['config']['mongod']['replication']['replSetName'] = 'kitchen'

...and in the attributes/default.rb file I modified these values:

default['mongodb']['auto_configure']['sharding'] = false default['mongodb']['is_replicaset'] = true default['mongodb']['is_shard'] = false default['mongodb']['is_configserver'] = false

Expected Result:

Spin up a local replica set using Test Kitchen

Actual Result:

Two of the three nodes (replicaset1-centos-73 and replicaset2-centos-73) successfully converge, however, replicaset3-centos-73 does not successfully converge, and the replica set does not initiate.

The error I'm getting is: ------Exception------- Class: Kitchen::ActionFailed Message: 1 actions failed. Converge failed on instance <replicaset3-centos-73>. Please see .kitchen/logs/replicaset3-centos-73.log for more details ----------------------

I ran the converge with a -l debug and attached the output here, but am not seeing any conclusive errors at the moment.

testdebug3.txt

github-actions[bot] commented 3 years ago

Marking stale due to inactivity. Remove stale label or comment or this will be closed in 7 days. Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help! Thanks, Sous-Chefs.