From: John Mulligan Date: Mon, 9 Mar 2026 20:03:57 +0000 (-0400) Subject: mgr/cephadm: remove special nfs if-block in _check_daemons X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2c6775715a50f4c9c3a7b1a812382f060fcc9aff;p=ceph.git mgr/cephadm: remove special nfs if-block in _check_daemons This is replaced with a nfs service class method. Signed-off-by: John Mulligan --- diff --git a/src/pybind/mgr/cephadm/serve.py b/src/pybind/mgr/cephadm/serve.py index 9146a925ff9e..2091c0ef052c 100644 --- a/src/pybind/mgr/cephadm/serve.py +++ b/src/pybind/mgr/cephadm/serve.py @@ -1213,11 +1213,6 @@ class CephadmServe: # the daemon is written, which we rewrite on redeploy, but not # on reconfig. action = 'redeploy' - elif dd.daemon_type == 'nfs': - # check what has changed, based on that decide action - only_kmip_updated = all(s.startswith('kmip') for s in list(sym_diff)) - if not only_kmip_updated: - action = 'redeploy' elif dd.daemon_type == 'haproxy': if spec and hasattr(spec, 'backend_service'): backend_spec = self.mgr.spec_store[spec.backend_service].spec