[Bugs] [Bug 1208255] 'volume heal $volname info' shows FQDNs instead of provided hostnames for nodes

bugzilla at redhat.com bugzilla at redhat.com
Thu Apr 2 12:11:21 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1208255

Jon Heese <jheese at inetu.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|needinfo?(jheese at inetu.net) |



--- Comment #2 from Jon Heese <jheese at inetu.net> ---
Ah, my apologies for omitting that.  Here is an unobfuscated paste of the
pertinent details:

NODE 1:
=======================================
[root at duke ~]# gluster peer status
Number of Peers: 1

Hostname: duchess-ib
Uuid: 1a240151-668a-47ca-9cb5-9955f9fde38a
State: Peer in Cluster (Connected)
[root at duke ~]# gluster volume info

Volume Name: gluster_disk
Type: Replicate
Volume ID: 04954a9d-b93a-4401-aeaf-0d55aec47316
Status: Started
Number of Bricks: 1 x 2 = 2
Transport-type: tcp
Bricks:
Brick1: duke-ib:/bricks/brick1
Brick2: duchess-ib:/bricks/brick1
[root at duke ~]# gluster volume heal gluster_disk info
Brick duke.jonheese.local:/bricks/brick1/
Number of entries: 0

Brick duchess.jonheese.local:/bricks/brick1/
Number of entries: 0

[root at duke ~]# cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

10.10.10.1  duke-ib
10.10.10.2  duchess-ib


NODE 2:
=======================================
[root at duchess ~]# gluster peer status
Number of Peers: 1

Hostname: duke-ib
Uuid: e679b3e5-8f0e-4bc3-b784-6914046d6a0b
State: Peer in Cluster (Connected)
[root at duchess ~]# gluster volume info

Volume Name: gluster_disk
Type: Replicate
Volume ID: 04954a9d-b93a-4401-aeaf-0d55aec47316
Status: Started
Number of Bricks: 1 x 2 = 2
Transport-type: tcp
Bricks:
Brick1: duke-ib:/bricks/brick1
Brick2: duchess-ib:/bricks/brick1
[root at duchess ~]# gluster volume heal gluster_disk info
Brick duke.jonheese.local:/bricks/brick1/
Number of entries: 0

Brick duchess.jonheese.local:/bricks/brick1/
Number of entries: 0

[root at duchess ~]# cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

10.10.10.1  duke-ib
10.10.10.2  duchess-ib


Thank you.

Regards,
Jon Heese

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list