mirror of
https://github.com/ceph/ceph
synced 2025-05-02 15:48:30 +00:00
Merge pull request #16794 from liewegas/wip-rbd-app
qa/tasks/ceph: enable rbd on rbd pool
This commit is contained in:
commit
f681d6e794
@ -342,6 +342,13 @@ def create_rbd_pool(ctx, config):
|
|||||||
mon_remote.run(
|
mon_remote.run(
|
||||||
args=['sudo', 'ceph', '--cluster', cluster_name,
|
args=['sudo', 'ceph', '--cluster', cluster_name,
|
||||||
'osd', 'pool', 'create', 'rbd', '8'])
|
'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)
|
||||||
yield
|
yield
|
||||||
|
|
||||||
@contextlib.contextmanager
|
@contextlib.contextmanager
|
||||||
|
Loading…
Reference in New Issue
Block a user