canonical / canonical/microceph

`microceph disk list` shows un-supported disks as well

Open
#243 1 comment 0 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
Go
Stars
396
Forks
74
Avg merge
2d 20h
Merged PRs (30d)
7

Description

Suggestion to only show OSD supported disk types in the output of `disk list` command.
```
# sudo microceph disk list
Disks configured in MicroCeph:
+-----+-----------------------+--------------------------------------------------------+
| OSD | LOCATION | PATH |
+-----+-----------------------+--------------------------------------------------------+
| 0 | ubuntu-ceph-03N4-KKJ8 | /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_lxd_vol--ADPL |
+-----+-----------------------+--------------------------------------------------------+
| 1 | ubuntu-ceph-03N4-KKJ8 | /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_lxd_vol--R592 |
+-----+-----------------------+--------------------------------------------------------+
| 2 | ubuntu-ceph-03N4-KKJ8 | /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_lxd_vol--WDXG |
+-----+-----------------------+--------------------------------------------------------+

Available unpartitioned disks on this system:
+-------------+-----------+-------+---------------------------------------------------+
| MODEL | CAPACITY | TYPE | PATH |
+-------------+-----------+-------+---------------------------------------------------+
| QEMU CD-ROM | 368.00KiB | cdrom | /dev/disk/by-id/scsi-0QEMU_QEMU_CD-ROM_lxd_config |
+-------------+-----------+-------+---------------------------------------------------+
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.