This also updates the tests
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
- name: use ceph-volume to create filestore osds with dedicated journals
command: "ceph-volume lvm create --filestore --data {{ item.data_vg }}/{{ item.data }} --journal {{ item.journal }}"
with_items: "{{ lvm_volumes }}"
+ when:
+ - item.journal_vg is not defined
+
+- name: use ceph-volume to create filestore osds with dedicated lv journals
+ command: "ceph-volume lvm create --filestore --data {{ item.data_vg }}/{{ item.data }} --journal {{item.journal_vg }}/{{ item.journal }}"
+ with_items: "{{ lvm_volumes }}"
+ when:
+ - item.journal_vg is defined
---
-ceph_stable: True
+ceph_origin: repository
+ceph_repository: community
cluster: ceph
public_network: "192.168.3.0/24"
cluster_network: "192.168.4.0/24"
copy_admin_key: true
# test-volume is created by tests/functional/lvm_setup.yml from /dev/sdb
lvm_volumes:
- - data: test_volume
- journal: /dev/sdc
+ - data: data-lv1
+ journal: /dev/sdc1
data_vg: test_group
+ - data: data-lv2
+ journal: journal1
+ data_vg: test_group
+ journal_vg: journals
os_tuning_params:
- { name: kernel.pid_max, value: 4194303 }
- { name: fs.file-max, value: 26234859 }