[cifmw_cephadm] add generic ceph-config override passthrough - #4112
Conversation
|
Skipping CI for Draft Pull Request. |
|
+1 to this generic solution. Thanks @tosky |
|
Build failed (check pipeline). Post ✔️ openstack-k8s-operators-content-provider SUCCESS in 4h 05m 27s |
The role applies a fixed set of `ceph config set` commands in
tasks/cephadm_config_set.yml, one task per option. A scenario that needs
to tune any other cluster option currently has to patch the role. Add a
generic, opt-in `cifmw_cephadm_extra_config` list so scenarios can apply
arbitrary `ceph config set <who> <key> <value>` entries without a new
task per option. It defaults to empty (no-op) and is applied after the
built-in configuration, so it can also override earlier values.
For example, a deployment can bound the MDS cap-revoke stall that wedges
a single-worker CephFS/NFS-Ganesha consumer by evicting an unresponsive
cap-holder before it hits session_autoclose:
cifmw_cephadm_extra_config:
- who: mds
key: mds_cap_revoke_eviction_timeout
value: "25"
Assisted-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Luigi Toscano <ltoscano@redhat.com>
5f18e3a to
67df98c
Compare
|
Internally tested, ready for review. |
|
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: sdatko The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
f0c58cd
into
openstack-k8s-operators:main
The role applies a fixed set of
ceph config setcommands in tasks/cephadm_config_set.yml, one task per option. A scenario that needs to tune any other cluster option currently has to patch the role. Add a generic, opt-incifmw_cephadm_extra_configlist so scenarios can apply arbitraryceph config set <who> <key> <value>entries without a new task per option. It defaults to empty (no-op) and is applied after the built-in configuration, so it can also override earlier values.For example, a deployment can bound the MDS cap-revoke stall that wedges a single-worker CephFS/NFS-Ganesha consumer by evicting an unresponsive cap-holder before it hits session_autoclose:
Assisted-By: Claude Opus 4.8 noreply@anthropic.com
Signed-off-by: Luigi Toscano ltoscano@redhat.com