]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr/dashboard: update period after migrating to multisite
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:13:16 +0000 (10:43 +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 d72edfeb04444d9d2c7bfeee435f0971859fbb13..ae59f61ccd98f7a1d6a9a75ee61eb6ebcee10d23 100755 (executable)
@@ -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']