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

Bug 1235208

Summary: glusterd: glusterd crashes while importing a USS enabled volume which is already started
Product: [Community] GlusterFS Reporter: Atin Mukherjee <amukherj>
Component: glusterdAssignee: bugs <bugs>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.7.1CC: amukherj, ashah, bugs, gluster-bugs, nlevinki, sasundar, vbellur
Target Milestone: ---Keywords: Regression, TestBlocker, Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: glusterd
Fixed In Version: glusterfs-3.7.3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1234819 Environment:
Last Closed: 2015-07-30 09:49:43 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: 1234720, 1234819    
Bug Blocks: 1223636, 1233025    

Comment 1 Anand Avati 2015-06-24 10:11:17 UTC
REVIEW: http://review.gluster.org/11377 (glusterd: use mkdir_p for creating rundir) posted (#1) for review on release-3.7 by Atin Mukherjee (amukherj)

Comment 2 Anand Avati 2015-06-25 00:27:47 UTC
COMMIT: http://review.gluster.org/11377 committed in release-3.7 by Vijay Bellur (vbellur) 
------
commit b1ee65194c7e5c982235b8f3e00e0efb25cf353a
Author: Atin Mukherjee <amukherj>
Date:   Tue Jun 23 15:40:32 2015 +0530

    glusterd: use mkdir_p for creating rundir
    
    Backport of http://review.gluster.org/11364
    
    snapdsvc initialization is now dependent on all subsequent directories and
    volfile creations as per commit 2b9efc9.
    
    However this may not hold true correct for all the cases. While importing a
    volume we would need to start the service before the store creation.
    
    To avoid this dependency, use mkdir_p instead of mkdir to create rundir
    
    Change-Id: Ib251043398c40f1b76378e3bc6d0c36c1fe4cca3
    BUG: 1235208
    Signed-off-by: Atin Mukherjee <amukherj>
    Reviewed-on: http://review.gluster.org/11364
    Tested-by: NetBSD Build System <jenkins.org>
    Reviewed-by: Rajesh Joseph <rjoseph>
    Reviewed-by: Kaushal M <kaushal>
    Reviewed-by: Krishnan Parthasarathi <kparthas>
    Reviewed-on: http://review.gluster.org/11377
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Avra Sengupta <asengupt>
    Reviewed-by: Vijay Bellur <vbellur>

Comment 3 Kaushal 2015-07-30 09:49:43 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.3, please open a new bug report.

glusterfs-3.7.3 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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/12078
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user