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: v18.0.0~566^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=6436acc4b51b52635f8fa0e56cd79ba66c028d81;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 --- diff --git a/src/pybind/mgr/cephadm/serve.py b/src/pybind/mgr/cephadm/serve.py index 2de63019f4ee7..a9c6390c91531 100644 --- a/src/pybind/mgr/cephadm/serve.py +++ b/src/pybind/mgr/cephadm/serve.py @@ -1069,6 +1069,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}') cmd = ['rm', '-f', path] self.mgr.ssh.check_execute_command(host, cmd)