Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 819394

Summary: Quota limit-usage parameter does not accept numbers with decimal point
Product: [Community] GlusterFS Reporter: shylesh <shmohan>
Component: quotaAssignee: vpshastry <vshastry>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: pre-releaseCC: amarts, gluster-bugs, junaid, nsathyan, saujain, vbellur
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.4.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 848238 (view as bug list) Environment:
Last Closed: 2013-07-24 17:43:07 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:
Bug Depends On:    
Bug Blocks: 848238    

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)