Bug 1860057 - [RFE] Global- and pool-level configuration overrides should apply to in-use images
Summary: [RFE] Global- and pool-level configuration overrides should apply to in-use i...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RBD
Version: 4.2
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 4.2
Assignee: Jason Dillaman
QA Contact: Harish Munjulur
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-23 16:00 UTC by Jason Dillaman
Modified: 2021-01-12 14:56 UTC (History)
7 users (show)

Fixed In Version: ceph-14.2.11-74.el8cp, ceph-14.2.11-74.el7cp
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-01-12 14:56:02 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 46694 0 None None None 2020-07-23 16:00:10 UTC
Ceph Project Bug Tracker 48035 0 None None None 2020-10-29 02:57:05 UTC
Github ceph ceph pull 36725 0 None closed nautilus: rbd: librbd: global and pool-level config overrides require image refresh to apply 2021-01-13 19:14:10 UTC
Github ceph ceph pull 37894 0 None closed librbd: global config overrides do not apply to in-use images 2021-01-13 19:14:08 UTC
Github ceph ceph pull 37977 0 None closed librbd: update hidden global config when removing pool config override 2021-01-13 19:14:08 UTC
Red Hat Product Errata RHSA-2021:0081 0 None None None 2021-01-12 14:56:35 UTC

Description Jason Dillaman 2020-07-23 16:00:10 UTC
Description of problem:
The global and pool-level config overrides are only re-read when an image requires a refresh. For long-running images where maintenance operations are not being performed, that means that the new configuration settings will never be applied. RBD needs a mechanism to on-demand refresh all images or to periodically poll for changes to the config settings.

One such example of where this effect can be seen is attempting to set QoS throttle parameters on a pool via the Ceph Dashboard.

Version-Release number of selected component (if applicable):
RHCS 4.0

Comment 1 RHEL Program Management 2020-07-23 16:00:18 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 8 Harish Munjulur 2020-10-27 23:27:27 UTC
Feature is working as expected. Moving to Verified state.

Comment 9 Harish Munjulur 2020-10-28 19:41:14 UTC
Rbb pool level configs overrides are working as expected. 

Globa configuration overrides are not getting apply to in-use.

Comment 12 Harish Munjulur 2020-11-09 18:19:20 UTC
Pool level configs are not refreshed after removal of configs. 

Initially i set "rbd config pool set cephfs_data  rbd_qos_iops_limit 10"
then remove the limit by "rbd config pool remove cephfs_data  rbd_qos_iops_limit"
still see that the speed of IO is 10

Comment 15 Harish Munjulur 2020-11-19 22:02:34 UTC
Working as expected moving to Verified

Comment 17 errata-xmlrpc 2021-01-12 14:56:02 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: Red Hat Ceph Storage 4.2 Security and Bug Fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:0081


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