diff options
author | marios <marios@redhat.com> | 2016-12-23 14:18:20 +0200 |
---|---|---|
committer | Marios Andreou <marios@redhat.com> | 2017-02-10 16:00:01 +0000 |
commit | 5e411fa85f0d2200a0632a6b7c1426e1fe0bd28d (patch) | |
tree | a29fdd06bfbfcdfbde97f9bf13c6a26fb59b4429 /puppet | |
parent | a6a69ade3844baecb40859ca6004c92262d9cd6d (diff) |
Adds cluster status check_and_fail before running upgrade (step0)
This depends on a change in the pacemaker_cluster resource
https://review.gerrithub.io/#/c/307078/
Change-Id: Iaf50e27607b159173190912604198b6a471fe35f
Diffstat (limited to 'puppet')
-rw-r--r-- | puppet/services/pacemaker.yaml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/puppet/services/pacemaker.yaml b/puppet/services/pacemaker.yaml index 9c85fcee..0b9ab9f9 100644 --- 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 |