How to customize the sections other than [global] in ceph.conf when deploying containerized Ceph with Red Hat OpenStack Platform 13
Issue
Originally, there were no means to customize the sections other than [global] in ceph.conf. Here is what the official RHOSP13 installation guide says about using CephConfigOverrides
parameter:
---8<---
parameter_defaults:
CephConfigOverrides:
KEY:VALUE
NOTE
The CephConfigOverrides parameter applies only to the [global] section
of the ceph.conf file. You cannot make changes to other sections,
for example the [osd] section, with the CephConfigOverrides
parameter.
~~~
--->8---
While in the upstream documentation it's clearly stated that we can split the options between the sections:
---8<---
If a parameter to override is not an available group variable, then ceph.conf sections settings may be set directly using CephConfigOverrides like the following:
parameter_defaults:
CephConfigOverrides:
global:
max_open_files: 131072
osd:
osd_journal_size: 40960
--->8---
This discrepancy may lead to confusion when comparing the information from Red Hat OpenStack documentation to what we have in the upstream one.
Environment
- Red Hat OpenStack Platform 13
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.