mirror of https://github.com/ceph/ceph-ansible.git
test: add tests for creating crush tree
We now run tests on the newly created ceph_crush module. Now the CI will create a specific hierarchy for the OSD. Signed-off-by: Sébastien Han <seb@redhat.com>pull/2436/head
parent
73c4846744
commit
fc0fa48e0d
|
@ -2,3 +2,13 @@
|
|||
cephfs_pools:
|
||||
- { name: "{{ cephfs_data }}", pgs: "8" }
|
||||
- { name: "{{ cephfs_metadata }}", pgs: "8" }
|
||||
|
||||
create_crush_tree: True
|
||||
crush_rule_config: True
|
||||
crush_rule_hdd:
|
||||
name: HDD
|
||||
root: HDD
|
||||
type: host
|
||||
default: true
|
||||
crush_rules:
|
||||
- "{{ crush_rule_hdd }}"
|
||||
|
|
|
@ -7,7 +7,7 @@ ceph-mon2 monitor_address=192.168.1.12
|
|||
ceph-mgr0
|
||||
|
||||
[osds]
|
||||
ceph-osd0
|
||||
ceph-osd0 osd_crush_location="{ 'root': 'HDD', 'rack': 'mon-rackkkk', 'pod': 'monpod', 'host': 'ceph-osd0' }"
|
||||
|
||||
[mdss]
|
||||
ceph-mds0
|
||||
|
|
|
@ -2,3 +2,13 @@
|
|||
cephfs_pools:
|
||||
- { name: "{{ cephfs_data }}", pgs: "8" }
|
||||
- { name: "{{ cephfs_metadata }}", pgs: "8" }
|
||||
|
||||
create_crush_tree: True
|
||||
crush_rule_config: True
|
||||
crush_rule_hdd:
|
||||
name: HDD
|
||||
root: HDD
|
||||
type: host
|
||||
default: true
|
||||
crush_rules:
|
||||
- "{{ crush_rule_hdd }}"
|
||||
|
|
|
@ -7,7 +7,7 @@ mon2
|
|||
mgr0
|
||||
|
||||
[osds]
|
||||
osd0
|
||||
osd0 osd_crush_location="{ 'root': 'HDD', 'rack': 'mon-rackkkk', 'pod': 'monpod', 'host': 'osd0' }"
|
||||
|
||||
[mdss]
|
||||
mds0
|
||||
|
|
Loading…
Reference in New Issue