[Bugs] [Bug 1242742] New: Gluster peer probe with negative num

bugzilla at redhat.com bugzilla at redhat.com
Tue Jul 14 06:11:21 UTC 2015


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

            Bug ID: 1242742
           Summary: Gluster peer probe with negative num
           Product: GlusterFS
           Version: mainline
         Component: cli
          Severity: low
          Assignee: bugs at gluster.org
          Reporter: mliyazud at redhat.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com,
                    mzywusko at redhat.com, ssamanta at redhat.com



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

Description of problem:
The gluster peer probe command with invalid ips dont report that IP's can also
be a valid in usage.



[root at desktop8 /]# gluster peer status
Number of Peers: 0
[root at desktop8 /]# ifconfig -a
bash: ifconfig: command not found
[root at desktop8 /]# ifconfig
bash: ifconfig: command not found
[root at desktop8 /]# gluster peer status
Number of Peers: 0
[root at desktop8 /]# gluster peer probe server1
peer probe: failed: Probe returned with unknown errno 107
[root at desktop8 /]# gluster peer probe server223433
peer probe: failed: Probe returned with unknown errno 107
[root at desktop8 /]# gluster peer probe -1
-1 is an invalid address
Usage: peer probe <HOSTNAME> ----
[root at desktop8 /]


Version-Release number of selected component (if applicable):
[root at desktop8 /]# rpm -qa | grep glusterfs
glusterfs-3.5.0-0.5.beta3.fc20.x86_64
glusterfs-cli-3.5.0-0.5.beta3.fc20.x86_64
glusterfs-libs-3.5.0-0.5.beta3.fc20.x86_64
glusterfs-server-3.5.0-0.5.beta3.fc20.x86_64
glusterfs-fuse-3.5.0-0.5.beta3.fc20.x86_64
[root at desktop8 /]# 

How reproducible:


Steps to Reproduce:
1. Install glusterfs of above version 
2. Create bricks with XFS parttions and mount it
3. Issue gluster peer probe command with negative value

Actual results:
Usage: peer probe <HOSTNAME> 


Expected results:
Usage: peer probe <HOSTNAME>/IP address


Additional info:

-- 
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