Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1100324

Summary: [SNAPSHOT]: cleanup of stale snap volume doesnt happen after missed restore and gluster cli's hungs
Product: [Community] GlusterFS Reporter: Avra Sengupta <asengupt>
Component: glusterdAssignee: Avra Sengupta <asengupt>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: unspecified    
Version: pre-releaseCC: asengupt, bugs, gluster-bugs, 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: 1100282 Environment:
Last Closed: 2014-11-11 08:33:08 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: 1100282    
Bug Blocks:    

Comment 1 Anand Avati 2014-05-22 14:26:18 UTC
REVIEW: http://review.gluster.org/7848 (glusterd/snapshot: Invoke restore cleanup for missed restores) posted (#1) for review on master by Avra Sengupta (asengupt)

Comment 2 Anand Avati 2014-05-27 11:34:52 UTC
COMMIT: http://review.gluster.org/7848 committed in master by Krishnan Parthasarathi (kparthas) 
------
commit b512d6b4554515d034f1b3e7cd15a5971cad248e
Author: Avra Sengupta <asengupt>
Date:   Thu May 22 14:18:39 2014 +0000

    glusterd/snapshot: Invoke restore cleanup for missed restores
    
    While performing missed restores invoke restore cleanup,
    to cleanup the snap file (from which the vol was restored)
    and also the old volinfo and if the old volume is a
    restored volume, then its lvm too.
    
    Change-Id: Ifa5700c69f49fa0e22e0060a039c2e5c0b02b585
    BUG: 1100324
    Signed-off-by: Avra Sengupta <asengupt>
    Reviewed-on: http://review.gluster.org/7848
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Rajesh Joseph <rjoseph>
    Reviewed-by: Krishnan Parthasarathi <kparthas>
    Tested-by: Krishnan Parthasarathi <kparthas>

Comment 3 Niels de Vos 2014-09-22 12:40:56 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 4 Niels de Vos 2014-11-11 08:33:08 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