summaryrefslogtreecommitdiffstats
path: root/qa/tasks/ceph.py
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2024-07-10 09:10:02 +0200
committerIlya Dryomov <idryomov@gmail.com>2024-07-10 12:33:45 +0200
commitfcc440da9aaa6585872e830a5e39aefce1df82fe (patch)
treea538e73b6c8dbe062b41f98bdf0180940e5aced4 /qa/tasks/ceph.py
parentqa: krbd_data_pool.sh: account for rbd_trash object (diff)
downloadceph-fcc440da9aaa6585872e830a5e39aefce1df82fe.tar.xz
ceph-fcc440da9aaa6585872e830a5e39aefce1df82fe.zip
qa/tasks: initialize rbd pool instead of just tagging it
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'qa/tasks/ceph.py')
-rw-r--r--qa/tasks/ceph.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/qa/tasks/ceph.py b/qa/tasks/ceph.py
index 6314183c3b3..24f0c3831e8 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