Actions
Bug #77839
closed
AK
AK
cephadm: daemon_config_deps for removed daemons not cleared
Bug #77839:
cephadm: daemon_config_deps for removed daemons not cleared
Due date:
% Done:
0%
Source:
Backport:
umbrella, tentacle
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
v21.3.0-755-gae0cfd0d43
Released In:
Upkeep Timestamp:
2026-08-27T18:36:50+00:00
Description
If you remove daemons cephadm doesn't clear the entries for their config_daemon_deps from the entry it store in the config-key store. If enough daemons are removed it can eventually cause the entry to be larger than the mon_config_key_max_entry_size.
[ceph: root@vm-00 /]# ceph orch ps --daemon-type rgw
NAME HOST PORTS STATUS REFRESHED AGE MEM USE MEM LIM VERSION IMAGE ID CONTAINER ID
rgw.foo.vm-00.bfddge vm-00 *:82 running (7s) 2s ago 7s 68.4M - 21.3.0-604-g1d7f80b4 cff5839fa7f7 9029c71dc55b
rgw.foo.vm-00.mvpevt vm-00 *:81 running (9s) 2s ago 9s 69.4M - 21.3.0-604-g1d7f80b4 cff5839fa7f7 3af795e98a85
rgw.foo.vm-00.zvdvos vm-00 *:80 running (10s) 2s ago 10s 70.9M - 21.3.0-604-g1d7f80b4 cff5839fa7f7 e49cde8a8d6c
[ceph: root@vm-00 /]# for rgw in `ceph orch ps --daemon-type rgw | tail -n +2 | cut -d " " -f 1`; do ceph orch daemon rm $rgw; done
Removed rgw.foo.vm-00.bfddge from host 'vm-00'
Removed rgw.foo.vm-00.mvpevt from host 'vm-00'
Removed rgw.foo.vm-00.zvdvos from host 'vm-00'
[ceph: root@vm-00 /]#
[ceph: root@vm-00 /]#
[ceph: root@vm-00 /]# for rgw in `ceph orch ps --daemon-type rgw | tail -n +2 | cut -d " " -f 1`; do ceph orch daemon rm $rgw; done
Removed rgw.foo.vm-00.ddntbn from host 'vm-00'
Removed rgw.foo.vm-00.oedijm from host 'vm-00'
Removed rgw.foo.vm-00.snlkob from host 'vm-00'
[ceph: root@vm-00 /]#
[ceph: root@vm-00 /]# for rgw in `ceph orch ps --daemon-type rgw | tail -n +2 | cut -d " " -f 1`; do ceph orch daemon rm $rgw; done
Removed rgw.foo.vm-00.lmfknb from host 'vm-00'
Removed rgw.foo.vm-00.rolbvx from host 'vm-00'
Removed rgw.foo.vm-00.wpjwhq from host 'vm-00'
[ceph: root@vm-00 /]# ceph config-key get mgr/cephadm/host.vm-00 | jq .daemon_config_deps | grep rgw
"rgw.foo.vm-00.jpcxxt": {
"rgw.foo.vm-00.wrtwuw": {
"rgw.foo.vm-00.jisvxu": {
"rgw.foo.vm-00.zvdvos": {
"rgw.foo.vm-00.mvpevt": {
"rgw.foo.vm-00.bfddge": {
"rgw.foo.vm-00.oedijm": {
"rgw.foo.vm-00.ddntbn": {
"rgw.foo.vm-00.snlkob": {
"rgw.foo.vm-00.lmfknb": {
"rgw.foo.vm-00.rolbvx": {
"rgw.foo.vm-00.wpjwhq": {
"rgw.foo.vm-00.wqadht": {
"rgw.foo.vm-00.dkfftq": {
"rgw.foo.vm-00.yugfwn": {
an entry is created for each new daemon but the old ones are never removed
UB Updated by Upkeep Bot 5 months ago
- Status changed from Fix Under Review to Pending Backport
- Merge Commit set to ae0cfd0d43dd6046e5ac95c5d0dc646bcd81ddbe
- Fixed In set to v21.3.0-755-gae0cfd0d43
- Upkeep Timestamp set to 2026-07-06T10:28:29+00:00
UB Updated by Upkeep Bot 5 months ago
- Copied to Backport #77948: tentacle: cephadm: daemon_config_deps for removed daemons not cleared added
UB Updated by Upkeep Bot 5 months ago
- Copied to Backport #77949: umbrella: cephadm: daemon_config_deps for removed daemons not cleared added
UB Updated by Upkeep Bot 5 months ago
- Tags (freeform) set to backport_processed
UB Updated by Upkeep Bot 3 months ago
- Status changed from Pending Backport to Backporting
- Tags (freeform) deleted (
backport_processed) - Upkeep Timestamp changed from 2026-07-06T10:28:29+00:00 to 2026-08-27T18:36:50+00:00
Actions