]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/cephadm: Increase the default expiration time for NVMEoF subsystem cache 65955/head
authorGil Bregman <gbregman@il.ibm.com>
Wed, 15 Oct 2025 08:30:08 +0000 (11:30 +0300)
committerGil Bregman <gbregman@il.ibm.com>
Wed, 15 Oct 2025 10:55:24 +0000 (13:55 +0300)
Fixes: https://tracker.ceph.com/issues/73542
Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
src/pybind/mgr/cephadm/tests/test_services.py
src/python-common/ceph/deployment/service_spec.py

index 65a9869012eb9dc46b9da24f473739727fce4577..b411d9483f61bcf7ebf80235c029cf9929e24c6a 100644 (file)
@@ -496,7 +496,7 @@ max_hosts = 2048
 max_namespaces = 4096
 max_namespaces_per_subsystem = 512
 max_hosts_per_subsystem = 128
-subsystem_cache_expiration = 5
+subsystem_cache_expiration = 30
 force_tls = False
 
 [gateway-logs]
index 802a5ef610e40456420c5d9edbcdd9d90c62d01a..b773a17d12cf780904e771ac7025143e9aa828be 100644 (file)
@@ -1690,7 +1690,7 @@ class NvmeofServiceSpec(ServiceSpec):
                  max_namespaces: Optional[int] = 4096,
                  max_namespaces_per_subsystem: Optional[int] = 512,
                  max_hosts_per_subsystem: Optional[int] = 128,
-                 subsystem_cache_expiration: Optional[int] = 5,
+                 subsystem_cache_expiration: Optional[int] = 30,
                  force_tls: Optional[bool] = False,
                  server_key: Optional[str] = None,
                  server_cert: Optional[str] = None,