Bug 890587

Summary: peers thought to be localhost when net.ipv4.ip_nonlocal_bind = 1
Product: [Community] GlusterFS Reporter: Samuel Winchenbach <swinchen>
Component: transportAssignee: Raghavendra G <rgowdapp>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 3.3.0CC: amarts, gluster-bugs, kparthas
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: Environment:
Last Closed: 2013-07-24 17:28:31 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:

Description Samuel Winchenbach 2012-12-28 01:01:11 UTC
Description of problem:
"gluster peer probe REMOTE-IP" believes that REMOTE-IP is localhost when net.ipv4.ip_nonlocal_bind = 1 when using GlusterFS 3.3.1 on CentOS 6.3 


Version-Release number of selected component (if applicable):
GlusterFS 3.3.1
CentOS 6.3

How reproducible:
For me, 100%

Steps to Reproduce:
1. Install CentOS 6.3 and GlusterFS according to QuickStart (http://www.gluster.org/community/documentation/index.php/QuickStart) on at least two hosts.
2. run "sysctl -w net.ipv4.ip_nonlocal_bind=1" on all hosts.
3. Attempt to probe a peer.
  
Actual results:
Remote peer thought to be localhost

Expected results:
Success

Additional info:

Comment 1 Vijay Bellur 2013-02-03 19:57:33 UTC
CHANGE: http://review.gluster.org/4437 (glusterd: identify local address by searching network interfaces.) merged in master by Anand Avati (avati)