Bug 763525 (GLUSTER-1793) - peer probe using hostname and ipaddress on same machine
Summary: peer probe using hostname and ipaddress on same machine
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-1793
Product: GlusterFS
Classification: Community
Component: cli
Version: 3.1-alpha
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Amar Tumballi
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-04 15:04 UTC by Lakshmipathi G
Modified: 2015-12-01 16:45 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: RTP
Mount Type: All
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Lakshmipathi G 2010-10-04 15:04:04 UTC
peer probe using hostname and ipaddress on same machine - first did probe with hostname then tried again with ipaddress.

#gluster peer probe 10.122.35.139
Probe failed

but status says 2 peers 
===========
# gluster peer status
Number of Peers: 2

Hostname: ip-10-122-35-139
Uuid: 10ab4c68-dd08-488e-874a-18f0ec8f4068
State: Peer in Cluster (Connected)

Hostname: 10.122.35.139
Uuid: 00000000-0000-0000-0000-000000000000
State: Establishing Connection (Connected)

Comment 1 Amar Tumballi 2010-10-04 16:33:27 UTC
Is it AWS instance? we have some known issue there with gethostbyname() API.. Hence its an expected behavior :-/

Lets try to fix this after 3.1 release

Comment 2 Vijay Bellur 2010-10-04 16:35:19 UTC
(In reply to comment #1)

Can the output of uname -a be listed here? gethostbyname() recognizes only the hostname as provided by uname.

Comment 3 Lakshmipathi G 2010-10-05 02:50:15 UTC
yes,its aws instance. here is the o/p of uname cmd-

[root@ip-10-122-35-139 ~]# uname -a
Linux ip-10-122-35-139 2.6.21.7-2.fc8xen #1 SMP Fri Feb 15 12:39:36 EST 2008 i686 i686 i386 GNU/Linux

Comment 4 Vijay Bellur 2010-10-28 08:34:56 UTC
1855 should fix this.


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