From: Ilya Dryomov Date: Wed, 10 Jul 2024 09:02:47 +0000 (+0200) Subject: qa/tasks/cephadm: don't wait for OSDs in create_rbd_pool() X-Git-Tag: testing/wip-vshankar-testing-20240718.183435-debug~63^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=0bda782952a81820752acdbf0b3ab9dbed56fb64;p=ceph-ci.git qa/tasks/cephadm: don't wait for OSDs in create_rbd_pool() This fails because teuthology.wait_until_osds_up() wants to use adjust-ulimits wrapper which isn't available in "cephadm shell" environment. The whole thing is also redundant because cephadm task is supposed to wait for OSDs to come up earlier, in ceph_osds(). Signed-off-by: Ilya Dryomov --- diff --git a/qa/tasks/cephadm.py b/qa/tasks/cephadm.py index 765e2a9248c..c80172de41f 100644 --- a/qa/tasks/cephadm.py +++ b/qa/tasks/cephadm.py @@ -1808,13 +1808,6 @@ def conf_epoch(ctx, config): def create_rbd_pool(ctx, config): if config.get('create_rbd_pool', False): cluster_name = config['cluster'] - log.info('Waiting for OSDs to come up') - teuthology.wait_until_osds_up( - ctx, - cluster=ctx.cluster, - remote=ctx.ceph[cluster_name].bootstrap_remote, - ceph_cluster=cluster_name, - ) log.info('Creating RBD pool') _shell(ctx, cluster_name, ctx.ceph[cluster_name].bootstrap_remote, args=['sudo', 'ceph', '--cluster', cluster_name,