]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/volumes: Fix traceback of ops when volume doesn't exist 36064/head
authorKotresh HR <khiremat@redhat.com>
Tue, 14 Jul 2020 06:08:15 +0000 (11:38 +0530)
committerKotresh HR <khiremat@redhat.com>
Tue, 14 Jul 2020 13:08:14 +0000 (18:38 +0530)
commite4ebdb1a5d634476774d64c118285e5f890fbaf8
tree553f8f332f3470260541b63dfd0afed5646c45ff
parent1ac5c74502da6dc8ad965625df452eb42a846489
mgr/volumes: Fix traceback of ops when volume doesn't exist

Subvolume operations throw a traceback if the volume
doesn't exist. This patch fixes the same.

Fixes: https://tracker.ceph.com/issues/46496
Signed-off-by: Kotresh HR <khiremat@redhat.com>
qa/tasks/cephfs/test_volumes.py
src/pybind/mgr/volumes/fs/operations/volume.py
src/pybind/mgr/volumes/fs/volume.py