Bug 1276023

Summary: Clone creation should not be successful when the node participating in volume goes down.
Product: [Community] GlusterFS Reporter: Avra Sengupta <asengupt>
Component: snapshotAssignee: Avra Sengupta <asengupt>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: mainlineCC: asengupt, bugs, sraj, storage-qa-internal
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.8rc2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1275633
: 1288030 (view as bug list) Environment:
Last Closed: 2016-06-16 13:41:47 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: 1275633    
Bug Blocks: 1288030    

Comment 1 Vijay Bellur 2015-11-02 12:35:43 UTC
REVIEW: http://review.gluster.org/12490 (snapshot: Fix quorum check for clone) posted (#1) for review on master by Avra Sengupta (asengupt)

Comment 2 Vijay Bellur 2015-11-20 11:06:39 UTC
REVIEW: http://review.gluster.org/12490 (snapshot: Fix quorum check for clone) posted (#2) for review on master by Avra Sengupta (asengupt)

Comment 3 Vijay Bellur 2015-11-23 09:01:38 UTC
REVIEW: http://review.gluster.org/12490 (snapshot: Fix quorum check for clone) posted (#3) for review on master by Avra Sengupta (asengupt)

Comment 4 Vijay Bellur 2015-12-02 15:36:10 UTC
COMMIT: http://review.gluster.org/12490 committed in master by Vijay Bellur (vbellur) 
------
commit cb7da0ffba147173bc9e6cd05f0a88a2c1ac9cdc
Author: Avra Sengupta <asengupt>
Date:   Mon Nov 2 17:49:44 2015 +0530

    snapshot: Fix quorum check for clone
    
    snapshot clone was not performing quorum check
    and was just relying on glusterd server quorum.
    
    Wrote glusterd_snap_quorum_check_for_clone(), to
    perform the same. Also moved common quorum check code
    from glusterd_snap_quorum_check_for_create(), to
    glusterd_snap_common_quorum_chk_clone_create() to be
    shared by both
    
    Change-Id: Ib78c709186841780876de8ef7d7c9243b7f67995
    BUG: 1276023
    Signed-off-by: Avra Sengupta <asengupt>
    Reviewed-on: http://review.gluster.org/12490
    Tested-by: NetBSD Build System <jenkins.org>
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Rajesh Joseph <rjoseph>

Comment 5 Niels de Vos 2016-06-16 13:41:47 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.8.0, please open a new bug report.

glusterfs-3.8.0 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://blog.gluster.org/2016/06/glusterfs-3-8-released/
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user