Skip to content

Commit

Permalink
fix up
Browse files Browse the repository at this point in the history
Signed-off-by: Mahesh Shetty <[email protected]>
  • Loading branch information
mashetty330 committed Sep 6, 2023
1 parent d50dadb commit 7dbba44
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions ocs_ci/ocs/ocs_upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,13 +184,21 @@ def verify_image_versions(old_images, upgrade_version, version_before_upgrade):
config.DEPLOYMENT.get("external_mode")
or config.ENV_DATA.get("mcg_only_deployment")
):
if config.DEPLOYMENT.get("arbiter_deployment") is True:
mon_count = 5
mgr_count = 2
else:
mon_count = 3
mgr_count = 1
verify_pods_upgraded(
old_images,
selector=constants.MON_APP_LABEL,
count=3,
count=mon_count,
timeout=820,
)
verify_pods_upgraded(old_images, selector=constants.MGR_APP_LABEL)
verify_pods_upgraded(
old_images, selector=constants.MGR_APP_LABEL, count=mgr_count
)
osd_timeout = 600 if upgrade_version >= parse_version("4.5") else 750
osd_count = get_osd_count()
# In the debugging issue:
Expand Down

0 comments on commit 7dbba44

Please sign in to comment.