Merge "Adds cluster status check_and_fail before running upgrade (step0)"

This commit is contained in:
Jenkins 2017-02-12 15:47:29 +00:00 committed by Gerrit Code Review
commit be6a66042e
1 changed files with 3 additions and 0 deletions

View File

@ -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