Merge "Retry setting rbd_stats_pools prometheus config"

This commit is contained in:
Zuul 2024-01-10 07:45:07 +00:00 committed by Gerrit Code Review
commit 7223f2634f
1 changed files with 4 additions and 0 deletions

View File

@ -420,6 +420,10 @@ def _set_require_osd_release(release):
raise OsdPostUpgradeError(call_error)
@tenacity.retry(
wait=tenacity.wait_exponential(multiplier=1, max=10),
reraise=True,
stop=tenacity.stop_after_attempt(30))
def mgr_config_set_rbd_stats_pools():
"""Update ceph mgr config with the value from rbd-status-pools config
"""