[Bugs] [Bug 1176354] New: "gluster pool list" does not show the real hostname of the host executing the command

bugzilla at redhat.com bugzilla at redhat.com
Sat Dec 20 21:37:36 UTC 2014


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

            Bug ID: 1176354
           Summary: "gluster pool list" does not show the real hostname of
                    the host executing the command
           Product: GlusterFS
           Version: mainline
         Component: glusterd
          Keywords: Triaged
          Assignee: bugs at gluster.org
          Reporter: ndevos at redhat.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com,
                    nlevinki at redhat.com, prasanna_psp at yahoo.com,
                    vbellur at redhat.com
            Blocks: 1065618



+++ This bug was initially created as a clone of Bug #1065618 +++

Description of problem:gluster 3.5 hostname shows localhostname as localhost in
gluster pool list command 


Version-Release number of selected component (if applicable):
Current mainline (glusterfs-3.7dev-0.450.git531e0a7.el6)

How reproducible:
100%

Steps to Reproduce:
1. execute: gluster pool list

Actual results:
The current host is displayed as 'localhost' instead of the real hostname.

Expected results:
Instread of 'localhost', the hostname returned by the 'hostname' command should
be listed. See 'man 2 uname' or 'man 2 gethostname' for ideas on the
implementation.

Additional info:

The output looks like this:

[root at vm100-009 ~]# gluster pool list
UUID                    Hostname     State
98c55356-6f17-4523-92b2-33217ad6a913    localhost    Connected 
[root at vm100-009 ~]# hostname
vm100-009.example.com

It indeed would be nice to have the real hostname of the system instead of
'localhost' in the output.


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1065618
[Bug 1065618] gluster 3.5 hostname shows localhostname as localhost in
gluster pool list command
-- 
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