From: Gil Bregman Date: Wed, 15 Oct 2025 08:30:08 +0000 (+0300) Subject: mgr/cephadm: Increase the default expiration time for NVMEoF subsystem cache X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=cfb985d4f3db9f4abb09887f20e5190a64ee5d23;p=ceph.git mgr/cephadm: Increase the default expiration time for NVMEoF subsystem cache Fixes: https://tracker.ceph.com/issues/73542 Signed-off-by: Gil Bregman --- 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,