Feature #36191
closedmgr/dashboard: Add support for managing RBD QoS
0%
Description
With PR#23743 merged, Ceph Nautilus will support defining an IOPS limit for RBD images on a per-image and pool level.
The RBD management in Ceph Mgr Dashboard should support this feature, by making it possible to define the limit when creating new RBD images or editing existing RBDs, as well as when creating or editing a Ceph pool dedicated to RBD.
On the command line, these limits can be configured as follows:
$ rbd config pool set $pool rbd_qos_iops_limit 100 $ rbd config image set $pool/$image rbd_qos_iops_limit 200
Updated by Mykola Golub over 5 years ago
I am not sure if the scope is intentionally limited only to QOS, but just to make sure you are aware about all available functionality, below some more details.
Via `rbd config pool|image` you can set not only QOS but much more. `rbd config pool ls $pool` and `rbd config image ls $pool/$image` will return the full list of possible overrides. E.g. for QOS we have these options:
% rbd config pool ls rbd |grep qos rbd_qos_bps_limit 0 config rbd_qos_iops_limit 0 config rbd_qos_read_bps_limit 0 config rbd_qos_read_iops_limit 0 config rbd_qos_write_bps_limit 0 config rbd_qos_write_iops_limit 0 config
So probably we want some more generic, not only QOS?
And the dashboard can use python rbd bindings:
params = rbd.config_list(ioctx) rbd.pool_metadata_set(ioctx, "conf_rbd_qos_bps_limit", "100") rbd.pool_metadata_remove(ioctx, "conf_rbd_qos_bps_limit") params = image.config_list() image.metadata_set("conf_rbd_qos_bps_limit", "100") image.metadata_remove("conf_rbd_qos_bps_limit")
Note, the overrides are stored in the pool/image metadata, and for set/remove we use "metadata" API, which requires the config keys to be prefixed with "conf_".
Updated by Patrick Seidensal over 5 years ago
- Status changed from New to In Progress
Updated by Patrick Seidensal over 5 years ago
- Status changed from In Progress to Fix Under Review
- % Done changed from 0 to 90
Updated by Patrick Seidensal over 5 years ago
- Related to Bug #37569: mgr/dashboard: Fix search in `Source` column of RBD configuration list added
Updated by Patrick Seidensal over 5 years ago
- Related to Feature #37570: Provide descriptions and types for the RBD configuration options added
Updated by Patrick Seidensal over 5 years ago
- Precedes Feature #37571: mgr/dashboard: Highlight RBD configuration options in add/edit form added
Updated by Patrick Seidensal over 5 years ago
- Precedes Bug #37572: mgr/dashboard: Add backend tests for RBD configuration added
Updated by Patrick Seidensal over 5 years ago
- Subject changed from mgr/dashboard: Add support for managing RBD QOS to mgr/dashboard: Add support for managing RBD QoS
Updated by Patrick Seidensal over 5 years ago
- Related to Bug #38004: mgr/dashboard: Render error in pool edit dialog added
Updated by Patrick Seidensal over 5 years ago
- Related to deleted (Bug #38004: mgr/dashboard: Render error in pool edit dialog)
Updated by Patrick Seidensal over 5 years ago
- Precedes Bug #38004: mgr/dashboard: Render error in pool edit dialog added
Updated by Patrick Seidensal about 5 years ago
- Precedes Tasks #38072: mgr/dashboard: Reflect RBD QoS setting values in forms added
Updated by Lenz Grimmer about 5 years ago
- Status changed from Fix Under Review to Resolved
Updated by Lenz Grimmer over 3 years ago
- Related to Bug #46815: mgr/dashboard: FAIL: test_pool_create (tasks.mgr.dashboard.test_pool.PoolTest) added
Updated by Ernesto Puerta about 3 years ago
- Project changed from mgr to Dashboard
- Category changed from 139 to Component - RBD