Bug #52904
openzram devices should not be displayed as disk devices by ceph-volume
0%
Description
Currently zram shows as a device to ceph-volume. These devices are volatile and not really usable by ceph, so it would make sense to exclude zram* from the block devices that are returned during inventory.
e.g.
[ceph: root@f34cluster /]# ceph-volume inventory
Device Path Size rotates available Model name
/dev/sda 32.00 GB True False Virtual disk
/dev/sdb 1024.00 GB True False Virtual disk
/dev/sdc 1024.00 GB True False Virtual disk
/dev/sdd 1024.00 GB True False Virtual disk
/dev/zram0 7.75 GB False False
if they are masked by ceph-volume then all consumers of this data would also benefit (orch device ls, the UI etc)
A similar issue exists in the cephadm gather-facts code (will raise as a separate tracker)
The presence of zram was first raised in https://tracker.ceph.com/issues/47978 (October 2020)
No data to display