tests: leave an OSD node in default crush root

jewel used to create a default `rbd` pool in the default crush root
`default`, we need to have at least 1 osd to satisfy the PGs for this
created pool, otherwise the cluster will be in HEALTH_ERR state because
of `pgs stuck unclean`/`pgs stuck inactive`

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
pull/2954/head
Guillaume Abrioux 2018-07-26 16:43:35 +02:00 committed by mergify[bot]
parent a1ca2c8fd3
commit 578aa5c2d5
2 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@ ceph-mgr0
[osds]
ceph-osd0 osd_crush_location="{ 'root': 'HDD', 'rack': 'mon-rackkkk', 'pod': 'monpod', 'host': 'ceph-osd0' }"
ceph-osd1 osd_crush_location="{ 'root': 'default', 'host': 'ceph-osd1' }"
[mdss]
ceph-mds0

View File

@ -5,7 +5,7 @@ docker: false
# DEFINE THE NUMBER OF VMS TO RUN
mon_vms: 3
osd_vms: 1
osd_vms: 2
mds_vms: 1
rgw_vms: 1
nfs_vms: 1