Merge pull request #16794 from liewegas/wip-rbd-app

qa/tasks/ceph: enable rbd on rbd pool
This commit is contained in:
Sage Weil 2017-08-04 08:40:45 -05:00 committed by GitHub
commit f681d6e794

View File

@ -342,6 +342,13 @@ def create_rbd_pool(ctx, config):
mon_remote.run(
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)
yield
@contextlib.contextmanager