Bug #23161
closedceph-volume lvm prepare option --crush-device-class not used
0%
Description
I can't reopen https://tracker.ceph.com/issues/23053
I updated to 12.2.3
I can now create the osd with a device class, but it doesn't result in the expected behaviour.
I can see the class overwrite in pvs output:
ceph.crush_device_class=ssd,ceph.encrypted=1,ceph.osd_fsid=7bceb016-42df-408a-b171-6a84f8fb9d4b,ceph.osd_id=18,ceph.type=block
but the new osd is listed in the crushmap as an hdd :
18 hdd 3.63869 osd.18 up 1.00000 1.00000
so it looks like the pv attributes are not checked when activating osd?
Thanks again!
Updated by Alfredo Deza about 6 years ago
- Status changed from New to Resolved
This is right from the ceph-volume perspective, for 12.2.3 we missed a PR that had the OSD changes required to make it work.
PR https://github.com/ceph/ceph/pull/19939
Backport https://github.com/ceph/ceph/pull/20405
This is ready for 12.2.4 if you can try that out.