summaryrefslogtreecommitdiffstats
path: root/puppet/services
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-02-12 15:47:29 +0000
committerGerrit Code Review <review@openstack.org>2017-02-12 15:47:29 +0000
commitbe6a66042e14abfc3a1b649ed144bb755c750424 (patch)
tree9572c90dd00364e82e84a16e00915511bbaa5f9d /puppet/services
parentb7c71387bf3a2b5dbe4e7b172b80e92d324e4884 (diff)
parent5e411fa85f0d2200a0632a6b7c1426e1fe0bd28d (diff)
Merge "Adds cluster status check_and_fail before running upgrade (step0)"
Diffstat (limited to 'puppet/services')
-rw-r--r--puppet/services/pacemaker.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/puppet/services/pacemaker.yaml b/puppet/services/pacemaker.yaml
index 2b1071a3..ca21cfbe 100644
--- a/puppet/services/pacemaker.yaml
+++ b/puppet/services/pacemaker.yaml
@@ -132,6 +132,9 @@ outputs:
step_config: |
include ::tripleo::profile::base::pacemaker
upgrade_tasks:
+ - name: Check pacemaker cluster running before upgrade
+ tags: step0,validation
+ pacemaker_cluster: state=online check_and_fail=true
- name: Stop pacemaker cluster
tags: step1
pacemaker_cluster: state=offline