]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: remove spec.config options when a service is removed 69899/head
authorShweta Bhosale <Shweta.Bhosale1@ibm.com>
Thu, 2 Jul 2026 04:56:09 +0000 (10:26 +0530)
committerShweta Bhosale <Shweta.Bhosale1@ibm.com>
Thu, 2 Jul 2026 04:58:35 +0000 (10:28 +0530)
commit76f7f46dbbaa41fee4fe41db77983ef0b4a44f5c
tree5c4c4c470a6457cc0671725308b929202e936281
parent283108e66bee0d31f9e87247cf3dd93d36a9299a
mgr/cephadm: remove spec.config options when a service is removed

For each key in spec.config, validate the option name and run
config rm on the service's config section. Call this from
remove_service() before spec_store.rm() schedules daemon removal.

Fixes: https://tracker.ceph.com/issues/77891
Signed-off-by: Shweta Bhosale <Shweta.Bhosale1@ibm.com>
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/cephadm/serve.py
src/pybind/mgr/cephadm/tests/test_cephadm.py