Bug 1375923 - quota calculating is not aligned with ceph quotas
Summary: quota calculating is not aligned with ceph quotas
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Storage Console
Classification: Red Hat
Component: core
Version: 2
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 3
Assignee: Nishanth Thomas
QA Contact: sds-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-14 09:05 UTC by Martin Kudlej
Modified: 2018-11-19 05:42 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-11-19 05:42:12 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Martin Kudlej 2016-09-14 09:05:23 UTC
Description of problem:
Console shows quotas as percentage but Ceph has quotas as MAX available space for pool. Let me give you example.
There is cluster with 5GB available.
If user from Console UI try to set 50% quota, Console calculates it to 2.5GB and set this value to quota attribute for related pool.
Problem is if anybody change pool replication or cluster size is changed or anything else, then 50% quota is not valid anymore and this value is changed.
I think Console should use same definition of quota as Ceph and it should be size in M/G B and not %.

Version-Release number of selected component (if applicable):
ceph-ansible-1.0.5-32.el7scon.noarch
ceph-installer-1.0.14-1.el7scon.noarch
rhscon-ceph-0.0.40-1.el7scon.x86_64
rhscon-core-0.0.41-1.el7scon.x86_64
rhscon-core-selinux-0.0.41-1.el7scon.noarch
rhscon-ui-0.0.52-1.el7scon.noarch

How reproducible:
100%

Steps to Reproduce:
1. set quota to 100% at pool
2. increase replication of pool
3. wait till replication is set
4. result is that quota set to 100% is not valid anymore and number is changed. in my case it was to 120% when I've changed replication from 3 to 4.

Other reproducer can be adding new disk so cluster size is increased and pool quota in % is changed.

Actual results:
Console set quota in % and not in M/G B like Ceph does.

Expected results:
Console will set quota in M/G B like Ceph does.

Comment 3 Shubhendu Tripathi 2018-11-19 05:42:12 UTC
This product is EOL now


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