From 100b2c5209c122a7a4eaaa946422ba42eca6cb16 Mon Sep 17 00:00:00 2001 From: Aashish Sharma Date: Fri, 20 Sep 2024 10:55:26 +0530 Subject: [PATCH] mgr/dashboard: update period after migrating to multisite Fixes: https://tracker.ceph.com/issues/68161 Signed-off-by: Aashish Sharma (cherry picked from commit ea3bdc6f678bf8be0f7cd573fb4587daad814c26) --- src/pybind/mgr/dashboard/services/rgw_client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pybind/mgr/dashboard/services/rgw_client.py b/src/pybind/mgr/dashboard/services/rgw_client.py index aed70260362ef..87baee11de995 100644 --- a/src/pybind/mgr/dashboard/services/rgw_client.py +++ b/src/pybind/mgr/dashboard/services/rgw_client.py @@ -1060,6 +1060,7 @@ class RgwMultisite: http_status_code=500, component='rgw') except SubprocessError as error: raise DashboardException(error, http_status_code=500, component='rgw') + self.update_period() def create_realm(self, realm_name: str, default: bool): rgw_realm_create_cmd = ['realm', 'create'] -- 2.39.5