Feature #22674
mon: support device class with `osd new` as a JSON key
Start date:
01/12/2018
Due date:
% Done:
0%
Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Description
The current implementation for defining device classes when an OSD is created is by creating the following file:
/var/lib/ceph/osd/<cluster>-<osd-id>/crush_device_class
It would nice to just declare the device class in the JSON that is sent over when creating the OSD instead of using the file.
The ceph-volume implementation is adding support for device class, so this must be addressed before ceph-volume changes.
It would be nice to keep the file name as the key for the JSON, to keep consistency:
{ "crush_device_class": "value" }
Related to ceph-volume Bugzilla issue: https://bugzilla.redhat.com/show_bug.cgi?id=1498521
History
#1 Updated by Andrew Schoen 3 months ago
- Status changed from New to Need Review
ceph changes here: https://github.com/ceph/ceph/pull/19939
ceph-volume and ceph-disk support here: https://github.com/ceph/ceph/pull/19949
ceph-ansible support: https://github.com/ceph/ceph-ansible/pull/2318
#2 Updated by Alfredo Deza about 2 months ago
- Status changed from Need Review to Resolved
- Target version set to v12.2.4