Actions
Bug #51113
closedmds: unknown metric type is always -1
% Done:
0%
Source:
Q/A
Tags:
Backport:
pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
fs
Component(FS):
MDS
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
The unknow metric type is always "-1", here is "4294967295":
2021-06-04T07:32:39.198+0000 7f97250d4700 5 mds.beacon.a received beacon reply up:active seq 5 rtt 0.000999979 2021-06-04T07:32:39.202+0000 7f97240d2700 1 -- [v2:172.21.15.161:6835/3192906421,v1:172.21.15.161:6837/3192906421] <== client.5014 v1:172.21.15.161:0/1777136766 4 ==== client_metrics [client_metric_type: CAP_INFO cap_hits: 3 cap_misses: 0 num_caps: 1][client_metric_type: READ_LATENCY latency: 0.000000][client_metric_type: WRITE_LATENCY latency: 0.000000][client_metric_type: METADATA_LATENCY latency: 4744.821000][client_metric_type: DENTRY_LEASE dlease_hits: 0 dlease_misses: 0 num_dentries: 1][client_metric_type: OPENED_FILES opened_files: 0 total_inodes: 1][client_metric_type: PINNED_ICAPS pinned_icaps: 1 total_inodes: 1][client_metric_type: OPENED_INODES opened_inodes: 0 total_inodes: 1][client_metric_type: (UNKNOWN:4294967295) ][client_metric_type: (UNKNOWN:4294967295) ] v1 ==== 256+0+0 (unknown 1590980218 0 0) 0x556e7f5fa2c0 con 0x556e7f631800 2021-06-04T07:32:39.202+0000 7f97240d2700 20 mds.0.22 get_session have 0x556e7f62de00 client.5014 v1:172.21.15.161:0/1777136766 state open 2021-06-04T07:32:39.202+0000 7f97240d2700 20 handle_client_metrics: mds.metrics: session=0x556e7f62de00
Updated by Xiubo Li almost 3 years ago
- Pull request ID set to 41723
After the fixing, the log will be like:
2021-06-07T09:44:29.491+0000 7fa9cd1b7700 20 mds.0.cache upkeep thread waiting interval 1.000000000s 2021-06-07T09:44:29.567+0000 7fa9d39c4700 1 -- [v2:172.21.15.23:6834/2870188952,v1:172.21.15.23:6835/2870188952] <== client.5130 v1:192.168.0.1:0/1482375237 4 ==== client_metrics [client_metric_type: CAP_INFO cap_hits: 3 cap_misses: 0 num_caps: 1][client_metric_type: READ_LATENCY latency: 0.000000][client_metric_type: WRITE_LATENCY latency: 0.000000][client_metric_type: METADATA_LATENCY latency: 31296.020000][client_metric_type: DENTRY_LEASE dlease_hits: 0 dlease_misses: 0 num_dentries: 1][client_metric_type: OPENED_FILES opened_files: 0 total_inodes: 1][client_metric_type: PINNED_ICAPS pinned_icaps: 1 total_inodes: 1][client_metric_type: OPENED_INODES opened_inodes: 0 total_inodes: 1][client_metric_type: (UNKNOWN:8) ][client_metric_type: (UNKNOWN:9) ] v1 ==== 256+0+0 (unknown 1328478275 0 0) 0x5628ee8e9760 con 0x5628ee912000 2021-06-07T09:44:29.567+0000 7fa9d39c4700 20 mds.0.11 get_session have 0x5628ee90c800 client.5130 v1:192.168.0.1:0/1482375237 state open 2021-06-07T09:44:29.567+0000 7fa9d39c4700 20 handle_client_metrics: mds.metrics: session=0x5628ee90c800 2021-06-07T09:44:29.567+0000 7fa9d39c4700 20 handle_payload: mds.metrics: type=CAP_INFO, session=0x5628ee90c800, hits=3, misses=0 2021-06-07T09:44:29.567+0000 7fa9d39c4700 20 handle_payload: mds.metrics: type=READ_LATENCY, session=0x5628ee90c800, latency=0.000000 2021-06-07T09:44:29.567+0000 7fa9d39c4700 20 handle_payload: mds.metrics: type=WRITE_LATENCY, session=0x5628ee90c800, latency=0.000000 2021-06-07T09:44:29.567+0000 7fa9d39c4700 20 handle_payload: mds.metrics: type=METADATA_LATENCY, session=0x5628ee90c800, latency=31296.020000 2021-06-07T09:44:29.567+0000 7fa9d39c4700 20 handle_payload: mds.metrics: type=DENTRY_LEASE, session=0x5628ee90c800, hits=0, misses=0 2021-06-07T09:44:29.567+0000 7fa9d39c4700 20 handle_payload: mds.metrics: type=OPENED_FILES, session=0x5628ee90c800, opened_files=0, total_inodes=1 2021-06-07T09:44:29.567+0000 7fa9d39c4700 20 handle_payload: mds.metrics: type=PINNED_ICAPS, session=0x5628ee90c800, pinned_icaps=1, total_inodes=1 2021-06-07T09:44:29.567+0000 7fa9d39c4700 20 handle_payload: mds.metrics: type=OPENED_INODES, session=0x5628ee90c800, opened_inodes=0, total_inodes=1 2021-06-07T09:44:29.567+0000 7fa9d39c4700 5 handle_payload: mds.metrics: type=Unknown, session=0x5628ee90c800, ignoring unknown payload 2021-06-07T09:44:29.567+0000 7fa9d39c4700 5 handle_payload: mds.metrics: type=Unknown, session=0x5628ee90c800, ignoring unknown payload 2021-06-07T09:44:29.683+0000 7fa9cf1bb700 5 mds.beacon.c Sending beacon up:active seq 5
Updated by Patrick Donnelly almost 3 years ago
- Status changed from New to Fix Under Review
- Assignee set to Xiubo Li
- Target version set to v17.0.0
- Source set to Q/A
- Backport set to pacific
Updated by Patrick Donnelly almost 3 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Backport Bot almost 3 years ago
- Copied to Backport #51285: pacific: mds: unknown metric type is always -1 added
Updated by Loïc Dachary over 2 years ago
- Status changed from Pending Backport to Resolved
While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".
Actions