Project

General

Profile

Actions

Bug #65795

open

cephfs_mirror: daemon status shows KeyError: 'directory_count'

Added by Jos Collin 15 days ago. Updated 10 days ago.

Status:
Fix Under Review
Priority:
Normal
Assignee:
Category:
Correctness/Safety
Target version:
-
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
cephfs-mirror
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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

Actions #1

Updated by Jos Collin 12 days ago

  • Pull request ID set to 57291
Actions #2

Updated by Jos Collin 10 days ago

  • Status changed from New to Fix Under Review
Actions

Also available in: Atom PDF