Bug 1358244 - [SNAPSHOT]: The PID for snapd is displayed even after snapd process is killed.
Summary: [SNAPSHOT]: The PID for snapd is displayed even after snapd process is killed.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: snapshot
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Avra Sengupta
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1360979 1360985
TreeView+ depends on / blocked
 
Reported: 2016-07-20 10:34 UTC by Avra Sengupta
Modified: 2017-03-27 18:16 UTC (History)
1 user (show)

Fixed In Version: glusterfs-3.9.0
Clone Of:
: 1360979 1360985 (view as bug list)
Environment:
Last Closed: 2017-03-27 18:16:04 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Avra Sengupta 2016-07-20 10:34:45 UTC
Description of problem:
Even after snapd process is killed, it's older pid continues to be displayed. 


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-07-22 06:14:41 UTC
REVIEW: http://review.gluster.org/14981 (snapshot/snapd: Don't dispay pid when snapd is offline) posted (#1) for review on master by Avra Sengupta (asengupt)

Comment 2 Vijay Bellur 2016-07-23 02:45:46 UTC
REVIEW: http://review.gluster.org/14981 (snapshot/snapd: Don't display pid when snapd is offline) posted (#2) for review on master by Avra Sengupta (asengupt)

Comment 3 Vijay Bellur 2016-07-26 07:55:22 UTC
REVIEW: http://review.gluster.org/14981 (snapshot/snapd: Don't display pid when snapd is offline) posted (#3) for review on master by Avra Sengupta (asengupt)

Comment 4 Vijay Bellur 2016-07-27 22:07:26 UTC
COMMIT: http://review.gluster.org/14981 committed in master by Jeff Darcy (jdarcy) 
------
commit ec6925a379c7bee071df1638bc2751b266cee346
Author: Avra Sengupta <asengupt>
Date:   Fri Jul 22 11:40:32 2016 +0530

    snapshot/snapd: Don't display pid when snapd is offline
    
    We were previously reading the pidfile, and displaying
    the pid even if snapd daemon is not running. Now to fix
    it, we re-assign pid value to -1, if snapd is offline.
    
    Change-Id: I4baff8d489fe9380061c52aea006db90fa421cd7
    BUG: 1358244
    Signed-off-by: Avra Sengupta <asengupt>
    Reviewed-on: http://review.gluster.org/14981
    Tested-by: Vijay Bellur <vbellur>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    Smoke: Gluster Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.org>
    Reviewed-by: Jeff Darcy <jdarcy>

Comment 5 Shyamsundar 2017-03-27 18:16:04 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.9.0, please open a new bug report.

glusterfs-3.9.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://lists.gluster.org/pipermail/gluster-users/2016-November/029281.html
[2] https://www.gluster.org/pipermail/gluster-users/


Note You need to log in before you can comment on or make changes to this bug.