Skip to content

Commit

Permalink
Add retry for CNV subscription
Browse files Browse the repository at this point in the history
Signed-off-by: Petr Balogh <[email protected]>
  • Loading branch information
petr-balogh committed Dec 13, 2024
1 parent 6584043 commit 0cb3d03
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ocs_ci/deployment/cnv.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ def create_cnv_operatorgroup(self):
if "kubevirt-hyperconverged-group already exists" in str(ef):
logger.info("kubevirt-hyperconverged-group already exists")

@retry(exceptions.CommandFailed, tries=5, delay=60, backoff=1)
def create_cnv_subscription(self):
"""
Creates subscription for CNV operator
Expand Down

0 comments on commit 0cb3d03

Please sign in to comment.