Bug 763237 (GLUSTER-1505)

Summary: volume create/add-brick requires ip or hostname for localhost
Product: [Community] GlusterFS Reporter: shishir gowda <sgowda>
Component: glusterdAssignee: shishir gowda <sgowda>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: low    
Version: mainlineCC: gluster-bugs, lakshmipathi, nsathyan, vijay
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description shishir gowda 2010-09-02 06:40:29 UTC
Prevent volume create/add-brick from proceeding if localhost or "127.0.0.1" is specified as the host identifier. A valid hostname or ipaddress needs to be given.

This is to prevent invalid volfiles being created on other glusterd as localhost/127.0.0.1 is specified.

Comment 1 Vijay Bellur 2010-09-06 06:21:39 UTC
PATCH: http://patches.gluster.com/patch/4542 in master (Volume create hostname should not be localhost)

Comment 2 Vijay Bellur 2010-09-06 06:21:43 UTC
PATCH: http://patches.gluster.com/patch/4543 in master (Add brick hostname should not be localhost)

Comment 3 Lakshmipathi G 2010-09-07 02:56:15 UTC
verified with 3.1.0qa16.


#gluster volume create local localhost:/mnt/a3 localhost:/mnt/a4
Please provide a valid hostname/ip other localhost or 127.0.0.1
Usage: volume create <NEW-VOLNAME> [stripe <COUNT>] [replica <COUNT>] [transport <tcp|rdma>] <NEW-BRICK> ...
Creating Volume local failed