[Bugs] [Bug 1360985] New: [SNAPSHOT]: The PID for snapd is displayed even after snapd process is killed.

bugzilla at redhat.com bugzilla at redhat.com
Thu Jul 28 06:11:37 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1360985

            Bug ID: 1360985
           Summary: [SNAPSHOT]: The PID for snapd is displayed even after
                    snapd process is killed.
           Product: GlusterFS
           Version: 3.8.1
         Component: snapshot
          Assignee: bugs at gluster.org
          Reporter: asengupt at redhat.com
                CC: bugs at gluster.org
        Depends On: 1358244
            Blocks: 1360979



+++ This bug was initially created as a clone of Bug #1358244 +++

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:

--- Additional comment from Vijay Bellur on 2016-07-22 02:14:41 EDT ---

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 at redhat.com)

--- Additional comment from Vijay Bellur on 2016-07-22 22:45:46 EDT ---

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 at redhat.com)

--- Additional comment from Vijay Bellur on 2016-07-26 03:55:22 EDT ---

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 at redhat.com)

--- Additional comment from Vijay Bellur on 2016-07-27 18:07:26 EDT ---

COMMIT: http://review.gluster.org/14981 committed in master by Jeff Darcy
(jdarcy at redhat.com) 
------
commit ec6925a379c7bee071df1638bc2751b266cee346
Author: Avra Sengupta <asengupt at redhat.com>
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 at redhat.com>
    Reviewed-on: http://review.gluster.org/14981
    Tested-by: Vijay Bellur <vbellur at redhat.com>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Jeff Darcy <jdarcy at redhat.com>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1358244
[Bug 1358244] [SNAPSHOT]: The PID for snapd is displayed even after snapd
process is killed.
https://bugzilla.redhat.com/show_bug.cgi?id=1360979
[Bug 1360979] [SNAPSHOT]: The PID for snapd is displayed even after snapd
process is killed.
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list