diff --git a/roles/ceph-osd/defaults/main.yml b/roles/ceph-osd/defaults/main.yml index c33d5447f..a8e702c48 100644 --- a/roles/ceph-osd/defaults/main.yml +++ b/roles/ceph-osd/defaults/main.yml @@ -217,6 +217,7 @@ bluestore_wal_devices: "{{ dedicated_devices }}" # - data: /dev/sdb1 lvm_volumes: [] +crush_device_class: "" ########## diff --git a/roles/ceph-osd/tasks/scenarios/lvm-batch.yml b/roles/ceph-osd/tasks/scenarios/lvm-batch.yml index 4381eece2..fcee4f9d2 100644 --- a/roles/ceph-osd/tasks/scenarios/lvm-batch.yml +++ b/roles/ceph-osd/tasks/scenarios/lvm-batch.yml @@ -6,6 +6,7 @@ objectstore: "{{ osd_objectstore }}" batch_devices: "{{ devices }}" dmcrypt: "{{ dmcrypt|default(omit) }}" + crush_device_class: "{{ crush_device_class|default(omit) }}" action: "batch" environment: CEPH_VOLUME_DEBUG: 1