Actions
Bug #63836
openOSD:oldest_map/newest_map should be displayed directly in the ceph daemon osd.x status command
% Done:
0%
Source:
Community (user)
Tags:
Backport:
reef,quincy
Regression:
No
Severity:
5 - suggestion
Reviewed:
Affected Versions:
ceph-qa-suite:
rados
Component(RADOS):
OSD
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Question:
- ceph daemon osd.x status
# ceph daemon osd.0 status { "cluster_fsid": "6bcb6246-8477-4831-ad89-ce37fd398ef7", "osd_fsid": "cdf2eea5-936a-4086-8192-f49aa8225866", "whoami": 0, "state": "active", "maps": "[1263~525]", //1263 + 525 -1 = 1787 "cluster_osdmap_trim_lower_bound": 1263, "num_pgs": 128 }
- When osd status is displayed, only superblock.maps (begin ~ len) can be seen.
- This requires analysts to process the maps data to obtain the oldest_map and newest_map held by the current osd.
- Moreover, it cannot be simply added. Pay attention to the boundaries。
- This is not very friendly
Desired display effect:
# ceph daemon osd.0 status { "cluster_fsid": "6bcb6246-8477-4831-ad89-ce37fd398ef7", "osd_fsid": "cdf2eea5-936a-4086-8192-f49aa8225866", "whoami": 0, "state": "active", "maps": "[1263~531]", // 1263 + 531 - 1 = 1793 "oldest_map": "1263", "newest_map": "1793", "cluster_osdmap_trim_lower_bound": 1263, "num_pgs": 128 }
Actions