Actions
Feature #22674
closedmon: support device class with `osd new` as a JSON key
Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:
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
Updated by Andrew Schoen over 6 years ago
- Status changed from New to Fix Under 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
Updated by Alfredo Deza about 6 years ago
- Status changed from Fix Under Review to Resolved
- Target version set to v12.2.4
Actions