Bug 1384294 - What prints to the screen by quick installer is not quiet format
Summary: What prints to the screen by quick installer is not quiet format
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.3.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Tim Bielawa
QA Contact: liujia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-13 03:14 UTC by liujia
Modified: 2017-03-08 18:43 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: The ansible 'quiet output' config was not set for non-'install' runs of atomic-openshift-installer. Consequence: Users would see full ansible output rather than abbreviated step-by-step output. Fix: The ansible 'quiet output' config is set as the default for all atomic-openshift-installer runs. Result: Users see abbreviated output now and can toggle back to verbose output with -v or --verbose.
Clone Of:
Environment:
Last Closed: 2017-01-18 12:42:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0066 0 normal SHIPPED_LIVE Red Hat OpenShift Container Platform 3.4 RPM Release Advisory 2017-01-18 17:23:26 UTC

Description liujia 2016-10-13 03:14:55 UTC
Description of problem:
When run uninstall with atomic-openshift-installer, the output on the screen is still original format of ansible instead of new format with new callback_plugins.

Version-Release number of selected component (if applicable):
atomic-openshift-utils-3.3.34-1.git.0.5b998bb.el7.noarch
openshift-ansible-callback-plugins-3.3.34-1.git.0.5b998bb.el7.noarch
openshift-ansible-3.3.34-1.git.0.5b998bb.el7.noarch

How reproducible:
always

Steps to Reproduce:
1.run uninstall against OCP3.3 env
#atomic-openshift-installer -c /tmp/installer.cfg.yml uninstall

Actual results:
Uninstall successfully, but the output format is not what we expect.
PLAY [OSEv3:children] **********************************************************

TASK [setup] *******************************************************************
ok: [openshift-118.lab.eng.nay.redhat.com]

TASK [Detecting Operating System] **********************************************
changed: [openshift-118.lab.eng.nay.redhat.com]

TASK [set_fact] ****************************************************************
ok: [openshift-118.lab.eng.nay.redhat.com]

TASK [set_fact] ****************************************************************
ok: [openshift-118.lab.eng.nay.redhat.com]
....

Expected results:
the output info should be brief style like following:
Play 1/30 (localhost)
.
Play 2/30 (localhost)
...

Additional info:

Comment 1 Tim Bielawa 2016-10-27 17:38:08 UTC
More cosmetic than functional error.

Pushing back while we focus on critical bugs for this upcoming release.

Comment 2 Tim Bielawa 2016-11-10 21:22:48 UTC
liujia, I updated the quick installer to use the quiet output for the other operations. The changes have been merged into master. Good to test!

Comment 4 liujia 2016-11-14 07:47:18 UTC
Version:
atomic-openshift-utils-3.4.23-1.git.0.317b2cd.el7.noarch

Verify following sub-command with quick installer:
1.upgrade ocp3.3 to ocp3.4
# atomic-openshift-installer upgrade
2.scaleup cluster
# atomic-openshift-installer scaleup
3.uninstall
# atomic-openshift-installer uninstall

The output of all sub-commands with quick installer are updates to unitied quiet format.

Comment 6 errata-xmlrpc 2017-01-18 12:42:41 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:0066


Note You need to log in before you can comment on or make changes to this bug.