summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSofer Athlan-Guyot <sathlang@redhat.com>2017-04-06 16:55:08 +0200
committerSofer Athlan-Guyot <sathlang@redhat.com>2017-04-07 17:43:53 +0200
commit0ea21f51a8128e536404ffd87f741443c9287593 (patch)
treebee532ca657e973b52e7737460d37d6888e6c9f4
parent161b2b4427f7db0cf65d209a3f63804de9724107 (diff)
Timeout early on pcs cluster status check0 during upgrade.
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
-rw-r--r--puppet/services/pacemaker.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/puppet/services/pacemaker.yaml b/puppet/services/pacemaker.yaml
index 28fcbd6f..f7a0edf8 100644
--- a/puppet/services/pacemaker.yaml
+++ b/puppet/services/pacemaker.yaml
@@ -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