Bug 1363594

Summary: File not found errors during rpmbuild: /var/lib/glusterd/hooks/1/delete/post/S57glusterfind-delete-post.py{c,o}
Product: [Community] GlusterFS Reporter: Oleksandr Natalenko <oleksandr>
Component: packagingAssignee: Oleksandr Natalenko <oleksandr>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.7.14CC: bugs, ndevos
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.7.15 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-01 09:20:59 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:

Description Oleksandr Natalenko 2016-08-03 06:59:12 UTC
Backport of 1356868 fix for 3.7.

Description of problem:

RPM build errors:
    File not found: /builddir/build/BUILDROOT/glusterfs-3.9dev-0.262.git203f952.el7.centos.x86_64/var/lib/glusterd/hooks/1/delete/post/S57glusterfind-delete-post.pyc
    File not found: /builddir/build/BUILDROOT/glusterfs-3.9dev-0.262.git203f952.el7.centos.x86_64/var/lib/glusterd/hooks/1/delete/post/S57glusterfind-delete-post.pyo

Comment 1 Vijay Bellur 2016-08-03 07:00:45 UTC
REVIEW: http://review.gluster.org/15074 (packaging: Remove ".py" extension from symlink target) posted (#1) for review on release-3.7 by Oleksandr Natalenko (oleksandr)

Comment 2 Vijay Bellur 2016-08-03 07:49:24 UTC
REVIEW: http://review.gluster.org/15074 (packaging: Remove ".py" extension from symlink target) posted (#2) for review on release-3.7 by Oleksandr Natalenko (oleksandr)

Comment 3 Vijay Bellur 2016-08-03 17:26:56 UTC
COMMIT: http://review.gluster.org/15074 committed in release-3.7 by Kaleb KEITHLEY (kkeithle) 
------
commit ed65746f802351af591d218bdc3f462b787bee23
Author: Aravinda VK <avishwan>
Date:   Fri Jul 15 13:15:21 2016 +0530

    packaging: Remove ".py" extension from symlink target
    
    S57glusterfind-delete-post.py* is packaged in
    $LIBEXEC/glusterfs/glusterfind directory, symlink created to
    /var/lib/glusterd/hooks directory
    
    ln -s $(libexecdir)/glusterfs/glusterfind/S57glusterfind-delete-post.py \
    $(DESTDIR)$(GLUSTERD_WORKDIR)/hooks/1/delete/post/S57glusterfind-delete-post.py
    
    ".py" should be removed from symlink target so that build system will
    not try to compile the symlink files and generate .pyc/.pyo files.
    
    > Reviewed-on: http://review.gluster.org/14928
    > Smoke: Gluster Build System <jenkins.org>
    > CentOS-regression: Gluster Build System <jenkins.org>
    > NetBSD-regression: NetBSD Build System <jenkins.org>
    > Reviewed-by: Kotresh HR <khiremat>
    > Reviewed-by: Kaleb KEITHLEY <kkeithle>
    
    Change-Id: I9155378aa72eb8559ba8af76d91a4985f69f38f9
    BUG: 1363594
    Signed-off-by: Aravinda VK <avishwan>
    Signed-off-by: Oleksandr Natalenko <oleksandr>
    Reviewed-on: http://review.gluster.org/15074
    Reviewed-by: Niels de Vos <ndevos>
    Smoke: Gluster Build System <jenkins.org>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.org>

Comment 4 Kaushal 2016-09-01 09:20:59 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.7.15, please open a new bug report.

glusterfs-3.7.15 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] https://www.gluster.org/pipermail/gluster-devel/2016-September/050714.html
[2] https://www.gluster.org/pipermail/gluster-users/

Comment 5 Kaushal 2016-09-01 09:33:03 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.7.15, please open a new bug report.

glusterfs-3.7.15 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] https://www.gluster.org/pipermail/gluster-devel/2016-September/050714.html
[2] https://www.gluster.org/pipermail/gluster-users/