From: Adam King Date: Fri, 7 Feb 2025 21:08:30 +0000 (-0500) Subject: qa/cephadm: stop cephadm mgr module during cleanup X-Git-Tag: testing/wip-pdonnell-testing-20250220.015803-debug~15^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=3a3848678bc93e78bd29b0b7e34f701e4720d944;p=ceph-ci.git qa/cephadm: stop cephadm mgr module during cleanup We recommend this generally when tearing down a cluster and do so in cephadm-ansible. Doing this avoids any potential timings where the cephadm mgr module attempts to undo any daemon removals as we're cleaning up Signed-off-by: Adam King --- diff --git a/qa/tasks/cephadm.py b/qa/tasks/cephadm.py index 0cde6050718..52b5c75dded 100644 --- a/qa/tasks/cephadm.py +++ b/qa/tasks/cephadm.py @@ -882,6 +882,15 @@ def ceph_bootstrap(ctx, config): yield finally: + log.info('Disabling cephadm mgr module') + _shell( + ctx, + cluster_name, + bootstrap_remote, + ['ceph', 'mgr', 'module', 'disable', 'cephadm'], + check_status=False # can fail if bootstrap failed and mask errors + ) + log.info('Cleaning up testdir ceph.* files...') ctx.cluster.run(args=[ 'rm', '-f',