Project

General

Profile

Actions

Backport #55991

closed

pacific: Allow setting crush_device_class in OSD service specs

Added by Backport Bot almost 2 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
Release:
pacific
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Related issues 1 (0 open1 closed)

Copied from Orchestrator - Feature #55813: Allow setting crush_device_class in OSD service specsResolvedCory Snyder

Actions
Actions #1

Updated by Backport Bot almost 2 years ago

  • Copied from Feature #55813: Allow setting crush_device_class in OSD service specs added
Actions #2

Updated by Adam King almost 2 years ago

  • Status changed from New to Resolved
Actions #3

Updated by Eugen Block over 1 year ago

I just tried to use the feature "crush_device_class" as it's supposed to be available, but it fails (I try to create an invalid class intentionally, it fails with a correct one as well):

quincy:~ # cat test-hdd.yml
service_type: osd
service_id: test-hdd
service_name: test-hdd
placement:
  hosts:
  - quincy
spec:
  data_devices:
    rotational: 1
    size: '20G:'
  filter_logic: AND
  objectstore: bluestore
  crush_device_class: "JBOD.hdd" 

quincy:~ # ceph orch apply -i test-hdd.yml 
Error EINVAL: Failed to validate OSD spec "test-hdd": Feature `crush_device_class` is not supported

quincy:~ # ceph versions
{
    "mon": {
        "ceph version 17.2.3 (dff484dfc9e19a9819f375586300b3b79d80034d) quincy (stable)": 3
    },
    "mgr": {
        "ceph version 17.2.3 (dff484dfc9e19a9819f375586300b3b79d80034d) quincy (stable)": 3
    },
    "osd": {
        "ceph version 17.2.3 (dff484dfc9e19a9819f375586300b3b79d80034d) quincy (stable)": 9
    },
    "mds": {
        "ceph version 17.2.3 (dff484dfc9e19a9819f375586300b3b79d80034d) quincy (stable)": 3
    },
    "overall": {
        "ceph version 17.2.3 (dff484dfc9e19a9819f375586300b3b79d80034d) quincy (stable)": 18
    }
}

The same applies to the quincy backport [1].

[1] https://tracker.ceph.com/issues/55992

Actions

Also available in: Atom PDF