]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/volumes: fix volume search for pools
authorPatrick Donnelly <pdonnell@redhat.com>
Tue, 30 Jun 2020 15:33:59 +0000 (08:33 -0700)
committerRamana Raja <rraja@redhat.com>
Mon, 27 Jul 2020 12:35:47 +0000 (18:05 +0530)
commit707f48380cedf2d4ef523c25eee0d3c8c1dff7e7
tree28198866ff713b91d8911a679ac755d0c909e31b
parentafb4d938760f0db6581164fa5e9df0369e91920c
pybind/mgr/volumes: fix volume search for pools

Loop logic would bail out if it first sees any file system that does not
match the volume it's looking for.

Fixes: https://tracker.ceph.com/issues/46277
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit be74a81e19ef3b5e8204d52e6a3f7f0c57d49854)
src/pybind/mgr/volumes/fs/operations/volume.py