ceph orch device ls exposes the `device_id` under the DEVICES column which isn't too useful for the user
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.
#3 Updated by Joshua Schmid over 2 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.