Bug 763140 (GLUSTER-1408) - glusterd continues despite directory creation fails.
Summary: glusterd continues despite directory creation fails.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-1408
Product: GlusterFS
Classification: Community
Component: glusterd
Version: 3.1-alpha
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Sachidananda Urs
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-20 06:42 UTC by Sachidananda Urs
Modified: 2010-08-21 12:35 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Sachidananda Urs 2010-08-20 03:44:16 UTC
[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 06:42:26 UTC
When glusterd fails to create management directories it fails with return value 0.

Comment 2 Anand Avati 2010-08-21 09:17:05 UTC
PATCH: http://patches.gluster.com/patch/4220 in master (xlators/mgmt: exit if directory creation fails.)


Note You need to log in before you can comment on or make changes to this bug.