Project

General

Profile

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

Added by Adam King 5 months ago. Updated 3 months ago.

Status:
Backporting
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
umbrella, tentacle
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
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


Related issues 2 (1 open — 1 closed)

Copied to Orchestrator - Backport #77948: tentacle: cephadm: daemon_config_deps for removed daemons not clearedFix Under ReviewAdam King

Actions
Copied to Orchestrator - Backport #77949: umbrella: cephadm: daemon_config_deps for removed daemons not clearedResolvedAdam King

Actions

AK Updated by Adam King 5 months ago Actions #1

  • Status changed from New to Fix Under Review
  • Pull request ID set to 69849

UB Updated by Upkeep Bot 5 months ago Actions #2

  • 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 Actions #3

  • Copied to Backport #77948: tentacle: cephadm: daemon_config_deps for removed daemons not cleared added

UB Updated by Upkeep Bot 5 months ago Actions #4

  • Copied to Backport #77949: umbrella: cephadm: daemon_config_deps for removed daemons not cleared added

UB Updated by Upkeep Bot 5 months ago Actions #5

  • Tags (freeform) set to backport_processed

UB Updated by Upkeep Bot 3 months ago Actions #6

  • 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

Also available in: PDF Atom