diff --git a/ocs_ci/ocs/cluster.py b/ocs_ci/ocs/cluster.py index dfd5ed8b50d5..d811e37ee54e 100644 --- a/ocs_ci/ocs/cluster.py +++ b/ocs_ci/ocs/cluster.py @@ -1239,10 +1239,10 @@ def validate_pdb_creation(): ) item_list = pdb_obj.get().get("items") pdb_count = constants.PDB_COUNT - pdb_required = [constants.MDS_PDB, constants.MON_PDB, constants.OSD_PDB] + pdb_required = [constants.MDS_PDB, constants.MON_PDB, constants.OSD_PDB, constants.MGR_PDB] if config.DEPLOYMENT.get("arbiter_deployment"): pdb_count = constants.PDB_COUNT_ARBITER - pdb_required.extend((constants.MGR_PDB, constants.RGW_PDB)) + pdb_required.extend(constants.RGW_PDB) if len(item_list) != pdb_count: raise PDBNotCreatedException( f"Not All PDB's created. Expected {pdb_count} PDB's but found {len(item_list)}" diff --git a/ocs_ci/ocs/constants.py b/ocs_ci/ocs/constants.py index fb0e87df186e..570f41e11713 100644 --- a/ocs_ci/ocs/constants.py +++ b/ocs_ci/ocs/constants.py @@ -1215,7 +1215,7 @@ MON_PDB = "rook-ceph-mon-pdb" MGR_PDB = "rook-ceph-mgr-pdb" RGW_PDB = "rook-ceph-rgw-ocs-storagecluster-cephobjectstore" -PDB_COUNT = 3 +PDB_COUNT = 4 PDB_COUNT_ARBITER = 5 # Root Disk size