Skip to content

Commit fcc440d

Browse files
committed
qa/tasks: initialize rbd pool instead of just tagging it
Signed-off-by: Ilya Dryomov <[email protected]>
1 parent f8e5aec commit fcc440d

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

qa/tasks/ceph.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -472,12 +472,7 @@ def create_rbd_pool(ctx, config):
472472
args=['sudo', 'ceph', '--cluster', cluster_name,
473473
'osd', 'pool', 'create', 'rbd', '8'])
474474
mon_remote.run(
475-
args=[
476-
'sudo', 'ceph', '--cluster', cluster_name,
477-
'osd', 'pool', 'application', 'enable',
478-
'rbd', 'rbd', '--yes-i-really-mean-it'
479-
],
480-
check_status=False)
475+
args=['rbd', '--cluster', cluster_name, 'pool', 'init', 'rbd'])
481476
yield
482477

483478
@contextlib.contextmanager

qa/tasks/cephadm.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1820,10 +1820,7 @@ def create_rbd_pool(ctx, config):
18201820
args=['sudo', 'ceph', '--cluster', cluster_name,
18211821
'osd', 'pool', 'create', 'rbd', '8'])
18221822
_shell(ctx, cluster_name, ctx.ceph[cluster_name].bootstrap_remote,
1823-
args=['sudo', 'ceph', '--cluster', cluster_name,
1824-
'osd', 'pool', 'application', 'enable',
1825-
'rbd', 'rbd', '--yes-i-really-mean-it'
1826-
])
1823+
args=['rbd', 'pool', 'init', 'rbd'])
18271824
yield
18281825

18291826

0 commit comments

Comments
 (0)