]> git.apps.os.sepia.ceph.com Git - ceph-ci.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>
Wed, 10 Jul 2024 10:33:45 +0000 (12:33 +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>
qa/tasks/cephadm.py

index 765e2a9248cbe183ef4a818105d022186f9922db..c80172de41f69dce81bc73ae41f8f7d13e12dbbe 100644 (file)
@@ -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,