]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/cephadm: don't wait for OSDs in create_rbd_pool()
authorIlya Dryomov <idryomov@gmail.com>
Wed, 10 Jul 2024 09:02:47 +0000 (11:02 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 11 Jul 2024 15:25:07 +0000 (17:25 +0200)
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 <idryomov@gmail.com>
(cherry picked from commit 0bda782952a81820752acdbf0b3ab9dbed56fb64)

qa/tasks/cephadm.py

index 8617c5025ca7750860602d0ffb32ad9fc0bb97b7..d0697d06b721b0f685215a985ec0682f9ac5bfce 100644 (file)
@@ -1718,13 +1718,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,