Bug 1329989

Summary: snapshot-clone: clone volume doesn't start after node reboot
Product: [Community] GlusterFS Reporter: rjoseph
Component: snapshotAssignee: rjoseph
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 3.7.11CC: asengupt, ashah, bugs, rjoseph, storage-qa-internal
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.7.12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1328010 Environment:
Last Closed: 2016-06-28 11:51:36 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: 1327165, 1328010    
Bug Blocks:    

Comment 1 Vijay Bellur 2016-04-25 09:33:22 UTC
REVIEW: http://review.gluster.org/14059 (clone/snapshot: Save restored_from_snap for clones) posted (#1) for review on release-3.7 by Rajesh Joseph (rjoseph)

Comment 2 Vijay Bellur 2016-04-26 16:00:37 UTC
COMMIT: http://review.gluster.org/14059 committed in release-3.7 by Rajesh Joseph (rjoseph) 
------
commit 82b69e2554c5293bc3b15e737e246c4c517b2421
Author: Avra Sengupta <asengupt>
Date:   Mon Apr 18 14:44:18 2016 +0530

    clone/snapshot: Save restored_from_snap for clones
    
    Bricks of cloned volumes are lvm bricks mounted in
    /run/gluster, which on reboot of the node gets
    cleared. Hence, these brick paths need to be recreated
    on glusterd restart and the appropriate lvms are
    mounted.
    
    Backport of:
    > Change-Id: I6da086288c0dbdcedf3a20fd53f25e3728bea473
    > BUG: 1328010
    > Signed-off-by: Avra Sengupta <asengupt>
    > Reviewed-on: http://review.gluster.org/14021
    > Smoke: Gluster Build System <jenkins.com>
    > CentOS-regression: Gluster Build System <jenkins.com>
    > NetBSD-regression: NetBSD Build System <jenkins.org>
    > Reviewed-by: Rajesh Joseph <rjoseph>
    
    Change-Id: I02d10e6bca99f6d78b50cb91c677e33a8dcefa17
    BUG: 1329989
    Signed-off-by: Rajesh Joseph <rjoseph>
    Reviewed-on: http://review.gluster.org/14059
    Reviewed-by: mohammed rafi  kc <rkavunga>
    CentOS-regression: Gluster Build System <jenkins.com>
    Smoke: Gluster Build System <jenkins.com>
    Reviewed-by: Avra Sengupta <asengupt>
    NetBSD-regression: NetBSD Build System <jenkins.org>

Comment 3 Kaushal 2016-06-28 12:14:39 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.12, please open a new bug report.

glusterfs-3.7.12 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-devel/2016-June/049918.html
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user