Bug 763237 (GLUSTER-1505) - volume create/add-brick requires ip or hostname for localhost
Summary: volume create/add-brick requires ip or hostname for localhost
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-1505
Product: GlusterFS
Classification: Community
Component: glusterd
Version: mainline
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: shishir gowda
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-02 06:40 UTC by shishir gowda
Modified: 2015-12-01 16:45 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

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


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