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: v15.2.9~20^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a6ad2502f02f72eb4ff8e45c56b193bb9590f6b2;p=ceph.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 (cherry picked from commit f75b00984e17a08087f41e7110fe64d4872d3200) --- diff --git a/qa/tasks/cephadm.py b/qa/tasks/cephadm.py index 125d4f3cdb934..a9bc2cbfc8faf 100644 --- a/qa/tasks/cephadm.py +++ b/qa/tasks/cephadm.py @@ -550,11 +550,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', ],