[Bugs] [Bug 1169784] New: `gluster peer probe hostname` fails when hostname contains '_'

bugzilla at redhat.com bugzilla at redhat.com
Tue Dec 2 12:40:43 UTC 2014


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

            Bug ID: 1169784
           Summary: `gluster peer probe hostname` fails when hostname
                    contains '_'
           Product: GlusterFS
           Version: mainline
         Component: glusterd
          Keywords: Triaged
          Severity: medium
          Assignee: bugs at gluster.org
          Reporter: kkeithle at redhat.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com,
                    junli.li at cs2c.com.cn
        Depends On: 1169707



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

Description of problem:
`gluster peer probe hostname` fails when hostname contains '_'

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

How reproducible:
always

Steps to Reproduce:
1.set a host'name to "n_***", such as "n_node";
2.on another node, execute `gluster peer probe n_node`
3.

Actual results:
2. 
n_node is an invalid address
Usage: peer probe <HOSTNAME>


Expected results:
2.
peer probe: success


Additional info:

--- Additional comment from Kaleb KEITHLEY on 2014-12-02 07:40:09 EST ---

RFC1035 indicates that only 0-9A-Za-z and '-' are legal characters in a
hostname, however it was agreed during review that we should relax our hostname
checking


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1169707
[Bug 1169707] `gluster peer probe hostname` fails when hostname contains
'_'
-- 
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