Bug 1352778 - heketi volume creation should give "Mimimun volume size" instead of "Minimum brick size" error
Summary: heketi volume creation should give "Mimimun volume size" instead of "Minimum ...
Keywords:
Status: CLOSED DUPLICATE of bug 1370130
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: heketi
Version: rhgs-3.1
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Michael Adam
QA Contact: Jonathan Holloway
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-05 05:17 UTC by Neha
Modified: 2016-10-01 00:29 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-01 00:29:44 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1346624 0 low CLOSED Minimum brick size error 2021-02-22 00:41:40 UTC

Internal Links: 1346624

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


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