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/5639/head
parent
d4dc674fa4
commit
8632db7cb8
|
@ -1,11 +1,2 @@
|
||||||
---
|
---
|
||||||
journal_size: 100
|
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
|
mon0
|
||||||
|
|
||||||
[osds]
|
[osds]
|
||||||
osd0
|
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
|
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
|
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
|
# DEFINE THE NUMBER OF VMS TO RUN
|
||||||
mon_vms: 1
|
mon_vms: 1
|
||||||
osd_vms: 3
|
osd_vms: 4
|
||||||
mds_vms: 0
|
mds_vms: 0
|
||||||
rgw_vms: 0
|
rgw_vms: 0
|
||||||
nfs_vms: 0
|
nfs_vms: 0
|
||||||
|
|
|
@ -2,12 +2,3 @@
|
||||||
os_tuning_params:
|
os_tuning_params:
|
||||||
- { name: fs.file-max, value: 26234859 }
|
- { name: fs.file-max, value: 26234859 }
|
||||||
journal_size: 100
|
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
|
mon0 monitor_address=192.168.71.10
|
||||||
|
|
||||||
[osds]
|
[osds]
|
||||||
osd0
|
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
|
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
|
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
|
# DEFINE THE NUMBER OF VMS TO RUN
|
||||||
mon_vms: 1
|
mon_vms: 1
|
||||||
osd_vms: 3
|
osd_vms: 4
|
||||||
mds_vms: 0
|
mds_vms: 0
|
||||||
rgw_vms: 0
|
rgw_vms: 0
|
||||||
nfs_vms: 0
|
nfs_vms: 0
|
||||||
|
|
Loading…
Reference in New Issue