Bug #45872
ceph orch device ls exposes the `device_id` under the DEVICES column which isn't too useful for the user
% Done:
0%
Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Description
Instead of just listing the device_id, we should consider adding columns for disk properties that can be filtered for in the drivegroup/osdspec.
HOST PATH TYPE SIZE DEVICE MODEL VENDOR ROTATIONAL AVAIL REJECT REASONS cephadm-dev /dev/vdb hdd 25.0G foo model_str vendor_str 1|0 False Insufficient space (<5GB) on vgs, LVM detected, locked
This will extend the table quite a bit, so maybe we should limit the output to only the more relevant attributes. Alternatively there can be a `--long|--details` or similar switch to extend the output.
Related issues
History
#1 Updated by Sebastian Wagner almost 4 years ago
- Description updated (diff)
#2 Updated by Sebastian Wagner almost 4 years ago
what about poiting users to --format yaml? that would be an easy fix.
#3 Updated by Joshua Schmid almost 4 years ago
Sebastian Wagner wrote:
what about poiting users to --format yaml? that would be an easy fix.
Yep, taht's probably an accepted workaround. However this will hit you hard when the cluster is bigger. The proper fix for this would be to only list columns that we support in the DriveGroups.
#4 Updated by Joshua Schmid over 3 years ago
- Status changed from New to Fix Under Review
- Pull request ID set to 35946
#5 Updated by Sebastian Wagner over 3 years ago
- Status changed from Fix Under Review to Pending Backport
#6 Updated by Sebastian Wagner over 3 years ago
- Status changed from Pending Backport to Resolved
- Target version changed from v16.0.0 to v15.2.5
#7 Updated by Sebastian Wagner over 3 years ago
- Related to Feature #47165: Update orch device ls (plain) to show the LSM data now available from ceph-volume added