]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr / volumes: wrap rmtree() call within try..except block
authorVenky Shankar <vshankar@redhat.com>
Fri, 5 Jul 2019 09:51:54 +0000 (05:51 -0400)
committerRamana Raja <rraja@redhat.com>
Wed, 17 Jul 2019 10:07:37 +0000 (15:37 +0530)
commitb17eee937d93a08e8960da0066678bfa5cb3fc78
treeab13fe4670e432ddc81ae94c5fafd8946c27c588
parent3aee03a0ffdcdeff7f354af53171174a864d0d7b
mgr / volumes: wrap rmtree() call within try..except block

This will be invoked by purge threads, so be sure to catch all
exceptions and return proper error codes appropriately.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit 04547c92c1424c3c17aa84c49bfbfe0ffe4ac781)
src/pybind/mgr/volumes/fs/subvolume.py