Bug 1109024

Summary: [SNAPSHOT]: Restore fails with prevalidation when the glusterd is restarted after the quorum didnt match
Product: [Community] GlusterFS Reporter: rjoseph
Component: coreAssignee: Ric Wheeler <rwheeler>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: pre-releaseCC: 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: 1108652 Environment:
Last Closed: 2014-11-11 08:35:02 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: 1108652    
Bug Blocks: 1100282    

Comment 1 Anand Avati 2014-06-13 05:27:17 UTC
REVIEW: http://review.gluster.org/8056 (glusterd/snapshot: Fix for snapshot restore failure) posted (#1) for review on master by Rajesh Joseph (rjoseph)

Comment 2 Anand Avati 2014-06-13 09:36:36 UTC
COMMIT: http://review.gluster.org/8056 committed in master by Krishnan Parthasarathi (kparthas) 
------
commit 60e8fdfeebb6005d3e3c310c720c2ff5e709f706
Author: Rajesh Joseph <rjoseph>
Date:   Fri Jun 13 10:49:47 2014 +0530

    glusterd/snapshot: Fix for snapshot restore failure
    
    Problem: If restore fails due to quorum failure then the subsequent restore fails.
    
    Cause: Volume store is backed up during prevalidate failure and it is
    reverted or cleaned based on failure or success of the commit phase.
    In case of quorum failure we were not reverting the backup.
    
    Fix: Take backup when all the validation is done including quorum check.
    
    Change-Id: I55d57f6ee85fac04a0e6cbd0291a402601c725d6
    BUG: 1109024
    Signed-off-by: Rajesh Joseph <rjoseph>
    Reviewed-on: http://review.gluster.org/8056
    Reviewed-by: Sachin Pandit <spandit>
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Krishnan Parthasarathi <kparthas>
    Tested-by: Krishnan Parthasarathi <kparthas>

Comment 3 Niels de Vos 2014-09-22 12:42:51 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:35:02 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