]> git.apps.os.sepia.ceph.com Git - ceph-ci.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)
committerVenky Shankar <vshankar@redhat.com>
Mon, 8 Jul 2019 03:58:16 +0000 (23:58 -0400)
commit04547c92c1424c3c17aa84c49bfbfe0ffe4ac781
tree948af01a1cfd6345665a8e61cd99e81eea163cbb
parentdd569e22e8d1b6287207fb2d1a4269d0bef20784
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>
src/pybind/mgr/volumes/fs/subvolume.py