[CEPH] Less agressive checks in mgr deployment

Ceph cluster needs only one active manager to function properly.
This PS converts ceph-client-tests rules related to ceph-mgr deployment
from error into warning if the number of standby mgrs is less
than expected.

Change-Id: I53c83c872b95da645da69eabf0864daff842bbd1
This commit is contained in:
Sigunov, Vladimir (vs422h) 2022-03-04 16:36:09 -05:00
parent ebfd04448e
commit 80fe5d81cc
3 changed files with 4 additions and 3 deletions

View File

@ -15,6 +15,6 @@ apiVersion: v1
appVersion: v1.0.0
description: OpenStack-Helm Ceph Client
name: ceph-client
version: 0.1.31
version: 0.1.32
home: https://github.com/ceph/ceph-client
...

View File

@ -117,8 +117,8 @@ function mgr_validation() {
then
echo "Cluster has 1 Active MGR, $mgr_stdby_count Standbys MGR"
else
echo "Cluster Standbys MGR: Expected count= $expected_standbys Available=$mgr_stdby_count"
retcode=1
echo "Warning. Cluster Standbys MGR: Expected count= $expected_standbys Available=$mgr_stdby_count"
echo "If this is not expected behavior, please investigate and take some additional actions."
fi
else

View File

@ -32,4 +32,5 @@ ceph-client:
- 0.1.29 Consolidate mon_host discovery
- 0.1.30 Move ceph-mgr deployment to the ceph-mon chart
- 0.1.31 Consolidate mon_endpoints discovery
- 0.1.32 Simplify test rules for ceph-mgr deployment
...