From edc6f9f595a24aa7dfbebf0b1d574d183d9c660f Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 27 Mar 2020 10:43:11 -0500 Subject: [PATCH] qa/tasks/cephadm: no need to explicitly reconfig cephadm does this magically now. Signed-off-by: Sage Weil (cherry picked from commit 65ad142d59b40f2c87fbfa9b593a7f4c367d3c42) --- qa/tasks/cephadm.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/qa/tasks/cephadm.py b/qa/tasks/cephadm.py index 61ee8d8a9feec..666dae824d8e8 100644 --- a/qa/tasks/cephadm.py +++ b/qa/tasks/cephadm.py @@ -529,20 +529,6 @@ def ceph_mons(ctx, config): ) ctx.ceph[cluster_name].config_file = r.stdout.getvalue() - # refresh ceph.conf files for all mons + first mgr - for remote, roles in ctx.cluster.remotes.items(): - for mon in [r for r in roles - if teuthology.is_type('mon', cluster_name)(r)]: - c_, _, id_ = teuthology.split_role(mon) - _shell(ctx, cluster_name, remote, [ - 'ceph', 'orch', 'daemon', 'reconfig', - 'mon.' + id_, - ]) - _shell(ctx, cluster_name, ctx.ceph[cluster_name].bootstrap_remote, [ - 'ceph', 'orch', 'daemon', 'reconfig', - 'mgr.' + ctx.ceph[cluster_name].first_mgr, - ]) - yield finally: -- 2.39.5