Bug 1860057

Summary: [RFE] Global- and pool-level configuration overrides should apply to in-use images
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Jason Dillaman <jdillama>
Component: RBDAssignee: Jason Dillaman <jdillama>
Status: CLOSED ERRATA QA Contact: Harish Munjulur <hmunjulu>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.2CC: ceph-eng-bugs, gpatta, hmunjulu, mkasturi, sangadi, tserlin, vereddy
Target Milestone: ---Keywords: FutureFeature
Target Release: 4.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-01-12 14:56:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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