]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/test/pybind/test_rbd.py
update sources to v12.1.3
[ceph.git] / ceph / src / test / pybind / test_rbd.py
index 5e8e18d19043366503cda6b27e8fff1a96f29fa4..e72045a5918887c5f56d6e8658aa7665d7f53f0f 100644 (file)
@@ -42,6 +42,7 @@ def setup_module():
     rados.create_pool(pool_name)
     global ioctx
     ioctx = rados.open_ioctx(pool_name)
+    ioctx.application_enable('rbd')
     global features
     features = os.getenv("RBD_FEATURES")
     features = int(features) if features is not None else 61
@@ -949,6 +950,7 @@ class TestClone(object):
         pool_name2 = get_temp_pool_name()
         rados.create_pool(pool_name2)
         other_ioctx = rados.open_ioctx(pool_name2)
+        other_ioctx.application_enable('rbd')
 
         # ...with a clone of the same parent
         other_clone_name = get_temp_image_name()