Bug 810146

Summary: [glusterfs-3.3.0qa33]: client protocol prints the null pathname if the errno is EEXIST
Product: [Community] GlusterFS Reporter: Raghavendra Bhat <rabhat>
Component: protocolAssignee: Amar Tumballi <amarts>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: gluster-bugs, vraman
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.4.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-24 17:27:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: glusterfs-3.3.0qa40 Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 817967    

Description Raghavendra Bhat 2012-04-05 09:33:19 UTC
Description of problem:

For link operation if the errno is EEXISTS, then the path is being printed as null. client protocol should print the actual path.

[2012-04-04 23:36:43.981060] W [client3_1-fops.c:2438:client3_1_link_cbk] 0-mirror-client-2: remote operation failed: File exists. Pat
h: (null)
[2012-04-04 23:36:43.981146] W [client3_1-fops.c:2438:client3_1_link_cbk] 0-mirror-client-2: remote operation failed: File exists. Pat
h: (null)
[2012-04-04 23:36:43.981204] W [client3_1-fops.c:2438:client3_1_link_cbk] 0-mirror-client-2: remote operation failed: File exists. Pat
h: (null)
[2012-04-04 23:36:43.981250] W [client3_1-fops.c:2438:client3_1_link_cbk] 0-mirror-client-2: remote operation failed: File exists. Pat
h: (null)
[2012-04-04 23:36:43.981296] W [client3_1-fops.c:2438:client3_1_link_cbk] 0-mirror-client-2: remote operation failed: File exists. Pat
h: (null)
[2012-04-04 23:36:43.981339] W [client3_1-fops.c:2438:client3_1_link_cbk] 0-mirror-client-2: remote operation failed: File exists. Pat
h: (null)
[2012-04-04 23:36:43.981400] W [client3_1-fops.c:2438:client3_1_link_cbk] 0-mirror-client-2: remote operation failed: File exists. Pat
h: (null)
[2012-04-04 23:36:43.981451] W [client3_1-fops.c:2438:client3_1_link_cbk] 0-mirror-client-2: remote operation failed: File exists. Path: (null)
[2012-04-04 23:36:43.981494] W [client3_1-fops.c:2438:client3_1_link_cbk] 0-mirror-client-2: remote operation failed: File exists. Path: (null)
[2012-04-04 23:36:43.981543] W [client3_1-fops.c:2438:client3_1_link_cbk] 0-mirror-client-2: remote operation failed: File exists. Path: (null)
[2012-04-04 23:36:43.981586] W [client3_1-fops.c:2438:client3_1_link_cbk] 0-mirror-client-2: remote operation failed: File exists. Path: (null)
[2012-04-04 23:36:43.981636] W [client3_1-fops.c:2438:client3_1_link_cbk] 0-mirror-client-2: remote operation failed: File exists. Path: (null)
[2012-04-04 23:36:43.981678] W [client3_1-fops.c:2438:client3_1_link_cbk] 0-mirror-client-2: remote operation failed: File exists. Path: (null)
[2012-04-04 23:36:43.981719] W [client3_1-fops.c:2438:client3_1_link_cbk] 0-mirror-client-2: remote operation failed: File exists. Path: (null)
[2012-04-04 23:36:43.981774] W [client3_1-fops.c:2438:client3_1_link_cbk] 0-mirror-client-2: remote operation failed: File exists. Path: (null)
[2012-04-04 23:36:43.981825] W [client3_1-fops.c:2438:client3_1_link_cbk] 0-mirror-client-2: remote operation failed: File exists. Path: (null)
[2012-04-04 23:36:43.981870] W [client3_1-fops.c:2438:client3_1_link_cbk] 0-mirror-client-2: remote operation failed: File exists. Path: (null)
[2012-04-04 23:36:43.981919] W [client3_1-fops.c:2438:client3_1_link_cbk] 0-mirror-client-2: remote operation failed: File exists. Path: (null)
[2012-04-04 23:36:43.981962] W [client3_1-fops.c:2438:client3_1_link_cbk] 0-mirror-client-2: remote operation failed: File exists. Pat:

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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Anand Avati 2012-04-11 17:10:06 UTC
CHANGE: http://review.gluster.com/3122 (protocol/client: in link_cbk() try to print valid information in case of error) merged in master by Anand Avati (avati)

Comment 2 Raghavendra Bhat 2012-05-09 09:16:45 UTC
Checked with glusterfs-3.3.0qa40. Its working now and path is printed.