Project

General

Profile

Actions

Bug #65795

closed
JC JC

cephfs_mirror: daemon status shows KeyError: 'directory_count'

Bug #65795: cephfs_mirror: daemon status shows KeyError: 'directory_count'

Added by Jos Collin over 2 years ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Correctness/Safety
Target version:
-
Due date:
% Done:

0%

Source:
Community (dev)
Backport:
reef,squid
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
cephfs-mirror
Labels (FS):
Pull request ID:
Tags (freeform):
Fixed In:
v19.3.0-2445-gd00314d680
Released In:
v20.2.0~2809
Upkeep Timestamp:
2025-11-01T01:11:37+00:00

Description

ceph fs snapshot mirror daemon status gives KeyError: 'directory_count' when mirroring is disabled and enabled repeatedly.
In snapshot_mirror.py -> daemon_status(), self.mgr.get_daemon_status('cephfs-mirror', daemon_key) intermittently returns: {'status_json': '{"1":{"name":"a","peers":{}}}'}, which doesn't have 'directory_count' key.

BZ: https://bugzilla.redhat.com/show_bug.cgi?id=2276862


Related issues 2 (0 open — 2 closed)

Copied to CephFS - Backport #66270: squid: cephfs_mirror: daemon status shows KeyError: 'directory_count'ResolvedJos Collin

Actions
Copied to CephFS - Backport #66271: reef: cephfs_mirror: daemon status shows KeyError: 'directory_count'ResolvedJos Collin

Actions

JC Updated by Jos Collin over 2 years ago Actions #1

  • Pull request ID set to 57291

JC Updated by Jos Collin over 2 years ago Actions #2

  • Status changed from New to Fix Under Review

VS Updated by Venky Shankar over 2 years ago Actions #3

  • Status changed from Fix Under Review to Pending Backport
  • Backport set to reef,squid

UB Updated by Upkeep Bot over 2 years ago Actions #4

  • Copied to Backport #66270: squid: cephfs_mirror: daemon status shows KeyError: 'directory_count' added

UB Updated by Upkeep Bot over 2 years ago Actions #5

  • Copied to Backport #66271: reef: cephfs_mirror: daemon status shows KeyError: 'directory_count' added

JC Updated by Jos Collin almost 2 years ago Actions #7

  • Status changed from Pending Backport to Resolved

UB Updated by Upkeep Bot over 1 year ago Actions #8

  • Merge Commit set to d00314d680c4cf30f64c20062e016fdcf5971a9f
  • Fixed In set to v19.3.0-2445-gd00314d680c
  • Upkeep Timestamp set to 2025-06-30T19:35:50+00:00

UB Updated by Upkeep Bot over 1 year ago Actions #9

  • Fixed In changed from v19.3.0-2445-gd00314d680c to v19.3.0-2445-gd00314d680
  • Upkeep Timestamp changed from 2025-06-30T19:35:50+00:00 to 2025-07-14T16:45:04+00:00

UB Updated by Upkeep Bot about 1 year ago Actions #10

  • Released In set to v20.2.0~2809
  • Upkeep Timestamp changed from 2025-07-14T16:45:04+00:00 to 2025-11-01T01:11:37+00:00
Actions

Also available in: PDF Atom