Bug 849770 - Probing the first host won't update the hostname on the second host
Summary: Probing the first host won't update the hostname on the second host
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: GlusterFS
Classification: Community
Component: cli
Version: 3.3.0
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
Assignee: Kaushal
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-20 19:36 UTC by Daniel Banck
Modified: 2014-12-14 19:40 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-12-14 19:40:29 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Daniel Banck 2012-08-20 19:36:17 UTC
Description of problem:
I've got two servers running Ubuntu 12.04 with glusterFS 3.3.0 (from this deb: http://download.gluster.org/pub/gluster/glusterfs/LATEST/Ubuntu/12.04/glusterfs_3.3.0-1_amd64.deb)
Probing the second server on the first one will add a peer on both servers (as expected)

Output after this:
root@hv04 ~ # gluster peer status
Number of Peers: 1

Hostname: hv03-gluster
Uuid: 53073441-49b1-49d5-9805-a0280a9fe667
State: Peer in Cluster (Connected)
---
root@hv03 ~ # gluster peer status
Number of Peers: 1

Hostname: 2a01:4f8:163:7401::2
Uuid: 006c961b-edf4-4e47-a0ff-de40c08992ab
State: Peer in Cluster (Connected)


Probing the first server from the second should update the hostname. But it doesn't change anything.

  
Actual results:
root@hv04 ~ # gluster peer status
Number of Peers: 1

Hostname: hv03-gluster
Uuid: 53073441-49b1-49d5-9805-a0280a9fe667
State: Peer in Cluster (Connected)
---
root@hv03 ~ # gluster peer status
Number of Peers: 1

Hostname: 2a01:4f8:163:7401::2
Uuid: 006c961b-edf4-4e47-a0ff-de40c08992ab
State: Peer in Cluster (Connected)


Expected results:
root@hv04 ~ # gluster peer status
Number of Peers: 1

Hostname: hv03-gluster
Uuid: 53073441-49b1-49d5-9805-a0280a9fe667
State: Peer in Cluster (Connected)
---
root@hv03 ~ # gluster peer status
Number of Peers: 1

Hostname: hv04-gluster
Uuid: 006c961b-edf4-4e47-a0ff-de40c08992ab
State: Peer in Cluster (Connected)

Comment 1 Joe Julian 2012-08-20 19:55:06 UTC
As a workaround, I had him stop both glusterd and update the peer file. This worked as expected.

The problem, of course, is that in an ipv6-only system the address is being interpreted as a hostname. Since there were no volumes using this address/hostname, a peer probe should have changed the hostname. This should be true regarless of whether it's a hostname or an IP address. If the hostname isn't used in a volume, you should be able to change the hostname by probing that host with a different name.

Comment 2 Niels de Vos 2014-11-27 14:53:48 UTC
The version that this bug has been reported against, does not get any updates from the Gluster Community anymore. Please verify if this report is still valid against a current (3.4, 3.5 or 3.6) release and update the version, or close this bug.

If there has been no update before 9 December 2014, this bug will get automatocally closed.


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