Timeout early on pcs cluster status check0 during upgrade.
authorSofer Athlan-Guyot <sathlang@redhat.com>
Thu, 6 Apr 2017 14:55:08 +0000 (16:55 +0200)
committerSofer Athlan-Guyot <sathlang@redhat.com>
Fri, 7 Apr 2017 15:43:53 +0000 (17:43 +0200)
There is a windows for the pcs cluster status to hang forever[1].  We
add a timeout during check0 to avoid this situation.  2 minutes should
be more than enought to get all the pcsd nodes to reply.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1292858

Closes-Bug: #1680477

Change-Id: Icb3dc76e031a3d4f26294f37d169f2f61d30973e

puppet/services/pacemaker.yaml

index 28fcbd6..f7a0edf 100644 (file)
@@ -141,6 +141,8 @@ outputs:
         - name: Check pacemaker cluster running before upgrade
           tags: step0,validation
           pacemaker_cluster: state=online check_and_fail=true
+          async: 30
+          poll: 4
         - name: Stop pacemaker cluster
           tags: step2
           pacemaker_cluster: state=offline