Bug 1209122 - [AWS] Output of `gluster volume heal info' command shows internal hostname of instances instead of Public DNS names
Summary: [AWS] Output of `gluster volume heal info' command shows internal hostname of...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: replicate
Version: rhgs-3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Pranith Kumar K
QA Contact: Bala Konda Reddy M
URL:
Whiteboard:
Depends On:
Blocks: 1223636
TreeView+ depends on / blocked
 
Reported: 2015-04-06 10:41 UTC by Shruti Sampat
Modified: 2018-11-19 08:56 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-11-19 08:56:17 UTC
Embargoed:


Attachments (Terms of Use)

Description Shruti Sampat 2015-04-06 10:41:30 UTC
Description of problem:
------------------------

The output of `gluster volume heal info' command lists bricks along with their internal hostames (i.e. returned by `hostname' command on the instance). This is inconsistent with the output of other gluster commands like `gluster volume info', `gluster volume status' etc. which display Public DNS names of the instances.

Another thing to note is that the output of `gluster volume heal info' command shows Public DNS names of the instances for those bricks which were brought down. 

For e.g. on a 6x3 volume, out of 18 bricks, 3 were brought down. For these bricks that were not running, the command output displayed Public DNS names instead of the internal names.

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

glusterfs-3.6.0.53-1.el6rhs.x86_64

How reproducible:
-----------------

Observed once

Steps to Reproduce:
--------------------

1. Create a 6x3 volume in an AWS gluster cluster and mount it on a client.
2. Kill a few bricks and create some files and directories on the mount point.
3. Run `gluster volume heal info' command on one of the storage nodes.

Actual results:
-----------------
For all bricks that are connected, the command output displays internal names for the instances, while the disconnected bricks are shown with Public DNS names of the instances.

Expected results:
------------------

Show Public DNS names for all bricks.

Additional info:

Comment 2 SATHEESARAN 2015-04-07 02:39:50 UTC
I am eager to know the output of 'gluster peer status' command too in this case.
Could you provide the samples ?

Comment 3 SATHEESARAN 2015-04-07 03:00:41 UTC
Here is the relevant upstream bug - https://bugzilla.redhat.com/show_bug.cgi?id=1208255

Comment 4 Shruti Sampat 2015-04-07 04:59:04 UTC
(In reply to SATHEESARAN from comment #2)
> I am eager to know the output of 'gluster peer status' command too in this
> case.
> Could you provide the samples ?

The output of `gluster peer status' command in this case displays the public DNS name of the instances.

Comment 7 Atin Mukherjee 2016-08-16 13:47:57 UTC
Moving the bug to QE for verification as the fix is available in 3.1.2 as per comment 6


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