Feature #36559
closed
mgr/dashboard: Allow viewing and setting Pool Quotas
Added by Lenz Grimmer over 5 years ago.
Updated about 3 years ago.
Category:
Component - Pools
Description
According to the documentation, it is possible to set pool quotas for the maximum number of bytes and/or the maximum number of objects per pool.
The Pools management section of the Dashboard should support managing these, too.
Files
- Assignee set to Patrick Seidensal
Hi Patrick, if you had not started working on this yet, maybe I can try to implement this.
- Translation missing: en.field_tag_list set to management
- Assignee changed from Patrick Seidensal to Kiefer Chang
Hi Kiefer, thanks for your offer! Patrick hasn't started working on this one yet, I'm reassigning it to you then.
- Status changed from New to In Progress
WIP branch: https://github.com/bk201/ceph/commits/wip-36559
Designs¶
Frontend
PoolFormComponent
A quota section is added with new text fields.
- Max bytes: maximum usage of pool, can be input with units (e.g. 1 GiB, 1024 MiB, default to GiB)
- Max objects: maximum number of objects in the pool
Backend
- Pool creation
POST /api/pool
Introduce two new fields. Quotas are not enabled if these fields are not provided.
{
"quota_max_bytes": <bytes>,
"quota_max_objects": <object_counts>
}
- Pool update
PUT /api/pool
Introduce two new fields, Quotas are updated with provided values. To disable quotas, 0 should be provided.
{
"quota_max_bytes": <bytes>,
"quota_max_objects": <object_counts>
}
- Pull request ID set to 27945
- Status changed from In Progress to Fix Under Review
- Target version deleted (
v14.0.0)
- Backport set to nautilus
- Backport deleted (
nautilus)
- Status changed from Fix Under Review to Resolved
- Target version set to v15.0.0
- Project changed from mgr to Dashboard
- Category changed from 137 to Component - Pools
Also available in: Atom
PDF