Project

General

Profile

Bug #50033

mgr/stats: be resilient to offline MDS rank-0

Added by Venky Shankar 8 months ago. Updated 6 days ago.

Status:
Fix Under Review
Priority:
Normal
Assignee:
Category:
Administration/Usability
Target version:
% Done:

0%

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

Description

mgr/stats can repeatedly report stale perf stats when MDS rank-0 becomes offline. Even after a standby daemon transitions to active rank-0, the metrics reported are still stale.

Right now, the workaround is to wait for the query to timeout: https://github.com/ceph/ceph/blob/master/src/pybind/mgr/stats/fs/perf_stats.py#L40

To fix this, reregister user queries when a new MDS rank-0 is seen.

History

#1 Updated by Venky Shankar 8 months ago

  • Target version set to v17.0.0

#2 Updated by Patrick Donnelly 8 months ago

  • Subject changed from mge/stats: be resilient to offline MDS rank-0 to mgr/stats: be resilient to offline MDS rank-0
  • Status changed from New to Triaged
  • Assignee set to Jos Collin

#3 Updated by Jos Collin 5 months ago

  • Status changed from Triaged to Fix Under Review
  • Pull request ID set to 42098

#4 Updated by Jos Collin 6 days ago

  • ceph-qa-suite fs, rados added

Also available in: Atom PDF