Bug 917561

Summary: Statedump taken at client-side doesn't create a directory, "/var/run/gluster", if not present already
Product: [Community] GlusterFS Reporter: Niels de Vos <ndevos>
Component: buildAssignee: Niels de Vos <ndevos>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: mainlineCC: gluster-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.4.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 917554 Environment:
Last Closed: 2013-07-24 17:38:10 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:    
Bug Blocks: 917544    

Description Niels de Vos 2013-03-04 11:00:45 UTC
+++ This bug was initially created as a clone of Bug #917554 +++

Description of problem:

statedump taken at client side [mount-point], does not create a statedump file, 
as the directory, "/var/run/gluster", was not present already

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

How reproducible:
Consistent

Steps to Reproduce:
1. Fuse mount the gluster volume on the client side
2. Remove the directory, "/var/run/gluster", if present already
3. Execute, "kill -USR1 <fuse-mount-process-id>"
  
Actual results:

No statedump file was created

Expected results:

Statedump file should be created, under "/var/run/gluster". If no such directory
is present, directory should be created and statedump file should be created in that


Additional info:

--- Additional comment from Niels de Vos on 2013-03-04 11:54:13 CET ---

Posted for review: http://review.gluster.org/4615

Comment 1 Niels de Vos 2013-03-04 11:05:29 UTC
This is the mainline version of the issue. Patch posted:
- http://review.gluster.org/4616

Comment 2 Vijay Bellur 2013-03-05 11:37:14 UTC
CHANGE: http://review.gluster.org/4616 (rpm: package /var/run/gluster so that statedumps can be created) merged in master by Vijay Bellur (vbellur)