Skip to content

Commit 0bda782

Browse files
committed
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 <[email protected]>
1 parent fcc440d commit 0bda782

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

qa/tasks/cephadm.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1808,13 +1808,6 @@ def conf_epoch(ctx, config):
18081808
def create_rbd_pool(ctx, config):
18091809
if config.get('create_rbd_pool', False):
18101810
cluster_name = config['cluster']
1811-
log.info('Waiting for OSDs to come up')
1812-
teuthology.wait_until_osds_up(
1813-
ctx,
1814-
cluster=ctx.cluster,
1815-
remote=ctx.ceph[cluster_name].bootstrap_remote,
1816-
ceph_cluster=cluster_name,
1817-
)
18181811
log.info('Creating RBD pool')
18191812
_shell(ctx, cluster_name, ctx.ceph[cluster_name].bootstrap_remote,
18201813
args=['sudo', 'ceph', '--cluster', cluster_name,

0 commit comments

Comments
 (0)