Project

General

Profile

Actions

Bug #40097

closed

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

Added by Kiefer Chang almost 5 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Component - CephFS
Target version:
% Done:

0%

Source:
Tags:
Backport:
nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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).


Files

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

Related issues 1 (0 open1 closed)

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

Also available in: Atom PDF