Bug 1341686

Summary: ceph-installer prints output to console during installation
Product: [Red Hat Storage] Red Hat Storage Console Reporter: Ken Dreyer (Red Hat) <kdreyer>
Component: ceph-installerAssignee: Ken Dreyer (Red Hat) <kdreyer>
Status: CLOSED ERRATA QA Contact: Rachana Patel <racpatel>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2CC: adeza, amaredia, aschoen, ceph-eng-bugs, ceph-qe-bugs, hnallurv, nthomas, racpatel, sankarshan, tserlin
Target Milestone: ---   
Target Release: 2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: RHEL: ceph-installer-1.0.12-2.el7scon Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-23 19:53:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1343229    

Description Ken Dreyer (Red Hat) 2016-06-01 13:48:03 UTC
Description of problem:
"yum install ceph-installer" prints messages to the console.

Version-Release number of selected component (if applicable):
ceph-installer-1.0.11-1.el7scon

How reproducible:
always

Steps to Reproduce:
1. Start with a RHEL 7 system
2. Enable the yum repository that contains the ceph-installer package
3. yum install ceph-installer

Actual results:
The RPM prints the following messages to the console:

   ==> LOADING ENVIRONMENT
   ==> BUILDING SCHEMA
   ==> STARTING A TRANSACTION...
   ==> COMMITING...


Expected results:
The RPM installation is silent

Additional info:
This is a result of not piping the "pecan populate" command in %post to /dev/null.

Comment 2 Ken Dreyer (Red Hat) 2016-06-01 13:49:54 UTC
PR upstream at https://github.com/ceph/ceph-installer/pull/160

Comment 3 Ken Dreyer (Red Hat) 2016-06-01 15:40:51 UTC
PR is merged upstream. Need to make the equivalent change in the downstream ceph-installer.spec.

Comment 8 Rachana Patel 2016-07-28 21:01:46 UTC
Verified with - ceph-installer.noarch 0:1.0.14-1.el7scon

Comment 10 errata-xmlrpc 2016-08-23 19:53:31 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/RHEA-2016:1754