lvm-osds: check for osd_objectstore == 'filestore'

ceph-volume currently only has support for filestore, not bluestore

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
pull/1716/head
Andrew Schoen 2017-07-26 11:26:57 -05:00
parent 61d63f8468
commit 96c92a154e
1 changed files with 10 additions and 0 deletions

View File

@ -56,6 +56,16 @@
- not osd_auto_discovery - not osd_auto_discovery
- lvm_volumes|length == 0 - lvm_volumes|length == 0
- name: verify osd_objectstore is 'filestore' when using lvm_osds
fail:
msg: "the lvm_osds scenario currently only works for filestore, not bluestore"
when:
- osd_group_name is defined
- osd_group_name in group_names
- lvm_osds
- not osd_auto_discovery
- osd_objectstore != 'filestore'
- name: make sure the lvm_volumes variable is a dictionary - name: make sure the lvm_volumes variable is a dictionary
fail: fail:
msg: "lvm_volumes: must be a dictionary" msg: "lvm_volumes: must be a dictionary"