]> git.proxmox.com Git - ceph.git/blobdiff - ceph/qa/tasks/ceph_deploy.py
update sources to 12.2.7
[ceph.git] / ceph / qa / tasks / ceph_deploy.py
index 7d65ca1c79d4fdb6f270303e5617485e5a5c347b..3d4c7c8d31da66ce06a858b6756fdec3fde3875d 100644 (file)
@@ -483,6 +483,19 @@ def build_ceph_cluster(ctx, config):
         elif not config.get('only_mon'):
             raise RuntimeError(
                 "The cluster is NOT operational due to insufficient OSDs")
+        # create rbd pool
+        ceph_admin.run(
+            args=[
+                'sudo', 'ceph', '--cluster', 'ceph',
+                'osd', 'pool', 'create', 'rbd', '128', '128'],
+            check_status=False)
+        ceph_admin.run(
+            args=[
+                'sudo', 'ceph', '--cluster', 'ceph',
+                'osd', 'pool', 'application', 'enable',
+                'rbd', 'rbd', '--yes-i-really-mean-it'
+                ],
+            check_status=False)
         yield
 
     except Exception: