From 7ed9d1e8aa06028e12b873c2654c82caf60367f0 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 3 Aug 2017 12:09:42 -0400 Subject: [PATCH] qa/tasks/ceph: enable rbd on rbd pool Signed-off-by: Sage Weil --- qa/tasks/ceph.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/qa/tasks/ceph.py b/qa/tasks/ceph.py index 05c4c7d90ab..daa8e485645 100644 --- a/qa/tasks/ceph.py +++ b/qa/tasks/ceph.py @@ -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 -- 2.39.5