ceph-volume: skip virtual cdrom devices in inventory
-Some hosts expose IPMI/BMC virtual media as /dev/sr0. These
devices are reported as SCSI type 5 (CD/DVD) via sysfs and
appear in inventory/orchestrator output.
-These are not real disks and cannot be used as OSD targets.
-Filter out devices with SCSI type 5 to avoid listing
virtual cdrom devices as valid OSD candidates.
Fixes:https://tracker.ceph.com/issues/75281
Signed-off-by: Ujjawal Anand <ujjawal.anand@ibm.com>
(cherry picked from commit
3706288bc050bb20d64fc9ac6a643aaf84ca041d)