Bug 1115267

Summary: 'warning: %post(glusterfs-3.6.0.22-1.el7.x86_64) scriptlet failed, exit status 2' on installing RHS client packages on RHEL 7
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Rejy M Cyriac <rcyriac>
Component: buildAssignee: Bala.FA <barumuga>
Status: CLOSED ERRATA QA Contact: Rejy M Cyriac <rcyriac>
Severity: high Docs Contact:
Priority: high    
Version: rhgs-3.0CC: asrivast, dpati, nlevinki, nsathyan, rhs-bugs, sdharane, ssamanta, surs, vagarwal
Target Milestone: ---   
Target Release: RHGS 3.0.0   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.6.0.24-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-22 19:43:12 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: 1119205    

Description Rejy M Cyriac 2014-07-02 05:14:45 UTC
Description of problem:
On installing the RHS client packages on RHEL 7 , there are error messages posted in the transaction output.

-------------------------------------------
  Installing : glusterfs-3.6.0.22-1.el7.x86_64                                                                                                                                                                 3/5 
/var/tmp/rpm-tmp.Ofvfws: line 1: syntax error near unexpected token `noreplace'
/var/tmp/rpm-tmp.Ofvfws: line 1: `/bin/systemctl try-restart rsyslog.service ;%config(noreplace) /etc/glusterfs/group-small-file-perf.example'
warning: %post(glusterfs-3.6.0.22-1.el7.x86_64) scriptlet failed, exit status 2
Non-fatal POSTIN scriptlet failure in rpm package glusterfs-3.6.0.22-1.el7.x86_64

-------------------------------------------

Version-Release number of selected component (if applicable):
glusterfs-3.6.0.22-1.el7.x86_64

How reproducible:


Steps to Reproduce:
1.Install RHEL 7
2.Install glusterfs-fuse, which brings in glusterfs as dependency

Actual results:
Errors related to glusterfs posted on installation of RHS client packages on RHEL 7

Expected results:
Install of RHS client packages on RHEL 7 must be clean

Comment 1 Bala.FA 2014-07-02 09:38:49 UTC
Patch is under review at https://code.engineering.redhat.com/gerrit/28319

Comment 3 ssamanta 2014-07-03 07:12:03 UTC
After discussing in RHS3.0 Status meeting on 3rd July,2014 provided the qa_ack.

Comment 4 Rejy M Cyriac 2014-07-04 14:52:11 UTC
Verified as fixed

---------------------------------------------------
# yum install glusterfs-fuse

<snip>

Running transaction
  Installing : rsyslog-mmjsonparse-7.4.7-6.el7.x86_64                                                                                                                                                          1/5 
  Installing : glusterfs-libs-3.6.0.24-1.el7.x86_64                                                                                                                                                            2/5 
  Installing : glusterfs-api-3.6.0.24-1.el7.x86_64                                                                                                                                                             3/5 
  Installing : glusterfs-3.6.0.24-1.el7.x86_64                                                                                                                                                                 4/5 
  Installing : glusterfs-fuse-3.6.0.24-1.el7.x86_64                                                                                                                                                            5/5 
rhel-7-server-rpms/7Server/x86_64/productid                                                                                                                                                 | 1.7 kB  00:00:00     
rhel-ha-for-rhel-7-server-rpms/7Server/x86_64/productid                                                                                                                                     | 1.7 kB  00:00:00     
rhel-rs-for-rhel-7-server-rpms/7Server/x86_64/productid                                                                                                                                     | 1.7 kB  00:00:00     
  Verifying  : glusterfs-3.6.0.24-1.el7.x86_64                                                                                                                                                                 1/5 
  Verifying  : glusterfs-fuse-3.6.0.24-1.el7.x86_64                                                                                                                                                            2/5 
  Verifying  : glusterfs-libs-3.6.0.24-1.el7.x86_64                                                                                                                                                            3/5 
  Verifying  : rsyslog-mmjsonparse-7.4.7-6.el7.x86_64                                                                                                                                                          4/5 
  Verifying  : glusterfs-api-3.6.0.24-1.el7.x86_64                                                                                                                                                             5/5 

Installed:
  glusterfs-fuse.x86_64 0:3.6.0.24-1.el7                                                                                                                                                                           

Dependency Installed:
  glusterfs.x86_64 0:3.6.0.24-1.el7               glusterfs-api.x86_64 0:3.6.0.24-1.el7               glusterfs-libs.x86_64 0:3.6.0.24-1.el7               rsyslog-mmjsonparse.x86_64 0:7.4.7-6.el7              

Complete!
---------------------------------------------------

Comment 6 errata-xmlrpc 2014-09-22 19:43:12 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.

http://rhn.redhat.com/errata/RHEA-2014-1278.html