]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/rbd: RBD.create() method's 'old_format' parameter now defaults to False 35011/head
authorJason Dillaman <dillaman@redhat.com>
Mon, 11 May 2020 23:55:50 +0000 (19:55 -0400)
committerJason Dillaman <dillaman@redhat.com>
Mon, 11 May 2020 23:55:50 +0000 (19:55 -0400)
commit45349355f4b41c6f9de594ef34a8657230113e6b
tree7a2678b0d9b59f14f73a31de42a3d4b630106e3c
parent7ad11b5baf24631e7df2a720afb5392424f3be9e
pybind/rbd: RBD.create() method's 'old_format' parameter now defaults to False

The RBD v1 format has been deprecated for numerous releases and creation of
v1 format images has been disabled since the Mimic release. This fixes
the Python API's image create() method to ensure v2 images are created by
default (and no longer throw an exception that creation of v1 images are
disabled).

Fixes: https://tracker.ceph.com/issues/45504
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/pybind/rbd/rbd.pyx
src/test/pybind/test_rbd.py