Project

General

Profile

Bug #40097

mgr/dashboard: Dentries value of MDS daemon in Filesystems page is inconsistent with "ceph fs stauts" output

Added by Kiefer Chang 3 months ago. Updated 1 day ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
dashboard/cephfs
Target version:
Start date:
05/31/2019
Due date:
% Done:

0%

Source:
Tags:
Backport:
nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
ceph-qa-suite:
Pull request ID:

Description

In Filesystems page, currently we use mds.inodes counter for Dentries, which is not aligned to output of ceph fs status command (which use mds_mem.dn).

e.g.

versus

bin/ceph fs status
*** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
2019-05-31T09:38:50.907+0000 7fea16bf6700 -1 WARNING: all dangerous and experimental features are enabled.
2019-05-31T09:38:50.919+0000 7fea16bf6700 -1 WARNING: all dangerous and experimental features are enabled.
a - 1 clients
=
+------+--------+-----+---------------+-------+-------+
| Rank | State  | MDS |    Activity   |  dns  |  inos |
+------+--------+-----+---------------+-------+-------+
|  0   | active |  a  | Reqs:    0 /s |   12  |   14  |
+------+--------+-----+---------------+-------+-------+
+---------------+----------+-------+-------+
|      Pool     |   type   |  used | avail |
+---------------+----------+-------+-------+
| cephfs.a.meta | metadata |  248M | 9015M |
| cephfs.a.data |   data   |    0  | 9015M |
+---------------+----------+-------+-------+
+-------------+
| Standby MDS |
+-------------+
|      b      |
|      c      |
+-------------+
MDS version: ceph version Development (no_version) octopus (dev)

For dns (Dentries), CLI command switched from using mds.inodes to mds_mem.dn in this change , which suggests that mds_mem.dn is more clear and accurate than mds.inodes.

Also in MDS's counter chart on detail tab, currently counter mds.inodes are displayed. Which also inconsistent with inodes column in Ranks table (display mds_mem.ino counter).

ranks_table.png View (10.6 KB) Kiefer Chang, 05/31/2019 09:41 AM


Related issues

Copied to mgr - Backport #40685: nautilus: mgr/dashboard: Dentries value of MDS daemon in Filesystems page is inconsistent with "ceph fs stauts" output Resolved

History

#1 Updated by Lenz Grimmer 3 months ago

  • Subject changed from Dentries value of MDS daemon in Filesystems page is inconsistent with "ceph fs stauts" output to mgr/dashboard: Dentries value of MDS daemon in Filesystems page is inconsistent with "ceph fs stauts" output
  • Backport set to nautilus
  • Affected Versions v14.2.0, v14.2.1, v14.2.2 added

#2 Updated by Lenz Grimmer 3 months ago

  • Target version deleted (v15.0.0)

#3 Updated by Lenz Grimmer 3 months ago

Good spotting! I wonder if these metrics are used in any of the monitoring plugins, e.g. Prometheus?

#4 Updated by Kiefer Chang 2 months ago

Lenz Grimmer wrote:

Good spotting! I wonder if these metrics are used in any of the monitoring plugins, e.g. Prometheus?

Yes. They are exported by Prometheus module (test both in Octopus and Nautilus).
So it's possible to create a Grafana dashboard panel with fs metrics.

#5 Updated by Kiefer Chang 2 months ago

  • Status changed from New to Need Review
  • Assignee set to Kiefer Chang
  • Pull request ID set to 28505

#6 Updated by Lenz Grimmer about 2 months ago

  • Status changed from Need Review to Pending Backport

#7 Updated by Lenz Grimmer about 2 months ago

  • Target version set to v15.0.0

#8 Updated by Kiefer Chang about 1 month ago

  • Copied to Backport #40685: nautilus: mgr/dashboard: Dentries value of MDS daemon in Filesystems page is inconsistent with "ceph fs stauts" output added

#9 Updated by Ricardo Marques 1 day ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF