Bug 963534 - Fix misleading log messages of the form "Node <N> responded to <N>"
Summary: Fix misleading log messages of the form "Node <N> responded to <N>"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: glusterfs
Version: 2.1
Hardware: Unspecified
OS: Linux
high
high
Target Milestone: ---
: ---
Assignee: Krutika Dhananjay
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On:
Blocks: 963537
TreeView+ depends on / blocked
 
Reported: 2013-05-16 05:49 UTC by Krutika Dhananjay
Modified: 2013-09-23 22:35 UTC (History)
4 users (show)

Fixed In Version: glusterfs-3.4.0.10rhs
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 963537 (view as bug list)
Environment:
Last Closed: 2013-09-23 22:35:33 UTC
Embargoed:


Attachments (Terms of Use)

Description Krutika Dhananjay 2013-05-16 05:49:05 UTC
Description of problem:

glusterd logs (wrongly) indicate that a node responded to itself, although it actually responded to one of its peers, in the function glusterd_xfer_friend_add_resp().

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


How reproducible:


Steps to Reproduce:
1. Have a cluster of two nodes N1 and N2,
2. Restart glusterd on both of them after ensuring they are both connected to each other.
3. Check the glusterd logs. 
  
Actual results:
N1's glusterd logs say "Responded to N1" when it responded to N2, and vice versa, thereby rendering the logs extremely misleading while debugging issues of the kind https://bugzilla.redhat.com/show_bug.cgi?id=962266 and https://bugzilla.redhat.com/show_bug.cgi?id=961703.

Expected results:
In step 3, N1's glusterd logs must say "Responded to N2" when it responds to N2 and vice versa.

Additional info:

Comment 2 Nagaprasad Sathyanarayana 2013-05-17 04:21:29 UTC
Since wrong messages in logs can lead to delay in debugging any customer issues, I am marking this a high priority.

Comment 4 SATHEESARAN 2013-07-01 10:23:14 UTC
Tested with glusterfs-3.4.0.11rhs-1.

Comment 5 Scott Haines 2013-09-23 22:35:33 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. 

For information on the advisory, and where to find the updated files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-1262.html


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