Bug 1232887

Summary: [SNAPSHOT] : Snapshot delete fails with error - Snap might not be in an usable state
Product: [Community] GlusterFS Reporter: Avra Sengupta <asengupt>
Component: snapshotAssignee: Avra Sengupta <asengupt>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 3.7.1CC: asengupt, bugs, gluster-bugs, rjoseph, senaik, storage-qa-internal
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.7.3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1232430 Environment:
Last Closed: 2015-07-30 09:51:32 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: 1232428, 1232430    
Bug Blocks:    

Comment 1 Anand Avati 2015-06-17 18:10:03 UTC
REVIEW: http://review.gluster.org/11294 (snapshot: Fix terminating slash in brick mount path) posted (#1) for review on release-3.7 by Avra Sengupta (asengupt)

Comment 2 Anand Avati 2015-06-25 16:26:41 UTC
COMMIT: http://review.gluster.org/11294 committed in release-3.7 by Rajesh Joseph (rjoseph) 
------
commit 9230ae2bd02672a91e61b3ea98a2c2a662f21862
Author: Avra Sengupta <asengupt>
Date:   Tue Jun 16 23:53:32 2015 +0530

    snapshot: Fix terminating slash in brick mount path
    
        Backport of http://review.gluster.org/#/c/11262/
    
    glusterd_find_brick_mount_path(), returns mount path,
    with a terminating '/' at the ned of the string in
    cases where the brick dir is a dir in the lvm root dir.
    
    Ignoring the terminating '/' fixes the issue.
    
    Change-Id: Ie7e63d37d48e2e03d541ae0076b8f143b8c9112f
    BUG: 1232887
    Signed-off-by: Avra Sengupta <asengupt>
    Reviewed-on: http://review.gluster.org/11294
    Reviewed-by: Atin Mukherjee <amukherj>
    Tested-by: NetBSD Build System <jenkins.org>
    Reviewed-by: Rajesh Joseph <rjoseph>

Comment 3 Kaushal 2015-07-30 09:51:32 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.3, please open a new bug report.

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