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: v17.2.8~290^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=e5b652a3044767ce1e6c1c427e3b62cbfa6ae484;p=ceph.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 (cherry picked from commit 0bda782952a81820752acdbf0b3ab9dbed56fb64) --- diff --git a/qa/tasks/cephadm.py b/qa/tasks/cephadm.py index 8b6492ed440ed..51fce8ac6ef31 100644 --- a/qa/tasks/cephadm.py +++ b/qa/tasks/cephadm.py @@ -1441,13 +1441,6 @@ def crush_setup(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,