Bug 1101463

Summary: [SNAPSHOT]: Stale entries of snapshots needs to be cleaned from /var/run/gluster/snaps/
Product: [Community] GlusterFS Reporter: Avra Sengupta <asengupt>
Component: glusterdAssignee: Avra Sengupta <asengupt>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: pre-releaseCC: asengupt, bugs, gluster-bugs, josferna, rhinduja, ssamanta
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: SNAPSHOT
Fixed In Version: glusterfs-3.6.0beta1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1086145 Environment:
Last Closed: 2014-11-11 08:33:19 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: 1086145    
Bug Blocks: 1104714, 1175754    

Comment 1 Anand Avati 2014-05-27 10:41:47 UTC
REVIEW: http://review.gluster.org/7889 (glusterd/snapshot: Remove mnt pt, while removing lvm) posted (#1) for review on master by Avra Sengupta (asengupt)

Comment 2 Anand Avati 2014-05-28 21:51:59 UTC
REVIEW: http://review.gluster.org/7913 (DUMMY PATCH FOR FETCHING LOGS) posted (#2) for review on master by Avra Sengupta (asengupt)

Comment 3 Anand Avati 2014-05-30 03:26:10 UTC
REVIEW: http://review.gluster.org/7889 (glusterd/snapshot: Remove mnt pt, while removing lvm) posted (#2) for review on master by Avra Sengupta (asengupt)

Comment 4 Anand Avati 2014-06-05 08:32:32 UTC
REVIEW: http://review.gluster.org/7889 (glusterd/snapshot: Remove mnt pt, while removing lvm) posted (#3) for review on master by Avra Sengupta (asengupt)

Comment 5 Anand Avati 2014-06-10 06:26:41 UTC
REVIEW: http://review.gluster.org/7889 (glusterd/snapshot: Remove mnt pt, while removing lvm) posted (#4) for review on master by Avra Sengupta (asengupt)

Comment 6 Anand Avati 2014-06-11 06:43:00 UTC
COMMIT: http://review.gluster.org/7889 committed in master by Krishnan Parthasarathi (kparthas) 
------
commit 020c9842770ede1d715780699671e7e2ac9587ae
Author: Avra Sengupta <asengupt>
Date:   Tue May 27 08:34:06 2014 +0000

    glusterd/snapshot: Remove mnt pt, while removing lvm
    
    During a delete/restore snapshot remove the mnt point dir
    created at /var/run/gluster/snaps along with the lvm
    mounted on it.
    
    Also removed glusterd_recreate_vol_brick_mounts and
    renamed glusterd_store_recreate_brick_mounts as
    glusterd_recreate_vol_brick_mounts, inorder to reduce
    redundant multiple calls
    
    Change-Id: Ie87907ebbf8ef790fba07ef8581d2eb8d55658d0
    BUG: 1101463
    Signed-off-by: Avra Sengupta <asengupt>
    Reviewed-on: http://review.gluster.org/7889
    Reviewed-by: Rajesh Joseph <rjoseph>
    Reviewed-by: Vijaikumar Mallikarjuna <vmallika>
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Krishnan Parthasarathi <kparthas>
    Tested-by: Krishnan Parthasarathi <kparthas>

Comment 7 Niels de Vos 2014-09-22 12:41:08 UTC
A beta release for GlusterFS 3.6.0 has been released. Please verify if the release solves this bug report for you. In case the glusterfs-3.6.0beta1 release does not have a resolution for this issue, leave a comment in this bug and move the status to ASSIGNED. If this release fixes the problem for you, leave a note and change the status to VERIFIED.

Packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update (possibly an "updates-testing" repository) infrastructure for your distribution.

[1] http://supercolony.gluster.org/pipermail/gluster-users/2014-September/018836.html
[2] http://supercolony.gluster.org/pipermail/gluster-users/

Comment 8 Niels de Vos 2014-11-11 08:33:19 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.6.1, please reopen this bug report.

glusterfs-3.6.1 has been announced [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://supercolony.gluster.org/pipermail/gluster-users/2014-November/019410.html
[2] http://supercolony.gluster.org/mailman/listinfo/gluster-users