Bug 1285629

Summary: Snapshot creation after attach-tier causes glusterd crash
Product: [Community] GlusterFS Reporter: Mohammed Rafi KC <rkavunga>
Component: tieringAssignee: bugs <bugs>
Status: CLOSED CURRENTRELEASE QA Contact: bugs <bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.7.6CC: asengupt, bugs, rjoseph
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.7.7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1284789 Environment:
Last Closed: 2016-02-15 08:53:55 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: 1284789    
Bug Blocks: 1285166    

Description Mohammed Rafi KC 2015-11-26 05:50:30 UTC
+++ This bug was initially created as a clone of Bug #1284789 +++

Description of problem:
Snapshot creation fails after attach-tier and glusterd crashes

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Create a replica 2 volume
2. Attach a replica 2 tier
3. Take a snapshot

Actual results:
glusterd crashes


Expected results:
glusterd should not crash


Additional info:

--- Additional comment from Vijay Bellur on 2015-11-24 06:58:23 EST ---

REVIEW: http://review.gluster.org/12734 (glusterd: copy snapshot object during duplication of volfile) posted (#1) for review on master by mohammed rafi  kc (rkavunga)

--- Additional comment from Vijay Bellur on 2015-11-25 01:42:18 EST ---

REVIEW: http://review.gluster.org/12734 (glusterd: copy snapshot object during duplication of volfile) posted (#2) for review on master by mohammed rafi  kc (rkavunga)

Comment 1 Vijay Bellur 2015-11-26 05:50:57 UTC
REVIEW: http://review.gluster.org/12756 (glusterd: copy snapshot object during duplication of volfile) posted (#1) for review on release-3.7 by mohammed rafi  kc (rkavunga)

Comment 2 Vijay Bellur 2015-11-26 11:41:51 UTC
COMMIT: http://review.gluster.org/12756 committed in release-3.7 by Rajesh Joseph (rjoseph) 
------
commit 5a52abb4af0d2d36e1b24e80cbfd349a9442a329
Author: Mohammed Rafi KC <rkavunga>
Date:   Tue Nov 24 13:45:20 2015 +0530

    glusterd: copy snapshot object during duplication of volfile
    
    Back port of > http://review.gluster.org/#/c/12734/
    
    When creating duplicate volfile for hot/cold tier, we need to
    copy the snapshot object in to volfile as it requires to generate
    snapshot brick volfile.
    
    >Change-Id: I39ccfa20cd1c16ef2801901e3cd3a31c76f8995d
    >BUG: 1284789
    >Signed-off-by: Mohammed Rafi KC <rkavunga>
    
    Change-Id: Ia0892dfc3af24ee428e0aa0a3e23063a91049a57
    BUG: 1285629
    Signed-off-by: Mohammed Rafi KC <rkavunga>
    Reviewed-on: http://review.gluster.org/12756
    Tested-by: NetBSD Build System <jenkins.org>
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Avra Sengupta <asengupt>
    Reviewed-by: Rajesh Joseph <rjoseph>

Comment 3 Kaushal 2016-04-19 07:49:12 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.7, please open a new bug report.

glusterfs-3.7.7 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] https://www.gluster.org/pipermail/gluster-users/2016-February/025292.html
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user