Bug 819394 - Quota limit-usage parameter does not accept numbers with decimal point
Summary: Quota limit-usage parameter does not accept numbers with decimal point
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: quota
Version: pre-release
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
Assignee: vpshastry
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 848238
TreeView+ depends on / blocked
 
Reported: 2012-05-07 06:09 UTC by shylesh
Modified: 2014-08-11 23:22 UTC (History)
6 users (show)

Fixed In Version: glusterfs-3.4.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 848238 (view as bug list)
Environment:
Last Closed: 2013-07-24 17:43:07 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description shylesh 2012-05-07 06:09:04 UTC
Description of problem:
Trying to limit quota usage with fractional number does not accepted.


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

How reproducible:
Always

Steps to Reproduce:
1. create a volume 
2. enable quota 
3. try to set limit-usage 

[root@gqac022 mnt]# gluster volume quota rep limit-usage / 1.5G
Please enter a correct value
Usage: volume quota <VOLNAME> <enable|disable|limit-usage|list|remove> [path] [value]

but a whole number will be accepted.
  
Actual results:


Expected results:


Additional info:

Comment 1 Saurabh 2012-05-10 09:15:17 UTC
This one is still failing on 3.3.0qa40

Comment 2 Vijay Bellur 2012-10-12 07:15:04 UTC
CHANGE: http://review.gluster.org/4068 (features/quota: Accept float numbers for quota limit.) merged in master by Anand Avati (avati)


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