]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/vol: for "clone status" handle case where path goes missing
authorRishabh Dave <ridave@redhat.com>
Wed, 2 Apr 2025 15:28:25 +0000 (20:58 +0530)
committerRishabh Dave <ridave@redhat.com>
Thu, 24 Apr 2025 13:02:43 +0000 (18:32 +0530)
commitad38967a5b9b498c4e64ca276158a4d7b7eb8b06
treed39990ae3fb34c83d10c2d237e70f1c73b583b52
parent089cd8ea4d66012001ec9a32661073a10a25703a
mgr/vol: for "clone status" handle case where path goes missing

If source and/or destination path of the cloning operation goes missing
during it's ongoing or just before it becomes ongoing, "ceph fs clone
status" command can fail. Account for and handle such cases gracefully.

Fixes: https://tracker.ceph.com/issues/71019
Signed-off-by: Rishabh Dave <ridave@redhat.com>
src/pybind/mgr/volumes/fs/stats_util.py
src/pybind/mgr/volumes/fs/volume.py