raw list shouldn't list lvm OSDs.
This confuses the generic activate process given that it relies
on the raw list to detect which kind of OSD is being activated.
Fixes: https://tracker.ceph.com/issues/62002
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
# determine whether a parent is bluestore, we should err on the side of not reporting
# the child so as not to give a false negative.
info_device = [info for info in info_devices if info['NAME'] == dev][0]
+ if info_device['TYPE'] == 'lvm':
+ # lvm devices are not raw devices
+ continue
if 'PKNAME' in info_device and info_device['PKNAME'] != "":
parent = info_device['PKNAME']
try: