Bug 765205 (GLUSTER-3473)

Summary: Log enhancements
Product: [Community] GlusterFS Reporter: Sachidananda Urs <sac>
Component: coreAssignee: Rajesh <rajesh>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: mainlineCC: amarts, gluster-bugs, vagarwal
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
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: --- Target Upstream Version:

Description Amar Tumballi 2011-08-24 03:22:31 UTC
Rajesh,

Please make sure you log the 'path' in all the possible cases in client protocol, so that the debugging becomes easier.

Comment 1 Sachidananda Urs 2011-08-24 06:20:56 UTC
[2011-08-23 17:00:07.949421] I [client3_1-fops.c:2228:client3_1_lookup_cbk] 0-pagecache-client-0: remote operation failed: Stale NFS file handle
[2011-08-23 17:00:07.949721] I [client3_1-fops.c:2228:client3_1_lookup_cbk] 0-pagecache-client-1: remote operation failed: Stale NFS file handle
[2011-08-23 17:01:41.192929] I [client3_1-fops.c:2228:client3_1_lookup_cbk] 0-pagecache-client-0: remote operation failed: Stale NFS file handle
[2011-08-23 17:01:41.193045] I [client3_1-fops.c:2228:client3_1_lookup_cbk] 0-pagecache-client-1: remote operation failed: Stale NFS file handle

While logging errors like above, better to include file names. This will help in figuring out the problem.

Comment 2 Anand Avati 2011-09-19 02:28:11 UTC
CHANGE: http://review.gluster.com/328 (* print paths wherever it is possible to log, to help debugging.) merged in master by Vijay Bellur (vijay)

Comment 3 Anand Avati 2011-09-19 05:53:30 UTC
CHANGE: http://review.gluster.com/452 (minor changes to the log enhancements of bug 765205.) merged in master by Vijay Bellur (vijay)