]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: update period after migrating to multisite 59890/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>
Fri, 20 Sep 2024 05:27:36 +0000 (10:57 +0530)
Fixes: https://tracker.ceph.com/issues/68161
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
src/pybind/mgr/dashboard/services/rgw_client.py

index 1f9fa74f4256fca492ce3d8434878b1580dc289e..69a4f362dc6dcbf1a390fe6b904c7c214a055d01 100755 (executable)
@@ -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.