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: v20.0.0~1548^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=fcc440da9aaa6585872e830a5e39aefce1df82fe;p=ceph.git qa/tasks: initialize rbd pool instead of just tagging it Signed-off-by: Ilya Dryomov --- diff --git a/qa/tasks/ceph.py b/qa/tasks/ceph.py index 6314183c3b37..24f0c3831e8a 100644 --- a/qa/tasks/ceph.py +++ b/qa/tasks/ceph.py @@ -472,12 +472,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 23a3e2cf9d7b..765e2a9248cb 100644 --- a/qa/tasks/cephadm.py +++ b/qa/tasks/cephadm.py @@ -1820,10 +1820,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