summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRussell Teague <rteague@redhat.com>2017-10-25 08:22:36 -0400
committerRussell Teague <rteague@redhat.com>2017-10-25 08:50:02 -0400
commitb21db4a824714cac5a3e63de2fe5e2b9da592045 (patch)
tree560e1397cc9ffc254ff0104bbabdf1fb5451cbc3
parentabb5b1c5b899a121b8d2990b33880c93cd46ac88 (diff)
downloadopenshift-b21db4a824714cac5a3e63de2fe5e2b9da592045.tar.gz
openshift-b21db4a824714cac5a3e63de2fe5e2b9da592045.tar.bz2
openshift-b21db4a824714cac5a3e63de2fe5e2b9da592045.tar.xz
openshift-b21db4a824714cac5a3e63de2fe5e2b9da592045.zip
Remove 'Not Started' status from playbook checkpoint
Playbook status should only be reported for phases that have completed or which have been started. Reporting 'Not Started' could be confusing when running playbooks that do not have an 'installer phase'. Fixes #5675
-rw-r--r--roles/installer_checkpoint/callback_plugins/installer_checkpoint.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/roles/installer_checkpoint/callback_plugins/installer_checkpoint.py b/roles/installer_checkpoint/callback_plugins/installer_checkpoint.py
index 25f9405af..4b15e3bbc 100644
--- a/roles/installer_checkpoint/callback_plugins/installer_checkpoint.py
+++ b/roles/installer_checkpoint/callback_plugins/installer_checkpoint.py
@@ -159,11 +159,6 @@ class CallbackModule(CallbackBase):
self._display.display(
'\tThis phase can be restarted by running: {}'.format(
phase_attributes[phase]['playbook']))
- else:
- # Phase was not found in custom stats
- self._display.display(
- '{}{}: {}'.format(phase_title, ' ' * padding, 'Not Started'),
- color=C.COLOR_SKIP)
self._display.display("", screen_only=True)