From: dparmar18 Date: Tue, 14 Jun 2022 20:30:48 +0000 (+0530) Subject: pybind/mgr/cephadm/serve: don't remove ceph.conf which leads to qa failure X-Git-Tag: v16.2.11~103^2~12^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=8826c9c49540472440e12a62179e83704009d317;p=ceph.git 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) --- 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