From: Ilya Dryomov Date: Wed, 10 Jul 2024 07:10:02 +0000 (+0200) Subject: qa/tasks: initialize rbd pool instead of just tagging it X-Git-Tag: testing/wip-jcollin-testing-20240718.061041-squid~23^2~2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=fac45d85edcd3ddae8f5fba40a970d48a1a73dc9;p=ceph-ci.git qa/tasks: initialize rbd pool instead of just tagging it Signed-off-by: Ilya Dryomov (cherry picked from commit fcc440da9aaa6585872e830a5e39aefce1df82fe) --- diff --git a/qa/tasks/ceph.py b/qa/tasks/ceph.py index a7b3ad4c5ee..9177974ed08 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 67384b12d3a..8617c5025ca 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