Bug 1346624 - Minimum brick size error
Summary: Minimum brick size error
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: Sachin
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-15 06:20 UTC by Neha
Modified: 2016-11-18 04:08 UTC (History)
4 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:10 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1352778 0 low CLOSED heketi volume creation should give "Mimimun volume size" instead of "Minimum brick size" error 2021-02-22 00:41:40 UTC

Internal Links: 1352778

Description Neha 2016-06-15 06:20:41 UTC
Current error message for minimum size brick

heketi-cli volume create --size=1
Error: No space

[heketi] ERROR 2016/06/14 02:41:06 /src/github.com/heketi/heketi/apps/glusterfs/volume_entry_allocate.go:41: Minimum brick size limit reached. Out of space.
[negroni] Started GET /queue/8d662515743827d44875d9bf146d0f19
[negroni] Completed 200 OK in 73.023µs

Should be somewhat similar to logs "Minimum brick size limit reached" instead of "No space"

upstream bug: https://github.com/heketi/heketi/issues/380

Comment 2 Luis Pabón 2016-07-06 16:30:19 UTC
No, you are viewing this from a GlusterFS point of view.  From a "volume" point of view, however it is implemented, there is no space.

Comment 3 Neha 2016-07-07 04:46:43 UTC
If in a cluster we have enough space on each of the node. Then getting "No Space" error is not correct.

It failed to create volume because we are giving volume size less than "Minimum volume size/Brick size limit" and that's the error getting logged in the heketi logs.

[heketi] ERROR 2016/06/14 02:41:06 /src/github.com/heketi/heketi/apps/glusterfs/volume_entry_allocate.go:41: Minimum brick size limit reached. Out of space.
[negroni] Started GET /queue/8d662515743827d44875d9bf146d0f19
[negroni] Completed 200 OK in 73.023µs

I believe the same error should be displayed to stdout to avoid confusion.

Comment 6 Michael Adam 2016-10-01 00:12:10 UTC
Issue seems to be a duplicate of https://github.com/heketi/heketi/issues/506

and it has been fixed with https://github.com/heketi/heketi/pull/536 .

Comment 7 Michael Adam 2016-10-01 00:13:42 UTC
This is actually imho pretty much the same BZ as https://bugzilla.redhat.com/show_bug.cgi?id=1352778

Comment 8 Michael Adam 2016-10-01 00:29:10 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.