]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/ceph: enable rbd on rbd pool 16794/head
authorSage Weil <sage@redhat.com>
Thu, 3 Aug 2017 16:09:42 +0000 (12:09 -0400)
committerSage Weil <sage@redhat.com>
Fri, 4 Aug 2017 13:40:26 +0000 (09:40 -0400)
Signed-off-by: Sage Weil <sage@redhat.com>
qa/tasks/ceph.py

index 05c4c7d90abf3eda87c8a7e81bedec39637e0715..daa8e4856454327db6fe021d67d8f96a65a50818 100644 (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