From bb2b4096d1b8cc9b230cc64204e30fe688244d96 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Wed, 29 Jul 2020 12:50:59 +0200 Subject: [PATCH] ceph: do not warn about no redundancy in test cluster In test environments the default pool size is set to 1, so there is no redundancy. This causes recent Ceph versions to complain with HEALTH_WARN as POOL_NO_REDUNDANCY get set. By disabling the mon_warn_on_pool_no_redundancy option in ceph.conf, the warning is not reported and the cluster is marked HEALTHY. Signed-off-by: Niels de Vos --- cluster/examples/kubernetes/ceph/cluster-test.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/cluster/examples/kubernetes/ceph/cluster-test.yaml b/cluster/examples/kubernetes/ceph/cluster-test.yaml index 7269a4b1d..8d1aca4e9 100644 --- a/cluster/examples/kubernetes/ceph/cluster-test.yaml +++ b/cluster/examples/kubernetes/ceph/cluster-test.yaml @@ -17,6 +17,7 @@ data: config: | [global] osd_pool_default_size = 1 + mon_warn_on_pool_no_redundancy = false --- apiVersion: ceph.rook.io/v1 kind: CephCluster