]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
pybind/rbd: fix no lockers are obtained, ImageNotFound exception will be output
authorzhangdaolong <root@localhost.localdomain>
Tue, 24 Mar 2020 00:51:44 +0000 (08:51 +0800)
committerzhangdaolong <root@localhost.localdomain>
Wed, 1 Apr 2020 08:48:51 +0000 (16:48 +0800)
commita183aac978dac69f996250324975073a78cb476b
tree3f019c92e0e01eaa851abd6e51c7e98b176b23e7
parent04e0b9c2f85b807d776ecf04c024f18e9de56ffa
pybind/rbd: fix no lockers are obtained, ImageNotFound exception will be output

No lockers are obtained, ImageNotFound exception will be output,
but tht image is always exist.when lockers number is zero,
Should not output any exceptions。

Fixes: https://tracker.ceph.com/issues/44613
Signed-off-by: zhangdaolong <zhangdaolong@fiberhome.com>
src/pybind/rbd/rbd.pyx
src/test/pybind/test_rbd.py