summaryrefslogtreecommitdiffstats
path: root/roles/installer_checkpoint/callback_plugins/installer_checkpoint.py
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2018-01-25 08:41:22 -0500
committerGitHub <noreply@github.com>2018-01-25 08:41:22 -0500
commit4e5ef6d50f31eb51a249c3b4836141030f70b0de (patch)
tree3fd0812a7da55819cffa766cdada9ee81a8bb7a1 /roles/installer_checkpoint/callback_plugins/installer_checkpoint.py
parent9a58d1001f85195609e0297015a6461f2bc78ece (diff)
parent83378c05f3aaa67e36a3e7577784351fdb711c57 (diff)
downloadopenshift-4e5ef6d50f31eb51a249c3b4836141030f70b0de.tar.gz
openshift-4e5ef6d50f31eb51a249c3b4836141030f70b0de.tar.bz2
openshift-4e5ef6d50f31eb51a249c3b4836141030f70b0de.tar.xz
openshift-4e5ef6d50f31eb51a249c3b4836141030f70b0de.zip
Merge pull request #6734 from ewolinetz/logging_red_restart_check
Only automatically restart if cluster is in yellow or green state
Diffstat (limited to 'roles/installer_checkpoint/callback_plugins/installer_checkpoint.py')
-rw-r--r--roles/installer_checkpoint/callback_plugins/installer_checkpoint.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/installer_checkpoint/callback_plugins/installer_checkpoint.py b/roles/installer_checkpoint/callback_plugins/installer_checkpoint.py
index da7e7b1da..a38b95c1d 100644
--- a/roles/installer_checkpoint/callback_plugins/installer_checkpoint.py
+++ b/roles/installer_checkpoint/callback_plugins/installer_checkpoint.py
@@ -127,6 +127,10 @@ class CallbackModule(CallbackBase):
self._display.display(
'\tThis phase can be restarted by running: {}'.format(
phase_attributes[phase]['playbook']))
+ if 'message' in stats.custom['_run'][phase]:
+ self._display.display(
+ '\t{}'.format(
+ stats.custom['_run'][phase]['message']))
self._display.display("", screen_only=True)