From 8826c9c49540472440e12a62179e83704009d317 Mon Sep 17 00:00:00 2001 From: dparmar18 Date: Wed, 15 Jun 2022 02:00:48 +0530 Subject: [PATCH] pybind/mgr/cephadm/serve: don't remove ceph.conf which leads to qa failure Fixes: https://tracker.ceph.com/issues/56024 Signed-off-by: Dhairya Parmar (cherry picked from commit 6436acc4b51b52635f8fa0e56cd79ba66c028d81) --- src/pybind/mgr/cephadm/serve.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pybind/mgr/cephadm/serve.py b/src/pybind/mgr/cephadm/serve.py index 7e84583da1b78..7ac6fee88e2cd 100644 --- a/src/pybind/mgr/cephadm/serve.py +++ b/src/pybind/mgr/cephadm/serve.py @@ -1047,6 +1047,8 @@ class CephadmServe: self.mgr.cache.update_client_file(host, path, digest, mode, uid, gid) updated_files = True for path in old_files.keys(): + if path == '/etc/ceph/ceph.conf': + continue self.log.info(f'Removing {host}:{path}') with self._remote_connection(host) as tpl: conn, connr = tpl -- 2.39.5