From: Aashish Sharma Date: Fri, 20 Sep 2024 05:25:26 +0000 (+0530) Subject: mgr/dashboard: update period after migrating to multisite X-Git-Tag: v19.2.1~196^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F59964%2Fhead;p=ceph.git 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) --- diff --git a/src/pybind/mgr/dashboard/services/rgw_client.py b/src/pybind/mgr/dashboard/services/rgw_client.py index d72edfeb044..ae59f61ccd9 100755 --- a/src/pybind/mgr/dashboard/services/rgw_client.py +++ b/src/pybind/mgr/dashboard/services/rgw_client.py @@ -1218,6 +1218,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']