]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pybind/rbd: fix no lockers are obtained, ImageNotFound exception will be output 34388/head
authorzhangdaolong <root@localhost.localdomain>
Tue, 24 Mar 2020 00:51:44 +0000 (08:51 +0800)
committerNathan Cutler <ncutler@suse.com>
Wed, 15 Apr 2020 20:37:24 +0000 (22:37 +0200)
commit696cb63d7e78b5201b42cb1763a7cec41528708d
treee4f2d263dba99bdbff5d43413357abe26f880dd2
parentc62d4d91c15bd550c7c368feb550507e2b38fe38
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>
(cherry picked from commit a183aac978dac69f996250324975073a78cb476b)
src/pybind/rbd/rbd.pyx
src/test/pybind/test_rbd.py