Bug 1666973

Summary: [RFE] Allow Ceph configs being written into sections other than "global"
Product: Red Hat OpenStack Reporter: James Biao <jbiao>
Component: openstack-tripleo-heat-templatesAssignee: Giulio Fidente <gfidente>
Status: CLOSED ERRATA QA Contact: Yogev Rabl <yrabl>
Severity: medium Docs Contact:
Priority: medium    
Version: 13.0 (Queens)CC: ccopello, dbecker, dcadzow, gcharot, gfidente, gregraka, jamsmith, mburns, morazi, ramishra, yrabl
Target Milestone: Upstream M3Keywords: FutureFeature, Triaged, ZStream
Target Release: 16.0 (Train on RHEL 8.1)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-11.3.1-0.20191126041653.414d4d9.el8ost.noarch.rpm Doc Type: Enhancement
Doc Text:
In Red Hat OpenStack Platform 16.0, you can now add custom Red Hat Ceph Storage configuration settings to any section of ceph.conf. Previously, custom settings were allowed only in the `[global]` section of ceph.conf.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-02-06 14:39:53 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:
Bug Depends On:    
Bug Blocks: 1780757    

Description James Biao 2019-01-17 06:28:34 UTC
Description of problem:

Currently CephConfigOverrides passes all parameters to [global].
Requesting a way to pass parameters to different sections, e.g. [osd], [mon]. [client] etc.

http://git.openstack.org/cgit/openstack/tripleo-heat-templates/tree/docker/services/ceph-ansible/ceph-base.yaml#n335


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 8 Yogev Rabl 2019-12-12 16:14:47 UTC
verified with setting in environment file: 
    CephConfigOverrides:
        global:
            globalkey: globalvalue
        osd:
            osdkey: osdvalue

and the result in the ceph.conf: 

[global]
cluster network = 172.17.4.0/24
fsid = 0a702220-1cef-11ea-8262-5254003897f5
globalkey = globalvalue

[osd]
osdkey = osdvalue

Comment 11 errata-xmlrpc 2020-02-06 14:39:53 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, 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/RHEA-2020:0283