| Summary: | quota: values with decimal digits are not getting set | ||
|---|---|---|---|
| Product: | Red Hat Gluster Storage | Reporter: | Saurabh <saujain> |
| Component: | glusterd | Assignee: | Bug Updates Notification Mailing List <rhs-bugs> |
| Status: | CLOSED NOTABUG | QA Contact: | Sudhir D <sdharane> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.1 | CC: | mzywusko, vbellur |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-10-10 11:35:52 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: | |
Description of problem: decimal digit values are not allowed to set. [root@quota1 ~]# gluster volume info dist-rep1 Volume Name: dist-rep1 Type: Distributed-Replicate Volume ID: d5b1c9c6-d067-4e47-ae45-08425faca23d Status: Started Number of Bricks: 6 x 2 = 12 Transport-type: tcp Bricks: Brick1: 10.70.42.186:/rhs/brick1/d1r11 Brick2: 10.70.43.181:/rhs/brick1/d1r21 Brick3: 10.70.43.18:/rhs/brick1/d2r11 Brick4: 10.70.43.22:/rhs/brick1/d2r21 Brick5: 10.70.42.186:/rhs/brick1/d3r11 Brick6: 10.70.43.181:/rhs/brick1/d3r21 Brick7: 10.70.43.18:/rhs/brick1/d4r11 Brick8: 10.70.43.22:/rhs/brick1/d4r21 Brick9: 10.70.42.186:/rhs/brick1/d5r11 Brick10: 10.70.43.181:/rhs/brick1/d5r21 Brick11: 10.70.43.18:/rhs/brick1/d6r11 Brick12: 10.70.43.22:/rhs/brick1/d6r21 Options Reconfigured: features.quota: on features.quota-deem-statfs: on server.root-squash: disable Version-Release number of selected component (if applicable): glusterfs-3.4.0.34rhs-1.el6rhs.x86_64 How reproducible: always Steps to Reproduce: 1. create a volume and start it 2. enable quota 3. use limit-usage command to set a decimal digit value as quota capacity for "/" Actual results: [root@quota1 ~]# gluster volume quota dist-rep1 limit-usage / 1.5 GB Please enter a correct value Usage: volume quota <VOLNAME> {enable|disable|list [<path> ...]|remove <path>| default-soft-limit <percent>} | volume quota <VOLNAME> {limit-usage <path> <size> [<percent>]} | volume quota <VOLNAME> {alert-time|soft-timeout|hard-timeout} {<time>} Expected results: any kind of numeral should be allowed to set the value. Additional info: