From ea3bdc6f678bf8be0f7cd573fb4587daad814c26 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 --- 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 1f9fa74f4256f..69a4f362dc6dc 100755 --- a/src/pybind/mgr/dashboard/services/rgw_client.py +++ b/src/pybind/mgr/dashboard/services/rgw_client.py @@ -1145,6 +1145,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 replace_hostname(self, endpoint, hostname_to_ip): # Replace the hostname in the endpoint URL with its corresponding IP address. -- 2.39.5