Increase mongodb_conn_validator timeout to 600
authorGiulio Fidente <gfidente@redhat.com>
Wed, 24 Jun 2015 08:52:15 +0000 (10:52 +0200)
committerGiulio Fidente <gfidente@redhat.com>
Wed, 24 Jun 2015 09:39:13 +0000 (11:39 +0200)
This will increase the mongodb_conn_validator timeout from 60 secs
(the default) to 600 secs; it should take much less in normal
circumstances to start mongod but nodes might not be starting it all
at the same time so we use a larger timeframe for the availablity
checks.

Change-Id: I0ee210be94b33d1c08d67f287aa745743a6649d3

puppet/manifests/overcloud_controller_pacemaker.pp

index ed4f351..bf269a2 100644 (file)
@@ -227,6 +227,7 @@ if hiera('step') >= 2 {
       # NOTE (spredzy) : The replset can only be run
       # once all the nodes have joined the cluster.
       mongodb_conn_validator { $mongo_node_ips_with_port :
+        timeout => '600',
         require => Pacemaker::Resource::Service[$::mongodb::params::service_name],
         before  => Mongodb_replset[$mongodb_replset],
       }