Code Review
/
apex-tripleo-heat-templates.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
a6a69ad
)
Adds cluster status check_and_fail before running upgrade (step0)
author
marios
<marios@redhat.com>
Fri, 23 Dec 2016 12:18:20 +0000
(14:18 +0200)
committer
Marios Andreou
<marios@redhat.com>
Fri, 10 Feb 2017 16:00:01 +0000
(16:00 +0000)
This depends on a change in the pacemaker_cluster resource
https://review.gerrithub.io/#/c/307078/
Change-Id: Iaf50e27607b159173190912604198b6a471fe35f
puppet/services/pacemaker.yaml
patch
|
blob
|
history
diff --git
a/puppet/services/pacemaker.yaml
b/puppet/services/pacemaker.yaml
index
9c85fce
..
0b9ab9f
100644
(file)
--- a/
puppet/services/pacemaker.yaml
+++ b/
puppet/services/pacemaker.yaml
@@
-125,6
+125,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