Actions
Feature #36559
closedmgr/dashboard: Allow viewing and setting Pool Quotas
Status:
Resolved
Priority:
Normal
Assignee:
Category:
Component - Pools
Target version:
% Done:
0%
Source:
Tags:
Backport:
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
Updated by Lenz Grimmer about 5 years ago
For reference, here's a PR that implements this functionality in openATTIC: https://bitbucket.org/openattic/openattic/pull-requests/885
Updated by Kiefer Chang about 5 years ago
Hi Patrick, if you had not started working on this yet, maybe I can try to implement this.
Updated by Lenz Grimmer about 5 years ago
- 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.
Updated by Kiefer Chang about 5 years ago
- Status changed from New to In Progress
Updated by Kiefer Chang about 5 years ago
- File pool_form2.png pool_form2.png added
WIP branch: https://github.com/bk201/ceph/commits/wip-36559
Designs¶
FrontendPoolFormComponent
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
- 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> }
Updated by Nathan Cutler about 5 years ago
- Status changed from In Progress to Fix Under Review
Updated by Lenz Grimmer almost 5 years ago
- Target version deleted (
v14.0.0) - Backport set to nautilus
Updated by Lenz Grimmer almost 5 years ago
- Status changed from Fix Under Review to Resolved
- Target version set to v15.0.0
Updated by Ernesto Puerta about 3 years ago
- Project changed from mgr to Dashboard
- Category changed from 137 to Component - Pools
Actions