Project

General

Profile

Actions

Bug #59551

closed

mgr/stats: exception ValueError :invalid literal for int() with base 16: '0x'

Added by xinyu wang about 1 year ago. Updated 9 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Correctness/Safety
Target version:
% Done:

0%

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

Description

'ceph fs perf stats' command miss some metadata for cephfs client, such as kernel_version.

2023-04-25T19:28:29.089+0800 7f87064a8700 -1 mgr notify stats.notify:
2023-04-25T19:28:29.089+0800 7f87064a8700 -1 mgr notify Traceback (most recent call last):
  File "/opt/ceph/src/pybind/mgr/stats/module.py", line 32, in notify
    self.fs_perf_stats.notify_cmd(notify_id)
  File "/opt/ceph/src/pybind/mgr/stats/fs/perf_stats.py", line 177, in notify_cmd
    metric_features = int(metadata[CLIENT_METADATA_KEY]["metric_spec"]["metric_flags"]["feature_bits"], 16)
ValueError: invalid literal for int() with base 16: '0x'

Files

mgr.storage01.log (191 KB) mgr.storage01.log Eugen Block, 05/05/2023 07:37 AM
mds-session-ls.out (14.4 KB) mds-session-ls.out Eugen Block, 05/17/2023 12:51 PM

Related issues 3 (0 open3 closed)

Copied to CephFS - Backport #61734: pacific: mgr/stats: exception ValueError :invalid literal for int() with base 16: '0x'ResolvedJos CollinActions
Copied to CephFS - Backport #61735: reef: mgr/stats: exception ValueError :invalid literal for int() with base 16: '0x'ResolvedJos CollinActions
Copied to CephFS - Backport #61736: quincy: mgr/stats: exception ValueError :invalid literal for int() with base 16: '0x'ResolvedJos CollinActions
Actions

Also available in: Atom PDF