Bug 1370130 - Confusing error message when creating too small volume
Summary: Confusing error message when creating too small volume
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: heketi
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: CNS 3.4
Assignee: Michael Adam
QA Contact: Prasanth
URL:
Whiteboard:
: 1346624 1352778 (view as bug list)
Depends On:
Blocks: 1385246
TreeView+ depends on / blocked
 
Reported: 2016-08-25 11:44 UTC by Jan Safranek
Modified: 2017-01-18 21:56 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-18 21:56:39 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:0148 0 normal SHIPPED_LIVE heketi bug fix and enhancement update 2017-01-19 02:53:24 UTC

Description Jan Safranek 2016-08-25 11:44:05 UTC
I have heketi installed using https://github.com/heketi/vagrant-heketi/blob/master/standalone/README.md

I want to create a small testing volume and I get "No space" error. But there is plenty of space, I can create much larger volumes:

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

$ heketi-cli volume create --size=100
Name: vol_61d2e250e6c7c35863ba837d51c163ff
Size: 100
Volume Id: 61d2e250e6c7c35863ba837d51c163ff
Cluster Id: 6ce349156b7351fb5617ce0427416069
Mount: 192.168.10.100:vol_61d2e250e6c7c35863ba837d51c163ff
Mount Options: backup-volfile-servers=192.168.10.101,192.168.10.102,192.168.10.103
Durability Type: replicate
Distributed+Replica: 3

Version-Release number of selected component (if applicable):
heketi-2.0.6-1.el7.centos.x86_64 from https://copr-be.cloud.fedoraproject.org/results/lpabon/Heketi/epel-7-$basearch/

How reproducible:
always

Steps to Reproduce:
heketi-cli volume create --size=1

Actual results:
Error: No space

Expected results:
Error: size too small, it must be greater than XYZ

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

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

I think it can also be considered a duplicate of 
https://bugzilla.redhat.com/show_bug.cgi?id=1346624
and https://bugzilla.redhat.com/show_bug.cgi?id=1352778

Comment 3 Michael Adam 2016-10-01 00:29:10 UTC
*** Bug 1346624 has been marked as a duplicate of this bug. ***

Comment 4 Michael Adam 2016-10-01 00:29:44 UTC
*** Bug 1352778 has been marked as a duplicate of this bug. ***

Comment 9 Prasanth 2016-11-17 09:32:16 UTC
Verified as fixed in the latest heketi build (heketi-cli 3.0.0)


#######
# heketi-cli volume create --size=1
Error: Requested volume size (1 GB) is smaller than the minimum supported volume size (4194304)
#######

Comment 10 errata-xmlrpc 2017-01-18 21:56:39 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2017-0148.html


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