Bug 1341157
Summary: | wrong quota description in pool list | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Storage Console | Reporter: | Martin Kudlej <mkudlej> | ||||||
Component: | UI | Assignee: | Karnan <kchidamb> | ||||||
Status: | CLOSED ERRATA | QA Contact: | sds-qe-bugs | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | high | ||||||||
Version: | 2 | CC: | nthomas, sankarshan, shtripat, vsarmila | ||||||
Target Milestone: | --- | ||||||||
Target Release: | 2 | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | rhscon-ui-0.0.43-1.el7scon | Doc Type: | If docs needed, set a value | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2016-08-23 19:52:59 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: | 1344195 | ||||||||
Attachments: |
|
Created attachment 1167860 [details]
quota issue
Two issues here 1. If only one quota param is specified, a ',' added 2. quota % is not properly stored in DB, its a big number. Also displayed in UI as infinity The REST api expects quota_max_objects to be an int value and quota_max_bytes as an uint value. As they are sent in options attribute of request, valid int and uint should be sent as below options: {"quota_max_objects": "<an int>", "quota_max_bytes": "<a big int>"} There is no change required in backend API for this BZ and we need to fix in UI only. Tested with ceph-ansible-1.0.5-23.el7scon.noarch ceph-installer-1.0.12-3.el7scon.noarch rhscon-ceph-0.0.29-1.el7scon.x86_64 rhscon-core-0.0.29-1.el7scon.x86_64 rhscon-core-selinux-0.0.29-1.el7scon.noarch rhscon-ui-0.0.43-1.el7scon.noarch and it works. -->Verified 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://access.redhat.com/errata/RHEA-2016:1754 |
Created attachment 1163182 [details] wrong quota description Description of problem: There is wrong quota description in pool list, please see attachment. Version-Release number of selected component (if applicable): ceph-ansible-1.0.5-15.el7scon.noarch ceph-installer-1.0.11-1.el7scon.noarch rhscon-ceph-0.0.18-1.el7scon.x86_64 rhscon-core-0.0.19-1.el7scon.x86_64 rhscon-ui-0.0.34-1.el7scon.noarch How reproducible: 100% Steps to Reproduce: 1. create cluster 2. create pool with quotas 3. check pool list Actual results: There is wrong quota description in pool list. Expected results: All quota descriptions are correct.