Apply mongod timeout via cib-push
authorGiulio Fidente <gfidente@redhat.com>
Wed, 25 Nov 2015 08:45:24 +0000 (09:45 +0100)
committerGiulio Fidente <gfidente@redhat.com>
Wed, 25 Nov 2015 08:45:24 +0000 (09:45 +0100)
We forgot to apply the mongod timeout in the cib dump first, to
apply it later in a single cib-push step.

Change-Id: Ib104e51782c6d3f646907cdb06c74fd4cbf9028c

extraconfig/tasks/yum_update.sh

index 6ab2501..60da8b2 100755 (executable)
@@ -113,7 +113,7 @@ openstack-nova-scheduler"
         pcs -f $pacemaker_dumpfile resource update $service op start timeout=100s op stop timeout=100s
     done
     # mongod start timeout is higher, setting only stop timeout
-    pcs resource update mongod op stop timeout=100s
+    pcs -f $pacemaker_dumpfile resource update mongod op stop timeout=100s
 
     echo "Applying new Pacemaker config"
     pcs cluster cib-push $pacemaker_dumpfile