From fac45d85edcd3ddae8f5fba40a970d48a1a73dc9 Mon Sep 17 00:00:00 2001 From: Ilya Dryomov Date: Wed, 10 Jul 2024 09:10:02 +0200 Subject: [PATCH] qa/tasks: initialize rbd pool instead of just tagging it Signed-off-by: Ilya Dryomov (cherry picked from commit fcc440da9aaa6585872e830a5e39aefce1df82fe) --- qa/tasks/ceph.py | 7 +------ qa/tasks/cephadm.py | 5 +---- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/qa/tasks/ceph.py b/qa/tasks/ceph.py index a7b3ad4c5eec6..9177974ed08de 100644 --- a/qa/tasks/ceph.py +++ b/qa/tasks/ceph.py @@ -410,12 +410,7 @@ def create_rbd_pool(ctx, config): args=['sudo', 'ceph', '--cluster', cluster_name, 'osd', 'pool', 'create', 'rbd', '8']) mon_remote.run( - args=[ - 'sudo', 'ceph', '--cluster', cluster_name, - 'osd', 'pool', 'application', 'enable', - 'rbd', 'rbd', '--yes-i-really-mean-it' - ], - check_status=False) + args=['rbd', '--cluster', cluster_name, 'pool', 'init', 'rbd']) yield @contextlib.contextmanager diff --git a/qa/tasks/cephadm.py b/qa/tasks/cephadm.py index 67384b12d3ac2..8617c5025ca77 100644 --- a/qa/tasks/cephadm.py +++ b/qa/tasks/cephadm.py @@ -1730,10 +1730,7 @@ def create_rbd_pool(ctx, config): args=['sudo', 'ceph', '--cluster', cluster_name, 'osd', 'pool', 'create', 'rbd', '8']) _shell(ctx, cluster_name, ctx.ceph[cluster_name].bootstrap_remote, - args=['sudo', 'ceph', '--cluster', cluster_name, - 'osd', 'pool', 'application', 'enable', - 'rbd', 'rbd', '--yes-i-really-mean-it' - ]) + args=['rbd', 'pool', 'init', 'rbd']) yield -- 2.39.5