From: Kyr Shatskyy Date: Wed, 11 Nov 2020 15:18:56 +0000 (+0100) Subject: qa/task/cephadm: run cephadm only on bootstrap_remote X-Git-Tag: v17.0.0~656^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=f75b00984e17a08087f41e7110fe64d4872d3200;p=ceph-ci.git qa/task/cephadm: run cephadm only on bootstrap_remote Because not all the node in teuthology config might have any cephadm related role we should not execute cephadm on random node. Signed-off-by: Kyr Shatskyy --- diff --git a/qa/tasks/cephadm.py b/qa/tasks/cephadm.py index d08cdb31458..34f09001c06 100644 --- a/qa/tasks/cephadm.py +++ b/qa/tasks/cephadm.py @@ -539,11 +539,12 @@ def ceph_mons(ctx, config): break # refresh our (final) ceph.conf file + bootstrap_remote = ctx.ceph[cluster_name].bootstrap_remote log.info('Generating final ceph.conf file...') r = _shell( ctx=ctx, cluster_name=cluster_name, - remote=remote, + remote=bootstrap_remote, args=[ 'ceph', 'config', 'generate-minimal-conf', ],