This service will be undergoing maintenance at 00:00 UTC, 2016-08-01. It is expected to last about 1 hours

Bug 810829

Summary: glusterd crashes on restart
Product: [Community] GlusterFS Reporter: Shwetha Panduranga <shwetha.h.panduranga>
Component: glusterdAssignee: krishnan parthasarathi <kparthas>
Severity: high Docs Contact:
Priority: unspecified    
Version: mainlineCC: gluster-bugs, nsathyan
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: glusterfs-3.4.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-24 13:45:08 EDT Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Bug Depends On:    
Bug Blocks: 817967    
Description Flags
Backtrace of core
glusterd log file none

Description Shwetha Panduranga 2012-04-09 06:33:03 EDT
Created attachment 576163 [details]
Backtrace of core

Description of problem:
glusterd crashed when restarted. 

[04/09/12 - 20:50:05 root@APP-SERVER1 glusterfs]# gluster volume info
Volume Name: dstore
Type: Replicate
Volume ID: c0925823-327d-4222-9f8a-a2bbc3b6de96
Status: Started
Number of Bricks: 1 x 2 = 2
Transport-type: tcp
Volume Name: dstore1
Type: Distribute
Volume ID: 825363db-4bb9-4dce-9c2f-9222b0e4e27f
Status: Started
Number of Bricks: 1
Transport-type: tcp

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

How reproducible:

Steps to Reproduce:
1.create a distribute-replicate volume. brick1, brick3 from machine1 and brick2, brick4 from machine2. machine1 and machine2 are from the trusted storage pool. start the volume1.
2.create a distribute volume. brick1 from machine1 and brick2 from machine2.start the volume2
3.restart machine 2. 
4.start glusterd. 
Actual results:
glusterd crashed

Additional Info:- volume status when restarted the glusterd. 

[04/09/12 - 20:35:03 root@APP-SERVER3 ~]# gluster volume status

Status of volume: dstore
Gluster process						Port	Online	Pid
Brick			24014	N	N/A
Brick			24011	Y	10795
NFS Server on localhost					38467	Y	10926
Self-heal Daemon on localhost				N/A	Y	10932
NFS Server on				38467	Y	2005
Self-heal Daemon on			N/A	Y	2014
NFS Server on				38467	Y	2923
Self-heal Daemon on			N/A	Y	2929
NFS Server on				38467	Y	14439
Self-heal Daemon on			N/A	Y	14445

Status of volume: dstore1
Gluster process						Port	Online	Pid
Brick			24015	N	N/A
NFS Server on localhost					38467	Y	10926
NFS Server on				38467	Y	2923
NFS Server on				38467	Y	2005
NFS Server on				38467	Y	14439
Comment 1 Shwetha Panduranga 2012-04-09 06:34:02 EDT
Created attachment 576165 [details]
glusterd log file
Comment 2 Anand Avati 2012-04-13 01:19:28 EDT
CHANGE: (glusterd: Removed 'unprotected' concurrent access of priv->volumes on glusterd restart) merged in master by Vijay Bellur (
Comment 3 krishnan parthasarathi 2012-04-13 04:21:08 EDT
*** Bug 810883 has been marked as a duplicate of this bug. ***
Comment 4 Shwetha Panduranga 2012-04-25 05:49:12 EDT
Verified the bug on 3.3.0qa38. bug is fixed.