mirror of https://github.com/ceph/ceph-ansible.git
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
parent
61d63f8468
commit
96c92a154e
|
@ -56,6 +56,16 @@
|
|||
- not osd_auto_discovery
|
||||
- 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
|
||||
fail:
|
||||
msg: "lvm_volumes: must be a dictionary"
|
||||
|
|
Loading…
Reference in New Issue