Bug 763140 (GLUSTER-1408)

Summary: glusterd continues despite directory creation fails.
Product: [Community] GlusterFS Reporter: Sachidananda Urs <sac>
Component: glusterdAssignee: Sachidananda Urs <sac>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 3.1-alphaCC: gluster-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Sachidananda Urs 2010-08-19 23:44:16 EDT
[2010-08-20 06:38:29.415524] C [glusterd.c:215:init] management: Unable to create directory /etc/glusterd ,errno = 2
[2010-08-20 06:38:29.415561] I [glusterd.c:220:init] management: Using /etc/glusterd as working directory
[2010-08-20 06:38:29.415579] C [glusterd.c:229:init] management: Unable to create volume directory /etc/glusterd/vols ,errno = 2
[2010-08-20 06:38:29.415594] C [glusterd.c:239:init] management: Unable to create peers directory /etc/glusterd/peers ,errno = 2
Comment 1 Sachidananda Urs 2010-08-20 02:42:26 EDT
When glusterd fails to create management directories it fails with return value 0.
Comment 2 Anand Avati 2010-08-21 05:17:05 EDT
PATCH: http://patches.gluster.com/patch/4220 in master (xlators/mgmt: exit if directory creation fails.)