From cfb985d4f3db9f4abb09887f20e5190a64ee5d23 Mon Sep 17 00:00:00 2001 From: Gil Bregman Date: Wed, 15 Oct 2025 11:30:08 +0300 Subject: [PATCH] mgr/cephadm: Increase the default expiration time for NVMEoF subsystem cache Fixes: https://tracker.ceph.com/issues/73542 Signed-off-by: Gil Bregman --- src/pybind/mgr/cephadm/tests/test_services.py | 2 +- src/python-common/ceph/deployment/service_spec.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pybind/mgr/cephadm/tests/test_services.py b/src/pybind/mgr/cephadm/tests/test_services.py index 65a9869012eb9..b411d9483f61b 100644 --- a/src/pybind/mgr/cephadm/tests/test_services.py +++ b/src/pybind/mgr/cephadm/tests/test_services.py @@ -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] diff --git a/src/python-common/ceph/deployment/service_spec.py b/src/python-common/ceph/deployment/service_spec.py index 802a5ef610e40..b773a17d12cf7 100644 --- a/src/python-common/ceph/deployment/service_spec.py +++ b/src/python-common/ceph/deployment/service_spec.py @@ -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, -- 2.39.5