From 5e411fa85f0d2200a0632a6b7c1426e1fe0bd28d Mon Sep 17 00:00:00 2001 From: marios Date: Fri, 23 Dec 2016 14:18:20 +0200 Subject: 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 --- puppet/services/pacemaker.yaml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'puppet') 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 -- cgit 1.2.3-korg