]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: update period after migrating to multisite 59963/head
authorAashish Sharma <aasharma@li-e74156cc-2f67-11b2-a85c-e98659a63c5c.ibm.com>
Fri, 20 Sep 2024 05:25:26 +0000 (10:55 +0530)
committerAashish Sharma <aasharma@li-e74156cc-2f67-11b2-a85c-e98659a63c5c.ibm.com>
Wed, 25 Sep 2024 05:12:14 +0000 (10:42 +0530)
Fixes: https://tracker.ceph.com/issues/68161
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit ea3bdc6f678bf8be0f7cd573fb4587daad814c26)

src/pybind/mgr/dashboard/services/rgw_client.py

index aed70260362ef367115a4d4ff74441e174cf737c..87baee11de99585b159d3305a264983be70c93d4 100644 (file)
@@ -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']