]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pybind/rbd: add ImageMemberOfGroup exception
authorIlya Dryomov <idryomov@gmail.com>
Mon, 21 Apr 2025 15:11:17 +0000 (17:11 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 22 Apr 2025 18:25:45 +0000 (20:25 +0200)
commit61075e344c18e57b7416072f66c2e335d4d89d75
tree489926e248f8df829e4f8b04909a0d508a87ace0
parent1fd79d41a527ae0e0e4a66a18d67c4b180f66106
pybind/rbd: add ImageMemberOfGroup exception

EMLINK is returned by rbd_remove() if the image is a member of a group.
Add a dedicated exception similar to ImageBusy or ImageHasSnapshots and
a test for it.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
src/pybind/rbd/rbd.pyx
src/test/pybind/test_rbd.py