Bug 1352778

Summary: heketi volume creation should give "Mimimun volume size" instead of "Minimum brick size" error
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Neha <nerawat>
Component: heketiAssignee: Michael Adam <madam>
Status: CLOSED DUPLICATE QA Contact: Jonathan Holloway <jholloway>
Severity: low Docs Contact:
Priority: low    
Version: rhgs-3.1CC: madam, sashinde
Target Milestone: ---Keywords: Reopened, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-01 00:29:44 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 Neha 2016-07-05 05:17:16 UTC
End user is providing volume size to the heketi-cli so it should provide "volume size" error instead of "brick size"

upstream issue: https://github.com/heketi/heketi/issues/409

Comment 2 Luis Pabón 2016-07-05 18:05:08 UTC
I don't think this is correct.  These objects are GlusterFS specific, but from a Heketi point of view, they do not exist.  Instead the element is a volume. As such, you can either create or not create a volume.  Adding any other information would confuse the user.

Instead that information is kept in the logs.

Comment 3 Neha 2016-07-07 06:28:19 UTC
(In reply to Luis Pabón from comment #2)
> I don't think this is correct.  These objects are GlusterFS specific, but
> from a Heketi point of view, they do not exist.  Instead the element is a
> volume. As such, you can either create or not create a volume.  Adding any
> other information would confuse the user.
> 
> Instead that information is kept in the logs.

Yes that is correct that in Heketi element is a "volume" instead of bricks.

That is the reason of opening this bug that user should get "Minimum Volume size" error and not a "Minimum Brick Size"

Here end user is providing volume size and getting error about "Brick size". The current flow looks confusing to me.

Comment 5 Michael Adam 2016-10-01 00:10:27 UTC
Fixed upstream with https://github.com/heketi/heketi/pull/536 .

The issue is a duplicate of https://github.com/heketi/heketi/issues/506 .

Comment 6 Michael Adam 2016-10-01 00:29:44 UTC

*** This bug has been marked as a duplicate of bug 1370130 ***