This check does not require manually setting the number of expected
OSDs.
Initially, the charm sets the count (per-host) to that of what's
present in the OSD tree. The count will be updated (on a per-host
basis) when the number of OSDs grows, but not when it shrinks. There
is a charm action to reset the expected count using information from
the OSD tree.
Reviewed: https:/ /review. opendev. org/c/openstack /charm- ceph-mon/ +/822061 /opendev. org/openstack/ charm-ceph- mon/commit/ b8af44aefacacb2 86da1c56a5fcde6 f5a5511ffb
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit b8af44aefacacb2 86da1c56a5fcde6 f5a5511ffb
Author: Edin Sarajlic <email address hidden>
Date: Fri Dec 17 08:45:02 2021 +0800
Add nagios check for expected number of OSDs
This check does not require manually setting the number of expected
OSDs.
Initially, the charm sets the count (per-host) to that of what's
present in the OSD tree. The count will be updated (on a per-host
basis) when the number of OSDs grows, but not when it shrinks. There
is a charm action to reset the expected count using information from
the OSD tree.
Closes-Bug: #1952985 c1d4159e6bdffa7 bfe1f0a7988
Change-Id: Ia6a060bf151908