summaryrefslogtreecommitdiffstats
path: root/puppet/services/pacemaker.yaml
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-10-10 04:38:12 +0000
committerGerrit Code Review <review@openstack.org>2017-10-10 04:38:12 +0000
commit43062a1eae30a7a0ade11ee2a1841def93fdc0c8 (patch)
tree952f1d3e572ea326c54a248bad02ab9faaf1bebd /puppet/services/pacemaker.yaml
parent0f0da45d9a5f4c13cbca45e9083ef3af5b748803 (diff)
parent911edab71e435736dc094c9633520315d310f60c (diff)
Merge "Adds pacemaker update_tasks for Pike minor update workflow" into stable/pike
Diffstat (limited to 'puppet/services/pacemaker.yaml')
-rw-r--r--puppet/services/pacemaker.yaml12
1 files changed, 12 insertions, 0 deletions
diff --git a/puppet/services/pacemaker.yaml b/puppet/services/pacemaker.yaml
index 158d04bd..badb1a4e 100644
--- a/puppet/services/pacemaker.yaml
+++ b/puppet/services/pacemaker.yaml
@@ -156,3 +156,15 @@ outputs:
- name: Start pacemaker cluster
tags: step4
pacemaker_cluster: state=online
+ update_tasks:
+ - name: Check pacemaker cluster running before the minor update
+ when: step == "0" # TODO(marios) disabling validations?
+ pacemaker_cluster: state=online check_and_fail=true
+ async: 30
+ poll: 4
+ - name: Stop pacemaker cluster
+ when: step == "1"
+ pacemaker_cluster: state=offline
+ - name: Start pacemaker cluster
+ when: step == "4"
+ pacemaker_cluster: state=online