]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests: leave an OSD node in default crush root
authorGuillaume Abrioux <gabrioux@redhat.com>
Thu, 26 Jul 2018 14:43:35 +0000 (16:43 +0200)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Thu, 26 Jul 2018 18:47:10 +0000 (18:47 +0000)
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>
tests/functional/centos/7/cluster/hosts
tests/functional/centos/7/cluster/vagrant_variables.yml

index 323a1d6492152156076aab9318aa07f991333385..8b193dcfec33227019317c1faf67d73e66e28764 100644 (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
index 1b3c5f849c01b15c4fff7b9fc21b88dbe91f8b75..1e062066a78de35abe2722e48a158a645cd479e9 100644 (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