Bug 1146426

Summary: glusterfs-server and the regression tests require the 'killall' command
Product: [Community] GlusterFS Reporter: Niels de Vos <ndevos>
Component: buildAssignee: Kaleb KEITHLEY <kkeithle>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, lmohanty
Target Milestone: ---Keywords: EasyFix
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.7.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1146624 (view as bug list) Environment:
Last Closed: 2015-05-14 17:27:50 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: 1146624    

Description Niels de Vos 2014-09-25 08:55:13 UTC
Description of problem:
'psmisc' is an optional package, although it is often installed. The regression tests (a sub-package when building from the glusterfs sources) fails to work correctly (many tests failing) when 'killall' is not available.

The NLM implementation also executes 'killall' to stop any 'rpc.statd' processes. Therefore glusterfs-server should depend on 'psmisc' too.

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

How reproducible:
100%

Steps to Reproduce:
1. yum remove psmisc

Actual results:
The 'killall' command will not be available anymore.

Expected results:
glusterfs-server should depend on 'killall' (or rather the 'psmisc' package).

Additional info:

Comment 1 Anand Avati 2014-09-25 13:14:33 UTC
REVIEW: http://review.gluster.org/8855 (glusterfs.spec.in: add psmisc to -server subpackage) posted (#1) for review on master by Kaleb KEITHLEY (kkeithle)

Comment 2 Anand Avati 2014-09-25 15:23:21 UTC
REVIEW: http://review.gluster.org/8855 (glusterfs.spec.in: add psmisc to -server subpackage) posted (#2) for review on master by Kaleb KEITHLEY (kkeithle)

Comment 3 Anand Avati 2014-09-25 16:10:32 UTC
REVIEW: http://review.gluster.org/8855 (glusterfs.spec.in: add psmisc to -server subpackage) posted (#3) for review on master by Kaleb KEITHLEY (kkeithle)

Comment 4 Anand Avati 2014-09-25 16:18:00 UTC
REVIEW: http://review.gluster.org/8855 (glusterfs.spec.in: add psmisc to -server subpackage) posted (#4) for review on master by Kaleb KEITHLEY (kkeithle)

Comment 5 Anand Avati 2014-09-26 07:30:46 UTC
REVIEW: http://review.gluster.org/8855 (glusterfs.spec.in: add psmisc to -server subpackage) posted (#5) for review on master by Niels de Vos (ndevos)

Comment 6 Anand Avati 2014-09-26 07:42:22 UTC
REVIEW: http://review.gluster.org/8866 (glusterfs.spec.in: add psmisc to -server subpackage) posted (#1) for review on master by Niels de Vos (ndevos)

Comment 7 Anand Avati 2014-09-26 08:49:34 UTC
REVIEW: http://review.gluster.org/8867 (glusterfs.spec.in: add psmisc to -server subpackage) posted (#1) for review on master by Niels de Vos (ndevos)

Comment 8 Anand Avati 2014-09-26 08:51:27 UTC
COMMIT: http://review.gluster.org/8867 committed in master by Vijay Bellur (vbellur) 
------
commit c3101c66ba09a8e80eefeb68cf5ca1ab78dd8cae
Author: Kaleb S. KEITHLEY <kkeithle>
Date:   Thu Sep 25 09:11:46 2014 -0400

    glusterfs.spec.in: add psmisc to -server subpackage
    
    apparently some minimalist installs omit psmisc
    psmisc is needed for the killall in various %pre and %post scriptlets
    
    smarter logic for restarting glusterd in %post server
    
    Change-Id: I505573b364cc27321bb4117a387bdf71fe3ce310
    BUG: 1146426
    Signed-off-by: Kaleb S. KEITHLEY <kkeithle>
    Reviewed-by: Humble Chirammal <hchiramm>
    Reviewed-by: Lalatendu Mohanty <lmohanty>
    Tested-by: Lalatendu Mohanty <lmohanty>
    Reviewed-by: Niels de Vos <ndevos>
    Reviewed-on: http://review.gluster.org/8867
    Reviewed-by: Vijay Bellur <vbellur>
    Tested-by: Vijay Bellur <vbellur>

Comment 9 Niels de Vos 2015-05-14 17:27:50 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.0, please open a new bug report.

glusterfs-3.7.0 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] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 10 Niels de Vos 2015-05-14 17:35:37 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.0, please open a new bug report.

glusterfs-3.7.0 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] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 11 Niels de Vos 2015-05-14 17:37: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.0, please open a new bug report.

glusterfs-3.7.0 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] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 12 Niels de Vos 2015-05-14 17:44:02 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.0, please open a new bug report.

glusterfs-3.7.0 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] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user