summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2017-10-12 16:40:54 -0700
committerGitHub <noreply@github.com>2017-10-12 16:40:54 -0700
commit7c779b36cc6fc9687b577f2ddda33909b25860e7 (patch)
tree885a6521c0ffd9e71300633ea89e45d5c3be9c99
parente3c8b0065af5c7ecfc3746e65620ba7db0ebcf0e (diff)
parent455cc18ace910be33ec0053b05591bb337233b0e (diff)
downloadopenshift-7c779b36cc6fc9687b577f2ddda33909b25860e7.tar.gz
openshift-7c779b36cc6fc9687b577f2ddda33909b25860e7.tar.bz2
openshift-7c779b36cc6fc9687b577f2ddda33909b25860e7.tar.xz
openshift-7c779b36cc6fc9687b577f2ddda33909b25860e7.zip
Merge pull request #5741 from mtnbikenc/fix-1484324
Automatic merge from submit-queue. 1484324 Ensure upgrade playbook exits on health check failures Adds `any_errors_fatal: true` https://bugzilla.redhat.com/show_bug.cgi?id=1484324
-rw-r--r--playbooks/common/openshift-cluster/upgrades/pre/verify_health_checks.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/pre/verify_health_checks.yml b/playbooks/common/openshift-cluster/upgrades/pre/verify_health_checks.yml
index ad6325ca0..2a8de50a2 100644
--- a/playbooks/common/openshift-cluster/upgrades/pre/verify_health_checks.yml
+++ b/playbooks/common/openshift-cluster/upgrades/pre/verify_health_checks.yml
@@ -1,12 +1,14 @@
---
-- name: Verify Host Requirements
+- name: OpenShift Health Checks
hosts: oo_all_hosts
+ any_errors_fatal: true
roles:
- openshift_health_checker
vars:
- r_openshift_health_checker_playbook_context: upgrade
post_tasks:
- - action: openshift_health_check
+ - name: Run health checks (upgrade)
+ action: openshift_health_check
args:
checks:
- disk_availability