mirror of https://github.com/ceph/ceph-ansible.git
tests: refact shrink_osd scenario
This adds more coverage on the shrink_osd scenario.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 7efea219d6
)
pull/5259/head
parent
34dacabfb9
commit
bd5cde631b
|
@ -1,11 +1,2 @@
|
|||
---
|
||||
journal_size: 100
|
||||
osd_objectstore: "filestore"
|
||||
lvm_volumes:
|
||||
- data: data-lv1
|
||||
journal: /dev/sdc1
|
||||
data_vg: test_group
|
||||
- data: data-lv2
|
||||
journal: journal1
|
||||
data_vg: test_group
|
||||
journal_vg: journals
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
mon0
|
||||
|
||||
[osds]
|
||||
osd0
|
||||
osd1
|
||||
osd2
|
||||
osd0 osd_objectstore=filestore lvm_volumes="[{'data': 'data-lv1', 'journal': '/dev/sdc1', 'data_vg': 'test_group'},{'data': 'data-lv2', 'data_vg': 'test_group', 'journal': 'journal1', 'journal_vg': 'journals'}]"
|
||||
osd1 osd_objectstore=filestore lvm_volumes="[{'data': 'data-lv1', 'journal': '/dev/sdc1', 'data_vg': 'test_group'},{'data': 'data-lv2', 'data_vg': 'test_group', 'journal': 'journal1', 'journal_vg': 'journals'}]" dmcrypt=true
|
||||
osd2 osd_objectstore=bluestore lvm_volumes="[{'data': 'data-lv1', 'data_vg': 'test_group'},{'data': 'data-lv2', 'data_vg': 'test_group', 'db': 'journal1', 'db_vg': 'journals'}]"
|
||||
osd3 osd_objectstore=bluestore lvm_volumes="[{'data': 'data-lv1', 'data_vg': 'test_group'},{'data': 'data-lv2', 'data_vg': 'test_group'}]" dmcrypt=true
|
|
@ -5,7 +5,7 @@ docker: True
|
|||
|
||||
# DEFINE THE NUMBER OF VMS TO RUN
|
||||
mon_vms: 1
|
||||
osd_vms: 3
|
||||
osd_vms: 4
|
||||
mds_vms: 0
|
||||
rgw_vms: 0
|
||||
nfs_vms: 0
|
||||
|
|
|
@ -2,12 +2,3 @@
|
|||
os_tuning_params:
|
||||
- { name: fs.file-max, value: 26234859 }
|
||||
journal_size: 100
|
||||
osd_objectstore: "filestore"
|
||||
lvm_volumes:
|
||||
- data: data-lv1
|
||||
journal: /dev/sdc1
|
||||
data_vg: test_group
|
||||
- data: data-lv2
|
||||
journal: journal1
|
||||
data_vg: test_group
|
||||
journal_vg: journals
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
mon0 monitor_address=192.168.71.10
|
||||
|
||||
[osds]
|
||||
osd0
|
||||
osd1
|
||||
osd2
|
||||
osd0 osd_objectstore=filestore lvm_volumes="[{'data': 'data-lv1', 'journal': '/dev/sdc1', 'data_vg': 'test_group'},{'data': 'data-lv2', 'data_vg': 'test_group', 'journal': 'journal1', 'journal_vg': 'journals'}]"
|
||||
osd1 osd_objectstore=filestore lvm_volumes="[{'data': 'data-lv1', 'journal': '/dev/sdc1', 'data_vg': 'test_group'},{'data': 'data-lv2', 'data_vg': 'test_group', 'journal': 'journal1', 'journal_vg': 'journals'}]" dmcrypt=true
|
||||
osd2 osd_objectstore=bluestore lvm_volumes="[{'data': 'data-lv1', 'data_vg': 'test_group'},{'data': 'data-lv2', 'data_vg': 'test_group', 'db': 'journal1', 'db_vg': 'journals'}]"
|
||||
osd3 osd_objectstore=bluestore lvm_volumes="[{'data': 'data-lv1', 'data_vg': 'test_group'},{'data': 'data-lv2', 'data_vg': 'test_group'}]" dmcrypt=true
|
||||
|
|
|
@ -5,7 +5,7 @@ docker: false
|
|||
|
||||
# DEFINE THE NUMBER OF VMS TO RUN
|
||||
mon_vms: 1
|
||||
osd_vms: 3
|
||||
osd_vms: 4
|
||||
mds_vms: 0
|
||||
rgw_vms: 0
|
||||
nfs_vms: 0
|
||||
|
|
Loading…
Reference in New Issue