Bug 1490853

Summary: Brick count limit in a volume
Product: [Community] GlusterFS Reporter: Gaurav Yadav <gyadav>
Component: cliAssignee: bugs <bugs>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: amukherj, atumball, bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.12.13 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-08 10:40:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Gaurav Yadav 2017-09-12 11:39:40 UTC
Description of problem:
gluster cli is failing to create volume with error 
"Total brick list is larger than a request, Can take (brick_count)".

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


How reproducible:
if brick path is bigger than 120000 characters, gluster cli is failing volume create with above mentioned error.

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:
gluster cli should not fail volume create with above mentioned error.


Additional info:

Comment 1 Worker Ant 2017-09-13 05:53:12 UTC
REVIEW: https://review.gluster.org/18271 (cli: gluster cli statically initialize the brick_list) posted (#1) for review on master by Gaurav Yadav (gyadav)

Comment 2 Worker Ant 2017-09-14 10:54:24 UTC
REVIEW: https://review.gluster.org/18271 (cli: gluster cli statically initialize the brick_list) posted (#2) for review on master by Gaurav Yadav (gyadav)

Comment 3 Worker Ant 2017-10-03 05:56:18 UTC
REVIEW: https://review.gluster.org/18271 (cli: dynamic allocation of brick list) posted (#3) for review on master by Gaurav Yadav (gyadav)

Comment 4 Worker Ant 2017-10-03 15:52:13 UTC
REVIEW: https://review.gluster.org/18271 (cli: dynamic allocation of brick list) posted (#4) for review on master by Gaurav Yadav (gyadav)

Comment 5 Worker Ant 2017-10-03 17:35:05 UTC
REVIEW: https://review.gluster.org/18271 (cli: dynamic allocation of brick list) posted (#5) for review on master by Gaurav Yadav (gyadav)

Comment 6 Worker Ant 2017-10-06 11:12:50 UTC
REVIEW: https://review.gluster.org/18271 (cli: dynamic allocation of brick list) posted (#6) for review on master by Gaurav Yadav (gyadav)

Comment 7 Atin Mukherjee 2017-11-13 08:02:11 UTC
https://review.gluster.org/#/c/18620/ has fixed it.