Project

General

Profile

Actions

Bug #65795

closed

cephfs_mirror: daemon status shows KeyError: 'directory_count'

Added by Jos Collin almost 2 years ago. Updated 5 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Correctness/Safety
Target version:
-
% 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 open2 closed)

Copied to CephFS - Backport #66270: squid: cephfs_mirror: daemon status shows KeyError: 'directory_count'ResolvedJos CollinActions
Copied to CephFS - Backport #66271: reef: cephfs_mirror: daemon status shows KeyError: 'directory_count'ResolvedJos CollinActions
Actions #1

Updated by Jos Collin almost 2 years ago

  • Pull request ID set to 57291
Actions #2

Updated by Jos Collin almost 2 years ago

  • Status changed from New to Fix Under Review
Actions #3

Updated by Venky Shankar almost 2 years ago

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

Updated by Upkeep Bot almost 2 years ago

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

Updated by Upkeep Bot almost 2 years ago

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

Updated by Jos Collin about 1 year ago

  • Status changed from Pending Backport to Resolved
Actions #8

Updated by Upkeep Bot 9 months ago

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

Updated by Upkeep Bot 8 months ago

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

Updated by Upkeep Bot 5 months ago

  • 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: Atom PDF