ceph-osd: adds crush_device_class config option

This is used with the lvm osd scenario. When using devices you need the
option to set the crush device class for all of the OSDs that are
created from those devices.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
pull/2997/head
Andrew Schoen 2018-08-06 15:14:53 -05:00 committed by Alfredo Deza
parent 6d431ec22d
commit 3592c68cca
2 changed files with 2 additions and 0 deletions

View File

@ -217,6 +217,7 @@ bluestore_wal_devices: "{{ dedicated_devices }}"
# - data: /dev/sdb1 # - data: /dev/sdb1
lvm_volumes: [] lvm_volumes: []
crush_device_class: ""
########## ##########

View File

@ -6,6 +6,7 @@
objectstore: "{{ osd_objectstore }}" objectstore: "{{ osd_objectstore }}"
batch_devices: "{{ devices }}" batch_devices: "{{ devices }}"
dmcrypt: "{{ dmcrypt|default(omit) }}" dmcrypt: "{{ dmcrypt|default(omit) }}"
crush_device_class: "{{ crush_device_class|default(omit) }}"
action: "batch" action: "batch"
environment: environment:
CEPH_VOLUME_DEBUG: 1 CEPH_VOLUME_DEBUG: 1