Feature #10452
ceph osd df
0%
Description
command that will output a table of
- osd id (or crush tree node?)
- crush weight
- reweight weight
- actual reported utilization
- variation from average (e.g., 1.23, .87)
and at the end include
- average
- min variation
- max variation
- standard deviation (of normalized actual_osd_utilization/crush_weight/reweight value)
i can't decide whether it makes sense to make this look like the ceph osd tree output or not.. it might be interesting to see the utilization stats for hosts and racks too.
Associated revisions
mon: ceph osd df -- a new command to show OSD utilization
Fixes: #10452
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
History
#1 Updated by Michael Kidd over 8 years ago
Sage Weil wrote:
i can't decide whether it makes sense to make this look like the ceph osd tree output or not.. it might be interesting to see the utilization stats for hosts and racks too.
I think it'd make a lot of sense to add a '--detail' or similar switch for osd tree which adds these additional outputs. Per-branch stats would also make sense in this context since OSD tree already breaks them out.
#2 Updated by Travis Rhoden over 8 years ago
This would indeed be a nice feature. At Penguin, we had written some scripts that output the same information (but getting it from the nodes instead of the mon), and also had the ability to only show nodes above/below a certain percentage full, mainly to look for statistical outliers. Showing the avg and std dev info would make that very obvious.
#3 Updated by Neil Levine over 8 years ago
I'd really like this data to be exposed up through Calamari too...
#4 Updated by Sage Weil over 8 years ago
- Target version changed from v0.92 to v0.93 - Last Hammer Sprint
#5 Updated by Mykola Golub over 8 years ago
I created a pull request with incomplete implementation
https://github.com/ceph/ceph/pull/3347
more for discussion on this stage.
#6 Updated by Sage Weil over 8 years ago
- Status changed from New to 7
#7 Updated by Sage Weil over 8 years ago
- Status changed from 7 to Resolved