Bug 1341294

Summary: build: RHEL7 unpackaged files /var/lib/glusterd/hooks/.../S57glusterfind-delete-post.{pyc,pyo}
Product: [Community] GlusterFS Reporter: Kaleb KEITHLEY <kkeithle>
Component: buildAssignee: Kaleb KEITHLEY <kkeithle>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1341295 (view as bug list) Environment:
Last Closed: 2016-12-06 05:16:32 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: 1341295, 1341296    

Description Kaleb KEITHLEY 2016-05-31 17:51:50 UTC
Description of problem:

building on Real RHEL7 (versus mock?) results in installed (but unpackaged) files found:
/var/lib/glusterd/hooks/1/delete/post/S57glusterfind-delete-post.pyc
/var/lib/glusterd/hooks/1/delete/post/S57glusterfind-delete-post.pyo

The same .spec file on Fedora 23 and RHEL6 does not encounter this issue.

(Replacing the RHEL7 /usr/lib/rpm/brp-python-bytecompile file with the one from Fedora 23 also makes the problem go away. But we are probably not going to get a fixed rpm/rpmbuild soon enough to make this go away by itself.)


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Vijay Bellur 2016-05-31 18:06:45 UTC
REVIEW: http://review.gluster.org/14590 (build: RHEL7 unpackaged files .../hooks/S57glusterfind-delete-post.{pyc,pyo}) posted (#1) for review on master by Kaleb KEITHLEY (kkeithle)

Comment 2 Vijay Bellur 2016-05-31 18:10:27 UTC
REVIEW: http://review.gluster.org/14590 (build: RHEL7 unpackaged files .../hooks/S57glusterfind-delete-post.{pyc,pyo}) posted (#2) for review on master by Kaleb KEITHLEY (kkeithle)

Comment 3 Vijay Bellur 2016-06-01 13:51:34 UTC
COMMIT: http://review.gluster.org/14590 committed in master by Jeff Darcy (jdarcy) 
------
commit e800c00df1474504032ead25a0bcbbc92c1d6fec
Author: Kaleb S KEITHLEY <kkeithle>
Date:   Tue May 31 14:00:35 2016 -0400

    build: RHEL7 unpackaged files .../hooks/S57glusterfind-delete-post.{pyc,pyo}
    
    building on Real RHEL7 (versus mock?) results in installed (but
    unpackaged) files found:
    /var/lib/glusterd/hooks/1/delete/post/S57glusterfind-delete-post.pyc
    /var/lib/glusterd/hooks/1/delete/post/S57glusterfind-delete-post.pyo
    
    The same .spec file on Fedora 23 and RHEL6 does not encounter this
    issue.
    
    (Replacing the RHEL7 /usr/lib/rpm/brp-python-bytecompile file with
    the one from Fedora 23 also makes the problem go away. But we are
    probably not going to get a fixed rpm/rpmbuild soon enough to make
    this go away by itself.)
    
    Change-Id: Ib3db41cf0b7334a41b5174bba0c57e9aeb13407c
    BUG: 1341294
    Signed-off-by: Kaleb S KEITHLEY <kkeithle>
    Reviewed-on: http://review.gluster.org/14590
    Smoke: Gluster Build System <jenkins.com>
    CentOS-regression: Gluster Build System <jenkins.com>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    Reviewed-by: Jeff Darcy <jdarcy>