Project

General

Profile

Actions

Feature #36559

closed

mgr/dashboard: Allow viewing and setting Pool Quotas

Added by Lenz Grimmer over 5 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Component - Pools
Target version:
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

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

pool_form2.png (43.7 KB) pool_form2.png Kiefer Chang, 05/02/2019 11:07 AM
Actions #1

Updated by Patrick Seidensal over 5 years ago

  • Assignee set to Patrick Seidensal
Actions #2

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

Actions #3

Updated by Kiefer Chang almost 5 years ago

Hi Patrick, if you had not started working on this yet, maybe I can try to implement this.

Actions #4

Updated by Lenz Grimmer almost 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.

Actions #5

Updated by Kiefer Chang almost 5 years ago

  • Status changed from New to In Progress
Actions #6

Updated by Kiefer Chang almost 5 years ago

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>
    }
Actions #7

Updated by Kiefer Chang almost 5 years ago

  • Pull request ID set to 27945
Actions #8

Updated by Nathan Cutler almost 5 years ago

  • Status changed from In Progress to Fix Under Review
Actions #9

Updated by Lenz Grimmer almost 5 years ago

  • Target version deleted (v14.0.0)
  • Backport set to nautilus
Actions #10

Updated by Ricardo Marques almost 5 years ago

  • Backport deleted (nautilus)
Actions #11

Updated by Lenz Grimmer almost 5 years ago

  • Status changed from Fix Under Review to Resolved
  • Target version set to v15.0.0
Actions #12

Updated by Ernesto Puerta about 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 137 to Component - Pools
Actions

Also available in: Atom PDF